Upload folder using huggingface_hub
Browse files- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/appendix_chunks.jsonl +69 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/appendix_text_v3.txt +206 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/assets.json +68 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/assets/_page_0_Figure_18.jpeg +3 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/assets/_page_13_Figure_1.jpeg +3 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/assets/_page_2_Figure_1.jpeg +3 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/assets/_page_3_Figure_8.jpeg +3 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/assets/_page_6_Figure_1.jpeg +3 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/assets/_page_6_Figure_8.jpeg +3 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/chunks_v3_anonymized.jsonl +0 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/dataset_meta.json +60 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/main_body_chunks.jsonl +62 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/marker_meta.json +2258 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/model_text_v3.txt +185 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/paper.blocks.json +0 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/paper.md +0 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/parse_report.json +75 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/reference_chunks.jsonl +6 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/reference_text_v3.txt +17 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/sanitization_report.json +58 -0
- icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/sanitized_v3.txt +851 -0
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/appendix_chunks.jsonl
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0068", "section": "A. Evaluation Methodology Details", "page_start": 12, "page_end": 12, "type": "Text", "text": "We provide mathematical formulations and implementation details for the metrics in Section 2.2. We evaluate N generated MCP-server implementations \\{\\hat{e}_i\\}_{i=1}^N . Each server is expected to expose a list_tools endpoint returning a tool registry (a list of tool schemas).", "source": "marker_v2", "marker_block_id": "/page/11/Text/2"}
|
| 2 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0069", "section": "A.1. Layer 1: Surface Compliance and Server Execution", "page_start": 12, "page_end": 12, "type": "Text", "text": "Compliance (OpenAI tool-calling format). We treat compliance as a strict format check: whether the returned tool registry is parseable and satisfies the OpenAI tool-calling specification. Let \\mathcal{V}_{OpenAI} denote the corresponding JSON Schema validator, and let parse(·) return a parsed JSON object if successful (otherwise \\bot ). We define the per-instance compliance indicator:", "source": "marker_v2", "marker_block_id": "/page/11/Text/4"}
|
| 3 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0070", "section": "A.1. Layer 1: Surface Compliance and Server Execution", "page_start": 12, "page_end": 12, "type": "Equation", "text": "compliant(\\hat{e}_i) = \\mathbb{I}[parse(list\\_tools(\\hat{e}_i)) \\neq \\bot \\land parse(list\\_tools(\\hat{e}_i)) \\models \\mathcal{V}_{OpenAI}], \\tag{2}", "source": "marker_v2", "marker_block_id": "/page/11/Equation/5"}
|
| 4 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0071", "section": "A.1. Layer 1: Surface Compliance and Server Execution", "page_start": 12, "page_end": 12, "type": "Text", "text": "and report the dataset-level score:", "source": "marker_v2", "marker_block_id": "/page/11/Text/6"}
|
| 5 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0072", "section": "A.1. Layer 1: Surface Compliance and Server Execution", "page_start": 12, "page_end": 12, "type": "Equation", "text": "Compliance = \\frac{1}{N} \\sum_{i=1}^{N} \\text{compliant}(\\hat{e}_i) . (3)", "source": "marker_v2", "marker_block_id": "/page/11/Equation/7"}
|
| 6 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0073", "section": "A.1. Layer 1: Surface Compliance and Server Execution", "page_start": 12, "page_end": 12, "type": "Text", "text": "Server execution (3 independent launches). We attempt to start each server R=3 times under fixed timeouts. Let \\operatorname{run}(\\hat{e}_i,r)\\in\\{0,1\\} indicate whether the r-th launch succeeds and the server remains responsive (e.g., responds to list_tools) within the timeout. We define the per-instance execution score:", "source": "marker_v2", "marker_block_id": "/page/11/Text/8"}
|
| 7 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0074", "section": "A.1. Layer 1: Surface Compliance and Server Execution", "page_start": 12, "page_end": 12, "type": "Equation", "text": "\\operatorname{exec}(\\hat{e}_i) = \\frac{1}{R} \\sum_{r=1}^{R} \\operatorname{run}(\\hat{e}_i, r), \\qquad R = 3, (4)", "source": "marker_v2", "marker_block_id": "/page/11/Equation/9"}
|
| 8 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0075", "section": "A.1. Layer 1: Surface Compliance and Server Execution", "page_start": 12, "page_end": 12, "type": "Text", "text": "and report the dataset-level score:", "source": "marker_v2", "marker_block_id": "/page/11/Text/10"}
|
| 9 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0076", "section": "A.1. Layer 1: Surface Compliance and Server Execution", "page_start": 12, "page_end": 12, "type": "Equation", "text": "ServerExecution = \\frac{1}{N} \\sum_{i=1}^{N} \\operatorname{exec}(\\hat{e}_i) . (5)", "source": "marker_v2", "marker_block_id": "/page/11/Equation/11"}
|
| 10 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0077", "section": "A.2. Layer 2: Semantic Interface Fidelity (Schema-F1)", "page_start": 12, "page_end": 12, "type": "Text", "text": "Layer 2 evaluates whether the predicted tool interfaces match the reference interfaces, independent of code execution. For instance i, let \\hat{s}_i be the predicted tool set and s_i^* the reference tool set. Each tool schema is represented as t = \\langle \\eta, \\phi \\rangle , where \\eta is function_name and \\phi is the JSON-schema-like argument definition.", "source": "marker_v2", "marker_block_id": "/page/11/Text/13"}
|
| 11 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0078", "section": "A.2. Layer 2: Semantic Interface Fidelity (Schema-F1)", "page_start": 12, "page_end": 12, "type": "Text", "text": "Embedding-based similarity on function_name + args. We define a canonical serialization g(t) = \\eta \\oplus \\operatorname{canon}(\\phi) , where \\oplus denotes concatenation and \\operatorname{canon}(\\cdot) produces a deterministic string form (e.g., JSON dump with sorted keys). We embed g(t) using sentence-transformers/all-MiniLM-L6-v2, denoted by \\mathbf{E}(\\cdot) , and define cosine similarity:", "source": "marker_v2", "marker_block_id": "/page/11/Text/14"}
|
| 12 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0079", "section": "A.2. Layer 2: Semantic Interface Fidelity (Schema-F1)", "page_start": 12, "page_end": 12, "type": "Equation", "text": "w(u,v) = \\cos(\\mathbf{E}(g(u)), \\mathbf{E}(g(v))). \\tag{6}", "source": "marker_v2", "marker_block_id": "/page/11/Equation/15"}
|
| 13 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0080", "section": "A.2. Layer 2: Semantic Interface Fidelity (Schema-F1)", "page_start": 12, "page_end": 12, "type": "Text", "text": "Maximum-weight matching and F1. We construct a bipartite graph between \\hat{s}_i and s_i^* with edge weights w(\\cdot,\\cdot) , and compute a maximum-weight matching M_i . A matched pair is counted as correct if w(u,v) \\geq \\tau for a fixed threshold \\tau . Let m_i = |\\{(u,v) \\in M_i : w(u,v) \\geq \\tau\\}| . Then", "source": "marker_v2", "marker_block_id": "/page/11/Text/16"}
|
| 14 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0081", "section": "A.2. Layer 2: Semantic Interface Fidelity (Schema-F1)", "page_start": 12, "page_end": 12, "type": "Equation", "text": "P_i = \\frac{m_i}{|\\hat{s}_i|}, \\qquad R_i = \\frac{m_i}{|s_i^*|}, \\qquad \\text{SchemaF1}_i = \\frac{2P_i R_i}{P_i + R_i + \\epsilon}, \\tag{7}", "source": "marker_v2", "marker_block_id": "/page/11/Equation/17"}
|
| 15 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0082", "section": "A.2. Layer 2: Semantic Interface Fidelity (Schema-F1)", "page_start": 12, "page_end": 12, "type": "Text", "text": "where \\epsilon is a small constant for numerical stability, and we report:", "source": "marker_v2", "marker_block_id": "/page/11/Text/18"}
|
| 16 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0083", "section": "A.2. Layer 2: Semantic Interface Fidelity (Schema-F1)", "page_start": 12, "page_end": 12, "type": "Equation", "text": "SchemaF1 = \\frac{1}{N} \\sum_{i=1}^{N} SchemaF1_{i}. (8)", "source": "marker_v2", "marker_block_id": "/page/11/Equation/19"}
|
| 17 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0084", "section": "A.2. Layer 2: Semantic Interface Fidelity (Schema-F1)", "page_start": 12, "page_end": 12, "type": "Text", "text": "Note. Schema-F1 compares tool interfaces (names and argument schemas), and is distinct from the structured score in Layer 3, which compares tool outputs via key-path overlap.", "source": "marker_v2", "marker_block_id": "/page/11/Text/20"}
|
| 18 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0085", "section": "A.3. Layer 3: Functional Correctness via Unit Tests (UT)", "page_start": 13, "page_end": 13, "type": "Text", "text": "Layer 3 evaluates functional correctness by executing unit tests. Each unit test is a triple ⟨η, x, y ∗ ⟩, where η is the tool name, x is the input arguments, and y ∗ is the expected output. Running the tool on the generated server yields an actual output yˆ. We score each test case by combining (i) a structured score and (ii) an embedding similarity score.", "source": "marker_v2", "marker_block_id": "/page/12/Text/2"}
|
| 19 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0086", "section": "A.3. Layer 3: Functional Correctness via Unit Tests (UT)", "page_start": 13, "page_end": 13, "type": "Text", "text": "(i) Structured score (JSON key-path overlap). We consider the common case where y ∗ is JSON (or parseable as JSON). Let parse(·) parse JSON successfully or return ⊥. If parse(ˆy) = ⊥, we set the structured score to 0. Otherwise, we extract a set of key-path strings from a JSON object, denoted by paths(·) (e.g., a.b[0].c). Define", "source": "marker_v2", "marker_block_id": "/page/12/Text/3"}
|
| 20 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0087", "section": "A.3. Layer 3: Functional Correctness via Unit Tests (UT)", "page_start": 13, "page_end": 13, "type": "Equation", "text": "P_{\\text{path}} = \\frac{|\\text{paths}(\\hat{y}) \\cap \\text{paths}(y^*)|}{|\\text{paths}(\\hat{y})| + \\epsilon}, \\qquad R_{\\text{path}} = \\frac{|\\text{paths}(\\hat{y}) \\cap \\text{paths}(y^*)|}{|\\text{paths}(y^*)| + \\epsilon}, \\tag{9}", "source": "marker_v2", "marker_block_id": "/page/12/Equation/4"}
|
| 21 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0088", "section": "A.3. Layer 3: Functional Correctness via Unit Tests (UT)", "page_start": 13, "page_end": 13, "type": "Text", "text": "and the structured score (F1 over key paths):", "source": "marker_v2", "marker_block_id": "/page/12/Text/5"}
|
| 22 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0089", "section": "A.3. Layer 3: Functional Correctness via Unit Tests (UT)", "page_start": 13, "page_end": 13, "type": "Equation", "text": "struct(\\hat{y}, y^*) = \\frac{2P_{path}R_{path}}{P_{path} + R_{path} + \\epsilon}. (10)", "source": "marker_v2", "marker_block_id": "/page/12/Equation/6"}
|
| 23 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0090", "section": "A.3. Layer 3: Functional Correctness via Unit Tests (UT)", "page_start": 13, "page_end": 13, "type": "Text", "text": "(ii) Embedding similarity of outputs. We canonicalize outputs via canon(·) (stable JSON dump if parseable; otherwise raw text), embed using sentence-transformers/all-MiniLM-L6-v2 (denoted by E(·)), and compute:", "source": "marker_v2", "marker_block_id": "/page/12/Text/7"}
|
| 24 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0091", "section": "A.3. Layer 3: Functional Correctness via Unit Tests (UT)", "page_start": 13, "page_end": 13, "type": "Equation", "text": "\\operatorname{emb}(\\hat{y}, y^*) = \\max \\Big( 0, \\cos \\left( \\mathbf{E}(\\operatorname{canon}(\\hat{y})), \\mathbf{E}(\\operatorname{canon}(y^*)) \\right) \\Big). \\tag{11}", "source": "marker_v2", "marker_block_id": "/page/12/Equation/8"}
|
| 25 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0092", "section": "A.3. Layer 3: Functional Correctness via Unit Tests (UT)", "page_start": 13, "page_end": 13, "type": "Text", "text": "UT score (equal-weight combination). For a single test case:", "source": "marker_v2", "marker_block_id": "/page/12/Text/9"}
|
| 26 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0093", "section": "A.3. Layer 3: Functional Correctness via Unit Tests (UT)", "page_start": 13, "page_end": 13, "type": "Equation", "text": "UT(\\hat{y}, y^*) = \\frac{1}{2} struct(\\hat{y}, y^*) + \\frac{1}{2} emb(\\hat{y}, y^*). (12)", "source": "marker_v2", "marker_block_id": "/page/12/Equation/10"}
|
| 27 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0094", "section": "A.3. Layer 3: Functional Correctness via Unit Tests (UT)", "page_start": 13, "page_end": 13, "type": "Text", "text": "Aggregating across tests (standard vs. boundary). Let T std be the set of standard (positive) tests and T bnd include additional boundary/negative tests. For S ∈ {std, bnd}, we report:", "source": "marker_v2", "marker_block_id": "/page/12/Text/11"}
|
| 28 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0095", "section": "A.3. Layer 3: Functional Correctness via Unit Tests (UT)", "page_start": 13, "page_end": 13, "type": "Equation", "text": "UT_{S} = \\frac{1}{|\\mathcal{T}^{S}|} \\sum_{\\langle \\eta, \\mathbf{x}, y^{*} \\rangle \\in \\mathcal{T}^{S}} UT(\\hat{y}(\\eta, \\mathbf{x}), y^{*}). (13)", "source": "marker_v2", "marker_block_id": "/page/12/Equation/12"}
|
| 29 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0096", "section": "A.4. Layer 4: Downstream Task Utility (Oracle-normalized SR)", "page_start": 13, "page_end": 13, "type": "Text", "text": "To evaluate end-to-end utility, we run a fixed agent based on Qwen3-14B on benchmark trajectories under two tool environments: (i) the generated MCP server eˆ and (ii) the ground-truth MCP server e ∗ . For each task instance j, an LLM judge produces two scores in [0, 1]:", "source": "marker_v2", "marker_block_id": "/page/12/Text/14"}
|
| 30 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0097", "section": "A.4. Layer 4: Downstream Task Utility (Oracle-normalized SR)", "page_start": 13, "page_end": 13, "type": "Equation", "text": "s_j^{\\text{gen}} = \\mathcal{J}(\\text{trajectory produced with } \\hat{e}), \\qquad s_j^{\\text{gt}} = \\mathcal{J}(\\text{trajectory produced with } e^*). (14)", "source": "marker_v2", "marker_block_id": "/page/12/Equation/15"}
|
| 31 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0098", "section": "A.4. Layer 4: Downstream Task Utility (Oracle-normalized SR)", "page_start": 13, "page_end": 13, "type": "Text", "text": "We compute the per-task oracle-normalized score:", "source": "marker_v2", "marker_block_id": "/page/12/Text/16"}
|
| 32 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0099", "section": "A.4. Layer 4: Downstream Task Utility (Oracle-normalized SR)", "page_start": 13, "page_end": 13, "type": "Equation", "text": "SR_j = \\frac{1 - s_j^{\\text{gt}}}{1 - s_j^{\\text{gen}} + \\epsilon},\\tag{15}", "source": "marker_v2", "marker_block_id": "/page/12/Equation/17"}
|
| 33 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0100", "section": "A.4. Layer 4: Downstream Task Utility (Oracle-normalized SR)", "page_start": 13, "page_end": 13, "type": "Text", "text": "and report the dataset-level score:", "source": "marker_v2", "marker_block_id": "/page/12/Text/18"}
|
| 34 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0101", "section": "A.4. Layer 4: Downstream Task Utility (Oracle-normalized SR)", "page_start": 13, "page_end": 13, "type": "Equation", "text": "SR = \\frac{1}{|\\mathcal{D}_{task}|} \\sum_{j \\in \\mathcal{D}_{task}} SR_j. (16)", "source": "marker_v2", "marker_block_id": "/page/12/Equation/19"}
|
| 35 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0102", "section": "B. More Dataset Construction Details", "page_start": 13, "page_end": 13, "type": "Text", "text": "This appendix provides implementation details for the four-stage construction pipeline in Figure 2, including crawling, schema standardization, executable validation, clustering/deduplication, LLM-as-judge rubrics, task/trajectory generation filters, unit-test synthesis, and final release policies.", "source": "marker_v2", "marker_block_id": "/page/12/Text/21"}
|
| 36 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0103", "section": "B. More Dataset Construction Details", "page_start": 14, "page_end": 14, "type": "FigureGroup", "text": "Figure 7. Data flow and attrition in MCP-server collection. Sankey diagram summarizing the sequential filtering stages for constructing Dsrv, reporting the number of servers retained (and discarded) at each stage. Placeholder: will be replaced by the final figure.", "source": "marker_v2", "marker_block_id": "/page/13/FigureGroup/337"}
|
| 37 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0104", "section": "Example 1: MCP-server schema instance (Dsrv).", "page_start": 14, "page_end": 14, "type": "Code", "text": "{ \"metadata\": { \"server_name\": \"Airbnb Search and Listing Details Server\", \"mode\": \"smithery\", \"timestamp\": 1751938055, \"remote_server_response\": { \"url\": \" \"is_success\": true, \"error\": null, \"tools\": [ { \"name\": \"airbnb_search\", \"description\": \"Search for Airbnb listings with various filters and pagination. Provide direct links ,→ to the user\", \"input_schema\": { \"type\": \"object\", \"properties\": { \"location\": { \"type\": \"string\", \"description\": \"Location to search for (city, state, etc.)\" }, \"placeId\": { \"type\": \"string\", \"description\": \"Google Maps Place ID (overrides the location parameter)\" }, \"checkin\": { \"type\": \"string\", \"description\": \"Check-in date (YYYY-MM-DD)\" }, \"checkout\": { \"type\": \"string\", \"description\": \"Check-out date (YYYY-MM-DD)\" }, \"adults\": { \"type\": \"number\", \"description\": \"Number of adults\" }, \"children\": { \"type\": \"number\", \"description\": \"Number of children\" }, \"infants\": { \"type\": \"number\", \"description\": \"Number of infants\" },", "source": "marker_v2", "marker_block_id": "/page/13/Code/5"}
|
| 38 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0105", "section": "Example 1: MCP-server schema instance (Dsrv).", "page_start": 15, "page_end": 15, "type": "Code", "text": "770 774 778 779 780 781 782 783 784 785 786 788 789 790 791 792 793 794 796 797 799 801 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 822 823 824 \"pets\": { \"type\": \"number\", \"description\": \"Number of pets\" }, \"minPrice\": { \"type\": \"number\", \"description\": \"Minimum price for the stay\" }, \"maxPrice\": { \"type\": \"number\", \"description\": \"Maximum price for the stay\" }, \"cursor\": { \"type\": \"string\", \"description\": \"Base64-encoded string used for Pagination\" }, \"ignoreRobotsText\": { \"type\": \"boolean\", \"description\": \"Ignore robots.txt rules for this request\" } }, \"required\": [ \"location\" ] }, \"annotations\": null }, { \"name\": \"airbnb_listing_details\", \"description\": \"Get detailed information about a specific Airbnb listing. Provide direct links to the ,→ user\", \"input_schema\": { \"type\": \"object\", \"properties\": { \"id\": { \"type\": \"string\", \"description\": \"The Airbnb listing ID\" }, \"checkin\": { \"type\": \"string\", \"description\": \"Check-in date (YYYY-MM-DD)\" }, \"checkout\": { \"type\": \"string\", \"description\": \"Check-out date (YYYY-MM-DD)\" }, \"adults\": { \"type\": \"number\", \"description\": \"Number of adults\" }, \"children\": { \"type\": \"number\", \"description\": \"Number of children\" }, \"infants\": { \"type\": \"number\", \"description\": \"Number of infants\" }, \"pets\": { \"type\": \"number\", \"description\": \"Number of pets\" }, \"ignoreRobotsText\": { \"type\": \"boolean\", \"description\": \"Ignore robots.txt rules for this request\"", "source": "marker_v2", "marker_block_id": "/page/14/Code/1"}
|
| 39 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0106", "section": "Example 1: MCP-server schema instance (Dsrv).", "page_start": 16, "page_end": 16, "type": "Code", "text": "} }, \"required\": [ \"id\" }, \"annotations\": null } ], \"tool_count\": 2, \"tool_names\": [ \"airbnb_search\", \"airbnb_listing_details\" ] }, \"processed_timestamp\": 1753731940, \"processing_mode\": \"smithery\", \"rank\": 556 } }", "source": "marker_v2", "marker_block_id": "/page/15/Code/1"}
|
| 40 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0107", "section": "Example 2: Task instance (Dtraj ).", "page_start": 16, "page_end": 16, "type": "Code", "text": "{ \"question_id\":12413, \"question\": \"I am trying to determine the launch angles for a projectile that must travel 30 m horizontally and ,→ reach a height of 5 m at that point.#\" }", "source": "marker_v2", "marker_block_id": "/page/15/Code/3"}
|
| 41 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0108", "section": "Example 3: Unit test instance (Dut).", "page_start": 16, "page_end": 16, "type": "Code", "text": "{ \"function_name\": \"listProviders\", \"arguments\": {}, \"function_output_content\": \"{\\n \\\"ollama\\\": {\\n \\\"models\\\": [\\n \\\"llama2\\\",\\n \\\"mistral\\\",\\n ,→ \\\"mixtral\\\",\\n \\\"nous-hermes\\\",\\n \\\"neural-chat\\\",\\n \\\"vicuna\\\",\\n ,→ \\\"codellama\\\",\\n \\\"phi\\\"\\n ],\\n \\\"supportsReasoning\\\": false\\n }\\n}\" }", "source": "marker_v2", "marker_block_id": "/page/15/Code/5"}
|
| 42 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0109", "section": "B.2. MCP-server Filtering Details", "page_start": 16, "page_end": 16, "type": "Text", "text": "We provide implementation details of the four-stage MCP-server filtering pipeline summarized in the main text.", "source": "marker_v2", "marker_block_id": "/page/15/Text/7"}
|
| 43 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0110", "section": "B.2. MCP-server Filtering Details", "page_start": 16, "page_end": 16, "type": "Text", "text": "Stage I: Structure Validation. We require each candidate server to expose a parseable MCP tool registry with valid tool_name and description fields, as well as JSON schemas for tool inputs (and outputs when available). Servers with missing, malformed, or non-parseable registries are removed.", "source": "marker_v2", "marker_block_id": "/page/15/Text/8"}
|
| 44 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0111", "section": "B.2. MCP-server Filtering Details", "page_start": 16, "page_end": 16, "type": "Text", "text": "Stage II: Executable Validation. We launch each server in a sandboxed environment with resource and network isolation, and attempt to invoke its tools under fixed timeouts. Servers that fail to start or cannot be successfully invoked within 3 retries are discarded, ensuring basic executability and robustness.", "source": "marker_v2", "marker_block_id": "/page/15/Text/9"}
|
| 45 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0112", "section": "B.2. MCP-server Filtering Details", "page_start": 16, "page_end": 16, "type": "Text", "text": "Stage III: Deduplication and Clustering. To reduce redundancy, we first remove exact duplicates based on server_name/tool_name. We then construct a schema text for each server from its server_name and tool name/description, and embed these texts using sentence-transformers/all-MiniLM-L6-v2. Servers are clustered using complete-link hierarchical clustering with cosine similarity threshold 0.9, i.e., a server joins a cluster only if it is at least 0.9 similar to all existing members. We retain one representative per cluster, preferring servers with (i) fully parseable registries, (ii) clearer tool descriptions, and (iii) fewer external dependencies. This stage yields 121 servers.", "source": "marker_v2", "marker_block_id": "/page/15/Text/10"}
|
| 46 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0113", "section": "B.2. MCP-server Filtering Details", "page_start": 17, "page_end": 17, "type": "Text", "text": "Stage IV: LLM Semantic Validation. We apply an LLM-based auditor to analyze each server's tool descriptions and schemas. The auditor labels servers as stateless or stateful, flags whether external API credentials are required (requires_api), and assigns a sandbox requirement level (L0–L5). We discard servers that require external credentials or whose sandbox requirement level is L3–L5, ensuring safe execution under our benchmark setting.", "source": "marker_v2", "marker_block_id": "/page/16/Text/1"}
|
| 47 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0114", "section": "B.2. MCP-server Filtering Details", "page_start": 17, "page_end": 17, "type": "Text", "text": "Appendix Figure 7 summarizes the end-to-end filtering pipeline and per-stage attrition.", "source": "marker_v2", "marker_block_id": "/page/16/Text/2"}
|
| 48 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0115", "section": "B.3. LLM-as-Judge Prompt for Server Semantic Validation", "page_start": 17, "page_end": 17, "type": "Code", "text": "LLM-as-Judge Mcp-server You are an AI assistant. I will give you a tool-scheme JSON for a single server. Please output ONLY one JSON object (no array, no markdown fences) with exactly these fields: - server_name (string): the name of the server - clarity_score (integer 1--10): overall clarity of all tool descriptions - 1 = completely unclear, jargon-filled - 5 = generally understandable but some omissions or ambiguities - 10 = crystal-clear, concise, no ambiguity - clarity_comment (string): brief rationale, e.g. which parts were ambiguous or exemplary - usefulness_score (integer 1--10): overall usefulness of descriptions for a developer - 1 = almost no practical guidance, missing parameters/examples - 5 = some guidance present but lacks examples or edge-case notes - 10 = highly practical, with examples, parameter hints, and usage notes - usefulness_comment (string): brief rationale, e.g. missing examples or strong guidance - risk_level (\"low\"/\"medium\"/\"high\"): Assess overall risk as low for read-only tools, medium for write/modify operations with safeguards, and ,→ high for destructive or privileged actions (e.g. file deletion, shell execution) or known malicious patterns. - risk_reason (string): explanation for the chosen risk level - domain (string): choose one of the existing domains or invent a new one if none fit - complexity_avg (number 1--10): average complexity across tools - 1 = trivial single-parameter lookup - 5 = moderate (several parameters, optional flags) - 10 = very complex (multiple steps, nested structures) - complexity_comment (string): brief note on what drove the complexity up or down - api_type (string): choose exactly one from the list below Here is the list of existing domains: {', '.join(existing_domains) if existing_domains else '[no existing domains]'} Here is the list of acceptable API types: {', '.join(api_types)} Here is the raw tool-scheme JSON: {json.dumps(data, ensure_ascii=False)} Ensure the returned JSON object uses one–and only one–value for both \"domain\" and \"api_type\", and includes all fields above with concise but clear comments.", "source": "marker_v2", "marker_block_id": "/page/16/Code/4"}
|
| 49 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0116", "section": "B.4. Task Generation and Filtering", "page_start": 18, "page_end": 18, "type": "Code", "text": "Task Generate ### Task Objective Generate a Tool Use Question based on the provided MCP Server and its tool descriptions. ### Goal Analyze the provided MCP Server and its available tools, then create a realistic user question that would ,→ naturally require the use of one of these tools to solve. ### Guidelines #### Question Realism * Create questions that represent real-world scenarios where users would need to interact with the MCP ,→ Server's tools. * The question should sound natural and authentic, as if asked by someone genuinely needing to accomplish ,→ a task. * Consider common use cases, problems, or workflows that would require the functionality provided by the ,→ MCP Server's tools. #### Tool Selection * Focus on ONE specific tool from the MCP Server that would be most appropriate to answer the question. * Choose tools based on the core functionality they provide and how they would solve real user problems. * Consider each tool's description and purpose when crafting the question. #### Question Complexity * Create questions that are clear and specific enough to warrant tool usage. * Avoid overly simple questions that could be answered without tools. * Include relevant context or constraints that make the tool usage necessary. * Do not include the tool's name directly in the question. #### Output Format Your response should include the following: 1. Tool Analysis: Briefly analyze the MCP Server's available tools and their main functionalities. 2. Target Tool: The specific tool name from the MCP Server that should be used to answer this question. 3. Question: A clear, realistic user question that requires tool usage. ### MCP Server Description {{ MCP_SERVER_NAME }}: {{ MCP_SERVER_DESCRIPTION }} Available Tools: {{ TOOL_LIST }} Initial State: {{ INIT_STATE }} ### Ideas {{ CONSTRUCTIVE_IDEAS }} ### Output Example Please provide your response in the following JSON format:", "source": "marker_v2", "marker_block_id": "/page/17/Code/2"}
|
| 50 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0117", "section": "B.4. Task Generation and Filtering", "page_start": 19, "page_end": 19, "type": "Code", "text": "1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1014 1015 1016 1018 1019 1020 1021 1024 1026 1028 1030 1031 1034 1036 1038 1040 1041 1042 ```json { \"tool_analysis\": \"Briefly analyze the MCP Server's available tools and their main functionalities.\", \"target_tool\": \"The specific tool name from the MCP Server that should be used to answer this ,→ question.\", \"question\": \"A clear, realistic user question that requires tool usage.\" } ``` Task filtering (LLM-as-judge) ### Task Conduct a Question Quality Assessment of a tool use question across six key dimensions to ensure it meets ,→ high standards for realistic tool usage scenarios. ### Objective Analyze the provided tool use question and assess its quality across six primary dimensions: 1. Tool Selection Difficulty - How challenging it is to determine which tools to use from all available ,→ tools. 2. Tool Selection Uniqueness - How unique and necessary the selected tools are for this specific task ,→ among the available tools. 3. Question Quality - Overall clarity, specificity, and effectiveness of the question. 4. Scenario Realism - How authentic and believable the scenario is. 5. Verifiability - How easy it is to verify the correctness of the final model's answer. 6. Stability - How stable the answer will be when requested under different time and geolocation. 7. Completeness - Whether the question provides sufficient information to solve the problem without ,→ requiring additional clarification. ### Assessment Criteria #### 1. Tool Selection Difficulty What to Evaluate: How difficult it would be for a user to determine which specific tools are needed to ,→ solve the question. Rating Guidelines: * very easy: Question explicitly mentions tool names or makes tool selection obvious. * easy: Tool selection is straightforward with clear indicators. * medium: Requires some reasoning, but tool needs are fairly apparent. * hard: Requires careful analysis to determine appropriate tools. * very hard: Requires extensive expertise and deep reasoning to identify the correct tools. #### 2. Tool Selection Uniqueness What to Evaluate: How unique and necessary the selected tools are for completing this task, and whether ,→ the task can only be solved with these tools in the specified sequence. Rating Guidelines: * not unique: Many alternative tool combinations could achieve the same task. * somewhat unique: Some alternative approaches exist, but selected tools offer advantages. * moderately unique: Selected tools are well-suited, with limited alternatives. * quite unique: Selected tools are particularly well-matched to the task requirements. * highly unique: Task can only be accomplished effectively with these specific tools in this sequence. #### 3. Question Quality", "source": "marker_v2", "marker_block_id": "/page/18/Code/1"}
|
| 51 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0118", "section": "B.4. Task Generation and Filtering", "page_start": 20, "page_end": 20, "type": "Code", "text": "1045 1046 1047 1048 1049 1050 1051 1054 1056 1058 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1071 1074 1075 1076 1078 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 What to Evaluate: Overall clarity, specificity, and effectiveness of the question as a realistic user ,→ query. Rating Guidelines: * very poor: Unclear, ambiguous, or poorly constructed question. * poor: Some clarity issues, missing important context. * average: Clear and understandable, but could be more specific or engaging. * good: Well-constructed, clear, specific, and realistic. * excellent: Exceptionally clear, detailed, engaging, and professionally written. #### 4. Scenario Realism What to Evaluate: How authentic, believable, and true-to-life the described scenario is. Rating Guidelines: * unrealistic: Artificial, contrived, or implausible scenario. * somewhat unrealistic: Some realistic elements, but feels forced or unlikely. * moderately realistic: Believable scenario with minor authenticity issues. * realistic: Authentic scenario that represents genuine use cases. * highly realistic: Completely natural, authentic scenario indistinguishable from real user needs. #### 5. Verifiability What to Evaluate: How easy it is to verify the correctness of the final model answer. Rating Guidelines: * hard to verify: Fully free-form answer that requires extensive human judgment. * somewhat hard: Mostly subjective answer with some verifiable elements. * moderately verifiable: Short sentence that can be verified by LLM comparison. * mostly verifiable: Answer with clear, objective components and some subjective elements. * easy to verify: Answer can be verified by simple rules, exact matches, or clear success criteria. #### 6. Stability (1-5 Scale) What to Evaluate: How stable and consistent the answer will be when the question is asked under different ,→ environmental conditions and system contexts. Consider factors like temporal dependency, ,→ geographical variations, operating system differences, network environments, and software version ,→ variations. Rating Guidelines: * highly unstable: Answer changes significantly across different conditions (real-time data, ,→ location-specific, system-dependent). * somewhat unstable: Answer may vary moderately based on environmental or system factors. * moderately stable: Answer mostly consistent with minor variations due to context. * mostly stable: Answer remains largely consistent across different conditions. * highly stable: Answer is completely independent of environmental and system factors. #### 7. Completeness What to Evaluate: Whether the question contains all necessary information (parameters, constraints, ,→ context) for the tool to successfully execute the task without needing to ask the user for more ,→ details. Rating Guidelines: * incomplete: Missing critical information required by the tool (e.g., missing destination for a trip). * somewhat complete: Missing some non-critical information, might require assumption or default values. * complete: Contains all necessary information to execute the task.", "source": "marker_v2", "marker_block_id": "/page/19/Code/1"}
|
| 52 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0119", "section": "B.4. Task Generation and Filtering", "page_start": 21, "page_end": 21, "type": "Code", "text": "1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 ### Question Analysis #### All Available Tools ``` {{ ALL_SERVER_AND_TOOL_INFORMATION }} ``` #### Question Content ``` {{ QUESTION_CONTENT }} ``` #### Intended Tool for This Question ``` {{ INTENDED_TOOL }} ``` #### Previous Feedback (if any) ``` {{ FEEDBACK }} ``` ### Output Requirements Provide a detailed analysis with reasoning BEFORE scores for each of the seven metrics. If the question is rated as incomplete or somewhat complete, provide specific Constructive Feedback on ,→ what information is missing and how to improve the question. ### Output Provide your response in the following JSON format: ```json { \"tool_selection_difficulty\": { \"reasoning\": \"Detailed explanation including ambiguity level, domain knowledge required, and ,→ alternative solutions giving all available tools.\", \"rating\": \"Rating: very easy, easy, medium, hard, very hard\" }, \"tool_selection_uniqueness\": { \"reasoning\": \"Detailed explanation of tool necessity, sequential dependencies, and alternative tool ,→ viability giving all available tools.\", \"rating\": \"Rating: not unique, somewhat unique, moderately unique, quite unique, highly unique\" }, \"question_quality\": { \"reasoning\": \"Detailed explanation covering linguistic quality, information architecture, and ,→ actionability.\", \"rating\": \"Rating: very poor, poor, average, good, excellent\" }, \"scenario_realism\": { \"reasoning\": \"Detailed explanation of industry authenticity, workflow accuracy, and stakeholder ,→ behavior.\", \"rating\": \"Rating: unrealistic, somewhat unrealistic, moderately realistic, realistic, highly ,→ realistic\" },", "source": "marker_v2", "marker_block_id": "/page/20/Code/1"}
|
| 53 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0120", "section": "B.4. Task Generation and Filtering", "page_start": 22, "page_end": 22, "type": "Code", "text": "1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 \"verifiability\": { \"reasoning\": \"Detailed explanation of answer format, objective criteria, and ground truth ,→ availability.\", \"rating\": \"Rating: hard to verify, somewhat hard, moderately verifiable, mostly verifiable, easy to ,→ verify\" }, \"stability\": { \"reasoning\": \"Detailed explanation of temporal/geographical/system dependencies and environmental ,→ factors.\", \"rating\": \"Rating: highly unstable, somewhat unstable, moderately stable, mostly stable, highly stable\" }, \"completeness\": { \"reasoning\": \"Detailed explanation of whether all necessary parameters are present.\", \"rating\": \"Rating: incomplete, somewhat complete, complete\" }, \"feedback\": \"Specific instructions on how to improve the question if it failed any criteria, especially ,→ completeness. Leave empty if all good.\" } ```", "source": "marker_v2", "marker_block_id": "/page/21/Code/1"}
|
| 54 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0121", "section": "B.5. Trajectory Generation and Filtering", "page_start": 22, "page_end": 22, "type": "Text", "text": "Trajectory Filtering(LLM-as-judge).", "source": "marker_v2", "marker_block_id": "/page/21/Text/3"}
|
| 55 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0122", "section": "B.5. Trajectory Generation and Filtering", "page_start": 22, "page_end": 22, "type": "Code", "text": "1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1208 1209 Deep Researcher ### Task You are given: 1. the user's request (QUESTION_CONTENT) 2. the full conversation history (CONVERSATION_HISTORY), including all assistant turns and any tool ,→ outputs. Your task is to assess whether the assistant has ultimately delivered a usable, end-to-end outcome by the ,→ end of the conversation. Completeness is the ONLY evaluation dimension. Ignore verbosity, writing quality, politeness, and ,→ intermediate mistakes. ### Core Principle At the end of the conversation, if the user stops right there, can they achieve their goal without any ,→ essential follow-up? * If YES -> higher completeness score. * If NO -> you must identify the missing element that prevents success. ### What Counts as \"Complete\" The assistant is complete only if it satisfies the user's goal end-to-end, which typically requires: * The must-have deliverable is provided (e.g., final answer, file, code patch, plan, table, steps). * If actions depend on tools/files, the assistant either: * successfully uses them and delivers results, or * if blocked (tool failure / missing access), provides a working fallback (clear manual steps, ,→ alternative method, or minimal viable deliverable). * Includes any essential \"last-mile\" details: paths, commands, file links, or instructions needed to use", "source": "marker_v2", "marker_block_id": "/page/21/Code/4"}
|
| 56 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0123", "section": "B.5. Trajectory Generation and Filtering", "page_start": 23, "page_end": 23, "type": "Code", "text": "1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 ,→ the output. Do NOT reward partial attempts unless the outcome is still usable. ### Rating (1-5) Assign exactly one integer score: 1 – very incomplete: No usable outcome; major must-haves missing. 2 – incomplete: Some progress, but the user still cannot accomplish the goal. 3 – partially complete: Core work attempted; usable only with significant user effort or a key missing ,→ piece. 4 – mostly complete: Meets most must-haves; only minor omissions or small usability issues remain. 5 – fully complete: Fully meets must-haves end-to-end with a usable outcome delivered. ### NEVER Do * NEVER score tool-call accuracy or penalize \"wrong tool usage\" unless it directly prevents completion. * NEVER judge style/verbosity/formatting elegance. * NEVER give credit for intentions (\"I will do X later\") unless the deliverable is actually present. * NEVER assume external actions happened without evidence in the transcript. ## Inputs ### Question Content ```json {QUESTION_CONTENT} ``` ### Conversation History ```json {CONVERSATION_HISTORY} ``` ## Output Provide your response in the following JSON format: ```json { \"completeness\": { \"reasoning\": \"Evaluate if the assistant delivered an end-to-end usable outcome, addressed all ,→ requirements, handled tool failures with alternatives, and provided necessary ,→ confirmations/paths.\", \"rating\": \"Rating: very incomplete, incomplete, partially complete, mostly complete, fully complete\" } } ```", "source": "marker_v2", "marker_block_id": "/page/22/Code/1"}
|
| 57 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0124", "section": "B.6. Unit Test Prompts", "page_start": 23, "page_end": 23, "type": "Code", "text": "Unit test synthesis You are given: (1) one tool schema (name/description/JSON schema for inputs/outputs). Generate K unit tests that improve parameter coverage, including: - boundary-value inputs,", "source": "marker_v2", "marker_block_id": "/page/22/Code/3"}
|
| 58 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0125", "section": "B.6. Unit Test Prompts", "page_start": 24, "page_end": 24, "type": "Code", "text": "- invalid or missing required fields, 1266 - rare branches implied by the description. 1267 1268 Output a JSON list. Each test: 1269 \"test_id\": \"...\", \"tool_name\": \"...\", 1270 1271 \"inputs\": { ... }, 1272 \"expected\": { \"type\": \"output\" | \"error\", 1273 \"value\": ..., 1274 \"error_type\": \"...\" // optional 1275 1276 \"source\": \"llm_synth\" 1277 } 1278 1279 Constraints: - Inputs must be schema-valid for output-type tests. 1280 - For invalid tests, violate exactly one constraint and specify the expected error_type. 1281 - Avoid any dependence on private accounts, API keys, or hidden external state. 1282 1283", "source": "marker_v2", "marker_block_id": "/page/23/Code/1"}
|
| 59 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0126", "section": "D.1. Signal-Validation Alignment (SVA) score", "page_start": 24, "page_end": 24, "type": "Text", "text": "Verification signals. We use three automated verification signals computed from the produced MCP server artifact: (i) Schema-F1 , measuring interface match quality between predicted and reference tool signatures; (ii) UT_{soft} and (iii) UT_{hard} , measuring tool-call verification pass rates under a permissive (soft) versus strict (hard) matching criterion.", "source": "marker_v2", "marker_block_id": "/page/23/Text/5"}
|
| 60 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0127", "section": "D.1. Signal-Validation Alignment (SVA) score", "page_start": 24, "page_end": 24, "type": "Text", "text": "Downstream validation target. For each instance i, we denote the downstream validation value as r_i \\in [0, 1] , instantiated in our experiments as the trajectory-level validation rate (soft).", "source": "marker_v2", "marker_block_id": "/page/23/Text/6"}
|
| 61 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0128", "section": "D.1. Signal-Validation Alignment (SVA) score", "page_start": 24, "page_end": 24, "type": "Text", "text": "Definition. Given a verification signal s_i \\in [0,1] and downstream validation r_i , we define the Signal-Validation Alignment (SVA) score as", "source": "marker_v2", "marker_block_id": "/page/23/Text/7"}
|
| 62 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0129", "section": "D.1. Signal-Validation Alignment (SVA) score", "page_start": 24, "page_end": 24, "type": "Equation", "text": "SVA(s,r) = \\frac{\\sum_{i:s_i>0} s_i r_i}{\\sum_{i:s_i>0} s_i + |\\{i:s_i \\le 0\\}|}. (17)", "source": "marker_v2", "marker_block_id": "/page/23/Equation/8"}
|
| 63 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0130", "section": "D.1. Signal-Validation Alignment (SVA) score", "page_start": 24, "page_end": 24, "type": "Text", "text": "Unlike correlation, SVA evaluates whether high verification-signal values concentrate on instances with high downstream validation, and it additionally penalizes zero-signal cases through the term |\\{i: s_i \\leq 0\\}| , capturing signal coverage (i.e., how often a signal collapses to zero or becomes uninformative). Higher SVA therefore indicates a verification signal that is both more indicative of downstream validation and more consistently defined across instances.", "source": "marker_v2", "marker_block_id": "/page/23/Text/9"}
|
| 64 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0131", "section": "E.1. Finetuning Exploration", "page_start": 24, "page_end": 24, "type": "Text", "text": "We study finetuning on TOOL GENESIS as a simple and reproducible adaptation mechanism.", "source": "marker_v2", "marker_block_id": "/page/23/Text/12"}
|
| 65 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0132", "section": "E.1. Finetuning Exploration", "page_start": 24, "page_end": 24, "type": "Text", "text": "Data construction. We construct an executable supervision signal by collecting successful tool-creation trajectories from a held-out pool of MCP servers. Concretely, we run our Code-Agent pipeline (generate-execute-repair) with DeepSeek-V3.2 as the backbone model and synthesize approximately 1,000 tool-creation trajectories. Each trajectory records the requirement, the generated MCP tool registry (schema), the materialized implementation artifact (server code), and optional execution/verification feedback produced during the loop (e.g., launch errors and unit-test summaries). We then apply strict filtering to retain only high-quality instances whose final artifacts are (i) MCP-compliant and parseable, (ii) executable under our sandbox, and (iii) verifiable by our automated checks (unit tests when available). We further remove trajectories", "source": "marker_v2", "marker_block_id": "/page/23/Text/13"}
|
| 66 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0133", "section": "E.1. Finetuning Exploration", "page_start": 25, "page_end": 25, "type": "Text", "text": "that require external credentials or unstable external state, and drop samples with malformed registries, non-deterministic outcomes, or excessively long logs. After filtering, we retain 500 high-quality trajectories as our finetuning training set. Unless otherwise stated, training and evaluation are server-disjoint to avoid leakage.", "source": "marker_v2", "marker_block_id": "/page/24/Text/1"}
|
| 67 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0134", "section": "E.1. Finetuning Exploration", "page_start": 25, "page_end": 25, "type": "Text", "text": "Functioning (supervision formatting). We convert each retained trajectory into instruction–response examples aligned with the TI+TM lifecycle. Specifically, we include: (i) Direct examples mapping a requirement to a single-pass output (schema plus implementation), and (ii) Repair examples unrolled from the generate–execute–repair loop, where the input additionally contains truncated executable feedback and the target is a corrected patch or revised implementation. Each repair iteration is treated as an independent example, enabling the model to learn bug localization and correction conditioned on execution signals.", "source": "marker_v2", "marker_block_id": "/page/24/Text/2"}
|
| 68 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0135", "section": "E.1. Finetuning Exploration", "page_start": 25, "page_end": 25, "type": "Text", "text": "Finetuning configuration. We fine-tune Qwen3-8B on the curated finetuning set using teacher-forcing maximum likelihood. We train for 3 epochs and keep the rest of the evaluation pipeline unchanged (prompting, decoding, tool-call parsing, runtime sandbox, and verification), ensuring an apples-to-apples comparison. We use AdamW with cosine learning-rate scheduling and warmup, gradient clipping, and mixed-precision training. The learning rate is selected within 1e-5–5e-5 on a server-disjoint development split; in our runs, the best checkpoint typically uses a learning rate around 2e-5. Unless otherwise specified, we use a max sequence length of 4k–8k tokens with packing, and gradient accumulation to match the target effective batch size under fixed hardware constraints. We report the best checkpoint on the development split and evaluate on held-out test servers.", "source": "marker_v2", "marker_block_id": "/page/24/Text/3"}
|
| 69 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0136", "section": "E.1. Finetuning Exploration", "page_start": 25, "page_end": 25, "type": "Text", "text": "Results. Finetuning on TOOL GENESIS leads to better performance. Table 6 shows that finetuning yields consistent gains across evaluation layers, demonstrating that TOOL GENESIS can serve not only as an evaluation benchmark but also as an effective training signal for tool creation. Under the Direct setting, finetuning improves one-shot schema generation quality and increases downstream task success, suggesting that finetuning internalizes MCP-compliant interface patterns and reduces schema-level failures in single-pass TI+TM. Under the Code-Agent setting, finetuning further strengthens closed-loop repair: the fine-tuned model more reliably fixes execution-triggered implementation bugs, increasing unit-test pass rates (UT) and improving task success (SR). Overall, finetuning primarily strengthens one-shot generation under Direct, while under Code-Agent it improves bug localization and correction, translating executable feedback into measurable downstream utility.", "source": "marker_v2", "marker_block_id": "/page/24/Text/4"}
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/appendix_text_v3.txt
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[p. 12 | section: A. Evaluation Methodology Details | type: Text]
|
| 2 |
+
We provide mathematical formulations and implementation details for the metrics in Section 2.2. We evaluate N generated MCP-server implementations \{\hat{e}_i\}_{i=1}^N . Each server is expected to expose a list_tools endpoint returning a tool registry (a list of tool schemas).
|
| 3 |
+
|
| 4 |
+
[p. 12 | section: A.1. Layer 1: Surface Compliance and Server Execution | type: Text]
|
| 5 |
+
Compliance (OpenAI tool-calling format). We treat compliance as a strict format check: whether the returned tool registry is parseable and satisfies the OpenAI tool-calling specification. Let \mathcal{V}_{OpenAI} denote the corresponding JSON Schema validator, and let parse(·) return a parsed JSON object if successful (otherwise \bot ). We define the per-instance compliance indicator:
|
| 6 |
+
|
| 7 |
+
[p. 12 | section: A.1. Layer 1: Surface Compliance and Server Execution | type: Equation]
|
| 8 |
+
compliant(\hat{e}_i) = \mathbb{I}[parse(list\_tools(\hat{e}_i)) \neq \bot \land parse(list\_tools(\hat{e}_i)) \models \mathcal{V}_{OpenAI}], \tag{2}
|
| 9 |
+
|
| 10 |
+
[p. 12 | section: A.1. Layer 1: Surface Compliance and Server Execution | type: Text]
|
| 11 |
+
and report the dataset-level score:
|
| 12 |
+
|
| 13 |
+
[p. 12 | section: A.1. Layer 1: Surface Compliance and Server Execution | type: Equation]
|
| 14 |
+
Compliance = \frac{1}{N} \sum_{i=1}^{N} \text{compliant}(\hat{e}_i) . (3)
|
| 15 |
+
|
| 16 |
+
[p. 12 | section: A.1. Layer 1: Surface Compliance and Server Execution | type: Text]
|
| 17 |
+
Server execution (3 independent launches). We attempt to start each server R=3 times under fixed timeouts. Let \operatorname{run}(\hat{e}_i,r)\in\{0,1\} indicate whether the r-th launch succeeds and the server remains responsive (e.g., responds to list_tools) within the timeout. We define the per-instance execution score:
|
| 18 |
+
|
| 19 |
+
[p. 12 | section: A.1. Layer 1: Surface Compliance and Server Execution | type: Equation]
|
| 20 |
+
\operatorname{exec}(\hat{e}_i) = \frac{1}{R} \sum_{r=1}^{R} \operatorname{run}(\hat{e}_i, r), \qquad R = 3, (4)
|
| 21 |
+
|
| 22 |
+
[p. 12 | section: A.1. Layer 1: Surface Compliance and Server Execution | type: Text]
|
| 23 |
+
and report the dataset-level score:
|
| 24 |
+
|
| 25 |
+
[p. 12 | section: A.1. Layer 1: Surface Compliance and Server Execution | type: Equation]
|
| 26 |
+
ServerExecution = \frac{1}{N} \sum_{i=1}^{N} \operatorname{exec}(\hat{e}_i) . (5)
|
| 27 |
+
|
| 28 |
+
[p. 12 | section: A.2. Layer 2: Semantic Interface Fidelity (Schema-F1) | type: Text]
|
| 29 |
+
Layer 2 evaluates whether the predicted tool interfaces match the reference interfaces, independent of code execution. For instance i, let \hat{s}_i be the predicted tool set and s_i^* the reference tool set. Each tool schema is represented as t = \langle \eta, \phi \rangle , where \eta is function_name and \phi is the JSON-schema-like argument definition.
|
| 30 |
+
|
| 31 |
+
[p. 12 | section: A.2. Layer 2: Semantic Interface Fidelity (Schema-F1) | type: Text]
|
| 32 |
+
Embedding-based similarity on function_name + args. We define a canonical serialization g(t) = \eta \oplus \operatorname{canon}(\phi) , where \oplus denotes concatenation and \operatorname{canon}(\cdot) produces a deterministic string form (e.g., JSON dump with sorted keys). We embed g(t) using sentence-transformers/all-MiniLM-L6-v2, denoted by \mathbf{E}(\cdot) , and define cosine similarity:
|
| 33 |
+
|
| 34 |
+
[p. 12 | section: A.2. Layer 2: Semantic Interface Fidelity (Schema-F1) | type: Equation]
|
| 35 |
+
w(u,v) = \cos(\mathbf{E}(g(u)), \mathbf{E}(g(v))). \tag{6}
|
| 36 |
+
|
| 37 |
+
[p. 12 | section: A.2. Layer 2: Semantic Interface Fidelity (Schema-F1) | type: Text]
|
| 38 |
+
Maximum-weight matching and F1. We construct a bipartite graph between \hat{s}_i and s_i^* with edge weights w(\cdot,\cdot) , and compute a maximum-weight matching M_i . A matched pair is counted as correct if w(u,v) \geq \tau for a fixed threshold \tau . Let m_i = |\{(u,v) \in M_i : w(u,v) \geq \tau\}| . Then
|
| 39 |
+
|
| 40 |
+
[p. 12 | section: A.2. Layer 2: Semantic Interface Fidelity (Schema-F1) | type: Equation]
|
| 41 |
+
P_i = \frac{m_i}{|\hat{s}_i|}, \qquad R_i = \frac{m_i}{|s_i^*|}, \qquad \text{SchemaF1}_i = \frac{2P_i R_i}{P_i + R_i + \epsilon}, \tag{7}
|
| 42 |
+
|
| 43 |
+
[p. 12 | section: A.2. Layer 2: Semantic Interface Fidelity (Schema-F1) | type: Text]
|
| 44 |
+
where \epsilon is a small constant for numerical stability, and we report:
|
| 45 |
+
|
| 46 |
+
[p. 12 | section: A.2. Layer 2: Semantic Interface Fidelity (Schema-F1) | type: Equation]
|
| 47 |
+
SchemaF1 = \frac{1}{N} \sum_{i=1}^{N} SchemaF1_{i}. (8)
|
| 48 |
+
|
| 49 |
+
[p. 12 | section: A.2. Layer 2: Semantic Interface Fidelity (Schema-F1) | type: Text]
|
| 50 |
+
Note. Schema-F1 compares tool interfaces (names and argument schemas), and is distinct from the structured score in Layer 3, which compares tool outputs via key-path overlap.
|
| 51 |
+
|
| 52 |
+
[p. 13 | section: A.3. Layer 3: Functional Correctness via Unit Tests (UT) | type: Text]
|
| 53 |
+
Layer 3 evaluates functional correctness by executing unit tests. Each unit test is a triple ⟨η, x, y ∗ ⟩, where η is the tool name, x is the input arguments, and y ∗ is the expected output. Running the tool on the generated server yields an actual output yˆ. We score each test case by combining (i) a structured score and (ii) an embedding similarity score.
|
| 54 |
+
|
| 55 |
+
[p. 13 | section: A.3. Layer 3: Functional Correctness via Unit Tests (UT) | type: Text]
|
| 56 |
+
(i) Structured score (JSON key-path overlap). We consider the common case where y ∗ is JSON (or parseable as JSON). Let parse(·) parse JSON successfully or return ⊥. If parse(ˆy) = ⊥, we set the structured score to 0. Otherwise, we extract a set of key-path strings from a JSON object, denoted by paths(·) (e.g., a.b[0].c). Define
|
| 57 |
+
|
| 58 |
+
[p. 13 | section: A.3. Layer 3: Functional Correctness via Unit Tests (UT) | type: Equation]
|
| 59 |
+
P_{\text{path}} = \frac{|\text{paths}(\hat{y}) \cap \text{paths}(y^*)|}{|\text{paths}(\hat{y})| + \epsilon}, \qquad R_{\text{path}} = \frac{|\text{paths}(\hat{y}) \cap \text{paths}(y^*)|}{|\text{paths}(y^*)| + \epsilon}, \tag{9}
|
| 60 |
+
|
| 61 |
+
[p. 13 | section: A.3. Layer 3: Functional Correctness via Unit Tests (UT) | type: Text]
|
| 62 |
+
and the structured score (F1 over key paths):
|
| 63 |
+
|
| 64 |
+
[p. 13 | section: A.3. Layer 3: Functional Correctness via Unit Tests (UT) | type: Equation]
|
| 65 |
+
struct(\hat{y}, y^*) = \frac{2P_{path}R_{path}}{P_{path} + R_{path} + \epsilon}. (10)
|
| 66 |
+
|
| 67 |
+
[p. 13 | section: A.3. Layer 3: Functional Correctness via Unit Tests (UT) | type: Text]
|
| 68 |
+
(ii) Embedding similarity of outputs. We canonicalize outputs via canon(·) (stable JSON dump if parseable; otherwise raw text), embed using sentence-transformers/all-MiniLM-L6-v2 (denoted by E(·)), and compute:
|
| 69 |
+
|
| 70 |
+
[p. 13 | section: A.3. Layer 3: Functional Correctness via Unit Tests (UT) | type: Equation]
|
| 71 |
+
\operatorname{emb}(\hat{y}, y^*) = \max \Big( 0, \cos \left( \mathbf{E}(\operatorname{canon}(\hat{y})), \mathbf{E}(\operatorname{canon}(y^*)) \right) \Big). \tag{11}
|
| 72 |
+
|
| 73 |
+
[p. 13 | section: A.3. Layer 3: Functional Correctness via Unit Tests (UT) | type: Text]
|
| 74 |
+
UT score (equal-weight combination). For a single test case:
|
| 75 |
+
|
| 76 |
+
[p. 13 | section: A.3. Layer 3: Functional Correctness via Unit Tests (UT) | type: Equation]
|
| 77 |
+
UT(\hat{y}, y^*) = \frac{1}{2} struct(\hat{y}, y^*) + \frac{1}{2} emb(\hat{y}, y^*). (12)
|
| 78 |
+
|
| 79 |
+
[p. 13 | section: A.3. Layer 3: Functional Correctness via Unit Tests (UT) | type: Text]
|
| 80 |
+
Aggregating across tests (standard vs. boundary). Let T std be the set of standard (positive) tests and T bnd include additional boundary/negative tests. For S ∈ {std, bnd}, we report:
|
| 81 |
+
|
| 82 |
+
[p. 13 | section: A.3. Layer 3: Functional Correctness via Unit Tests (UT) | type: Equation]
|
| 83 |
+
UT_{S} = \frac{1}{|\mathcal{T}^{S}|} \sum_{\langle \eta, \mathbf{x}, y^{*} \rangle \in \mathcal{T}^{S}} UT(\hat{y}(\eta, \mathbf{x}), y^{*}). (13)
|
| 84 |
+
|
| 85 |
+
[p. 13 | section: A.4. Layer 4: Downstream Task Utility (Oracle-normalized SR) | type: Text]
|
| 86 |
+
To evaluate end-to-end utility, we run a fixed agent based on Qwen3-14B on benchmark trajectories under two tool environments: (i) the generated MCP server eˆ and (ii) the ground-truth MCP server e ∗ . For each task instance j, an LLM judge produces two scores in [0, 1]:
|
| 87 |
+
|
| 88 |
+
[p. 13 | section: A.4. Layer 4: Downstream Task Utility (Oracle-normalized SR) | type: Equation]
|
| 89 |
+
s_j^{\text{gen}} = \mathcal{J}(\text{trajectory produced with } \hat{e}), \qquad s_j^{\text{gt}} = \mathcal{J}(\text{trajectory produced with } e^*). (14)
|
| 90 |
+
|
| 91 |
+
[p. 13 | section: A.4. Layer 4: Downstream Task Utility (Oracle-normalized SR) | type: Text]
|
| 92 |
+
We compute the per-task oracle-normalized score:
|
| 93 |
+
|
| 94 |
+
[p. 13 | section: A.4. Layer 4: Downstream Task Utility (Oracle-normalized SR) | type: Equation]
|
| 95 |
+
SR_j = \frac{1 - s_j^{\text{gt}}}{1 - s_j^{\text{gen}} + \epsilon},\tag{15}
|
| 96 |
+
|
| 97 |
+
[p. 13 | section: A.4. Layer 4: Downstream Task Utility (Oracle-normalized SR) | type: Text]
|
| 98 |
+
and report the dataset-level score:
|
| 99 |
+
|
| 100 |
+
[p. 13 | section: A.4. Layer 4: Downstream Task Utility (Oracle-normalized SR) | type: Equation]
|
| 101 |
+
SR = \frac{1}{|\mathcal{D}_{task}|} \sum_{j \in \mathcal{D}_{task}} SR_j. (16)
|
| 102 |
+
|
| 103 |
+
[p. 13 | section: B. More Dataset Construction Details | type: Text]
|
| 104 |
+
This appendix provides implementation details for the four-stage construction pipeline in Figure 2, including crawling, schema standardization, executable validation, clustering/deduplication, LLM-as-judge rubrics, task/trajectory generation filters, unit-test synthesis, and final release policies.
|
| 105 |
+
|
| 106 |
+
[p. 14 | section: B. More Dataset Construction Details | type: FigureGroup]
|
| 107 |
+
Figure 7. Data flow and attrition in MCP-server collection. Sankey diagram summarizing the sequential filtering stages for constructing Dsrv, reporting the number of servers retained (and discarded) at each stage. Placeholder: will be replaced by the final figure.
|
| 108 |
+
|
| 109 |
+
[p. 14 | section: Example 1: MCP-server schema instance (Dsrv). | type: Code]
|
| 110 |
+
{ "metadata": { "server_name": "Airbnb Search and Listing Details Server", "mode": "smithery", "timestamp": 1751938055, "remote_server_response": { "url": " "is_success": true, "error": null, "tools": [ { "name": "airbnb_search", "description": "Search for Airbnb listings with various filters and pagination. Provide direct links ,→ to the user", "input_schema": { "type": "object", "properties": { "location": { "type": "string", "description": "Location to search for (city, state, etc.)" }, "placeId": { "type": "string", "description": "Google Maps Place ID (overrides the location parameter)" }, "checkin": { "type": "string", "description": "Check-in date (YYYY-MM-DD)" }, "checkout": { "type": "string", "description": "Check-out date (YYYY-MM-DD)" }, "adults": { "type": "number", "description": "Number of adults" }, "children": { "type": "number", "description": "Number of children" }, "infants": { "type": "number", "description": "Number of infants" },
|
| 111 |
+
|
| 112 |
+
[p. 15 | section: Example 1: MCP-server schema instance (Dsrv). | type: Code]
|
| 113 |
+
770 774 778 779 780 781 782 783 784 785 786 788 789 790 791 792 793 794 796 797 799 801 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 822 823 824 "pets": { "type": "number", "description": "Number of pets" }, "minPrice": { "type": "number", "description": "Minimum price for the stay" }, "maxPrice": { "type": "number", "description": "Maximum price for the stay" }, "cursor": { "type": "string", "description": "Base64-encoded string used for Pagination" }, "ignoreRobotsText": { "type": "boolean", "description": "Ignore robots.txt rules for this request" } }, "required": [ "location" ] }, "annotations": null }, { "name": "airbnb_listing_details", "description": "Get detailed information about a specific Airbnb listing. Provide direct links to the ,→ user", "input_schema": { "type": "object", "properties": { "id": { "type": "string", "description": "The Airbnb listing ID" }, "checkin": { "type": "string", "description": "Check-in date (YYYY-MM-DD)" }, "checkout": { "type": "string", "description": "Check-out date (YYYY-MM-DD)" }, "adults": { "type": "number", "description": "Number of adults" }, "children": { "type": "number", "description": "Number of children" }, "infants": { "type": "number", "description": "Number of infants" }, "pets": { "type": "number", "description": "Number of pets" }, "ignoreRobotsText": { "type": "boolean", "description": "Ignore robots.txt rules for this request"
|
| 114 |
+
|
| 115 |
+
[p. 16 | section: Example 1: MCP-server schema instance (Dsrv). | type: Code]
|
| 116 |
+
} }, "required": [ "id" }, "annotations": null } ], "tool_count": 2, "tool_names": [ "airbnb_search", "airbnb_listing_details" ] }, "processed_timestamp": 1753731940, "processing_mode": "smithery", "rank": 556 } }
|
| 117 |
+
|
| 118 |
+
[p. 16 | section: Example 2: Task instance (Dtraj ). | type: Code]
|
| 119 |
+
{ "question_id":12413, "question": "I am trying to determine the launch angles for a projectile that must travel 30 m horizontally and ,→ reach a height of 5 m at that point.#" }
|
| 120 |
+
|
| 121 |
+
[p. 16 | section: Example 3: Unit test instance (Dut). | type: Code]
|
| 122 |
+
{ "function_name": "listProviders", "arguments": {}, "function_output_content": "{\n \"ollama\": {\n \"models\": [\n \"llama2\",\n \"mistral\",\n ,→ \"mixtral\",\n \"nous-hermes\",\n \"neural-chat\",\n \"vicuna\",\n ,→ \"codellama\",\n \"phi\"\n ],\n \"supportsReasoning\": false\n }\n}" }
|
| 123 |
+
|
| 124 |
+
[p. 16 | section: B.2. MCP-server Filtering Details | type: Text]
|
| 125 |
+
We provide implementation details of the four-stage MCP-server filtering pipeline summarized in the main text.
|
| 126 |
+
|
| 127 |
+
[p. 16 | section: B.2. MCP-server Filtering Details | type: Text]
|
| 128 |
+
Stage I: Structure Validation. We require each candidate server to expose a parseable MCP tool registry with valid tool_name and description fields, as well as JSON schemas for tool inputs (and outputs when available). Servers with missing, malformed, or non-parseable registries are removed.
|
| 129 |
+
|
| 130 |
+
[p. 16 | section: B.2. MCP-server Filtering Details | type: Text]
|
| 131 |
+
Stage II: Executable Validation. We launch each server in a sandboxed environment with resource and network isolation, and attempt to invoke its tools under fixed timeouts. Servers that fail to start or cannot be successfully invoked within 3 retries are discarded, ensuring basic executability and robustness.
|
| 132 |
+
|
| 133 |
+
[p. 16 | section: B.2. MCP-server Filtering Details | type: Text]
|
| 134 |
+
Stage III: Deduplication and Clustering. To reduce redundancy, we first remove exact duplicates based on server_name/tool_name. We then construct a schema text for each server from its server_name and tool name/description, and embed these texts using sentence-transformers/all-MiniLM-L6-v2. Servers are clustered using complete-link hierarchical clustering with cosine similarity threshold 0.9, i.e., a server joins a cluster only if it is at least 0.9 similar to all existing members. We retain one representative per cluster, preferring servers with (i) fully parseable registries, (ii) clearer tool descriptions, and (iii) fewer external dependencies. This stage yields 121 servers.
|
| 135 |
+
|
| 136 |
+
[p. 17 | section: B.2. MCP-server Filtering Details | type: Text]
|
| 137 |
+
Stage IV: LLM Semantic Validation. We apply an LLM-based auditor to analyze each server's tool descriptions and schemas. The auditor labels servers as stateless or stateful, flags whether external API credentials are required (requires_api), and assigns a sandbox requirement level (L0–L5). We discard servers that require external credentials or whose sandbox requirement level is L3–L5, ensuring safe execution under our benchmark setting.
|
| 138 |
+
|
| 139 |
+
[p. 17 | section: B.2. MCP-server Filtering Details | type: Text]
|
| 140 |
+
Appendix Figure 7 summarizes the end-to-end filtering pipeline and per-stage attrition.
|
| 141 |
+
|
| 142 |
+
[p. 17 | section: B.3. LLM-as-Judge Prompt for Server Semantic Validation | type: Code]
|
| 143 |
+
LLM-as-Judge Mcp-server You are an AI assistant. I will give you a tool-scheme JSON for a single server. Please output ONLY one JSON object (no array, no markdown fences) with exactly these fields: - server_name (string): the name of the server - clarity_score (integer 1--10): overall clarity of all tool descriptions - 1 = completely unclear, jargon-filled - 5 = generally understandable but some omissions or ambiguities - 10 = crystal-clear, concise, no ambiguity - clarity_comment (string): brief rationale, e.g. which parts were ambiguous or exemplary - usefulness_score (integer 1--10): overall usefulness of descriptions for a developer - 1 = almost no practical guidance, missing parameters/examples - 5 = some guidance present but lacks examples or edge-case notes - 10 = highly practical, with examples, parameter hints, and usage notes - usefulness_comment (string): brief rationale, e.g. missing examples or strong guidance - risk_level ("low"/"medium"/"high"): Assess overall risk as low for read-only tools, medium for write/modify operations with safeguards, and ,→ high for destructive or privileged actions (e.g. file deletion, shell execution) or known malicious patterns. - risk_reason (string): explanation for the chosen risk level - domain (string): choose one of the existing domains or invent a new one if none fit - complexity_avg (number 1--10): average complexity across tools - 1 = trivial single-parameter lookup - 5 = moderate (several parameters, optional flags) - 10 = very complex (multiple steps, nested structures) - complexity_comment (string): brief note on what drove the complexity up or down - api_type (string): choose exactly one from the list below Here is the list of existing domains: {', '.join(existing_domains) if existing_domains else '[no existing domains]'} Here is the list of acceptable API types: {', '.join(api_types)} Here is the raw tool-scheme JSON: {json.dumps(data, ensure_ascii=False)} Ensure the returned JSON object uses one–and only one–value for both "domain" and "api_type", and includes all fields above with concise but clear comments.
|
| 144 |
+
|
| 145 |
+
[p. 18 | section: B.4. Task Generation and Filtering | type: Code]
|
| 146 |
+
Task Generate ### Task Objective Generate a Tool Use Question based on the provided MCP Server and its tool descriptions. ### Goal Analyze the provided MCP Server and its available tools, then create a realistic user question that would ,→ naturally require the use of one of these tools to solve. ### Guidelines #### Question Realism * Create questions that represent real-world scenarios where users would need to interact with the MCP ,→ Server's tools. * The question should sound natural and authentic, as if asked by someone genuinely needing to accomplish ,→ a task. * Consider common use cases, problems, or workflows that would require the functionality provided by the ,→ MCP Server's tools. #### Tool Selection * Focus on ONE specific tool from the MCP Server that would be most appropriate to answer the question. * Choose tools based on the core functionality they provide and how they would solve real user problems. * Consider each tool's description and purpose when crafting the question. #### Question Complexity * Create questions that are clear and specific enough to warrant tool usage. * Avoid overly simple questions that could be answered without tools. * Include relevant context or constraints that make the tool usage necessary. * Do not include the tool's name directly in the question. #### Output Format Your response should include the following: 1. Tool Analysis: Briefly analyze the MCP Server's available tools and their main functionalities. 2. Target Tool: The specific tool name from the MCP Server that should be used to answer this question. 3. Question: A clear, realistic user question that requires tool usage. ### MCP Server Description {{ MCP_SERVER_NAME }}: {{ MCP_SERVER_DESCRIPTION }} Available Tools: {{ TOOL_LIST }} Initial State: {{ INIT_STATE }} ### Ideas {{ CONSTRUCTIVE_IDEAS }} ### Output Example Please provide your response in the following JSON format:
|
| 147 |
+
|
| 148 |
+
[p. 19 | section: B.4. Task Generation and Filtering | type: Code]
|
| 149 |
+
1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1014 1015 1016 1018 1019 1020 1021 1024 1026 1028 1030 1031 1034 1036 1038 1040 1041 1042 ```json { "tool_analysis": "Briefly analyze the MCP Server's available tools and their main functionalities.", "target_tool": "The specific tool name from the MCP Server that should be used to answer this ,→ question.", "question": "A clear, realistic user question that requires tool usage." } ``` Task filtering (LLM-as-judge) ### Task Conduct a Question Quality Assessment of a tool use question across six key dimensions to ensure it meets ,→ high standards for realistic tool usage scenarios. ### Objective Analyze the provided tool use question and assess its quality across six primary dimensions: 1. Tool Selection Difficulty - How challenging it is to determine which tools to use from all available ,→ tools. 2. Tool Selection Uniqueness - How unique and necessary the selected tools are for this specific task ,→ among the available tools. 3. Question Quality - Overall clarity, specificity, and effectiveness of the question. 4. Scenario Realism - How authentic and believable the scenario is. 5. Verifiability - How easy it is to verify the correctness of the final model's answer. 6. Stability - How stable the answer will be when requested under different time and geolocation. 7. Completeness - Whether the question provides sufficient information to solve the problem without ,→ requiring additional clarification. ### Assessment Criteria #### 1. Tool Selection Difficulty What to Evaluate: How difficult it would be for a user to determine which specific tools are needed to ,→ solve the question. Rating Guidelines: * very easy: Question explicitly mentions tool names or makes tool selection obvious. * easy: Tool selection is straightforward with clear indicators. * medium: Requires some reasoning, but tool needs are fairly apparent. * hard: Requires careful analysis to determine appropriate tools. * very hard: Requires extensive expertise and deep reasoning to identify the correct tools. #### 2. Tool Selection Uniqueness What to Evaluate: How unique and necessary the selected tools are for completing this task, and whether ,→ the task can only be solved with these tools in the specified sequence. Rating Guidelines: * not unique: Many alternative tool combinations could achieve the same task. * somewhat unique: Some alternative approaches exist, but selected tools offer advantages. * moderately unique: Selected tools are well-suited, with limited alternatives. * quite unique: Selected tools are particularly well-matched to the task requirements. * highly unique: Task can only be accomplished effectively with these specific tools in this sequence. #### 3. Question Quality
|
| 150 |
+
|
| 151 |
+
[p. 20 | section: B.4. Task Generation and Filtering | type: Code]
|
| 152 |
+
1045 1046 1047 1048 1049 1050 1051 1054 1056 1058 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1071 1074 1075 1076 1078 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 What to Evaluate: Overall clarity, specificity, and effectiveness of the question as a realistic user ,→ query. Rating Guidelines: * very poor: Unclear, ambiguous, or poorly constructed question. * poor: Some clarity issues, missing important context. * average: Clear and understandable, but could be more specific or engaging. * good: Well-constructed, clear, specific, and realistic. * excellent: Exceptionally clear, detailed, engaging, and professionally written. #### 4. Scenario Realism What to Evaluate: How authentic, believable, and true-to-life the described scenario is. Rating Guidelines: * unrealistic: Artificial, contrived, or implausible scenario. * somewhat unrealistic: Some realistic elements, but feels forced or unlikely. * moderately realistic: Believable scenario with minor authenticity issues. * realistic: Authentic scenario that represents genuine use cases. * highly realistic: Completely natural, authentic scenario indistinguishable from real user needs. #### 5. Verifiability What to Evaluate: How easy it is to verify the correctness of the final model answer. Rating Guidelines: * hard to verify: Fully free-form answer that requires extensive human judgment. * somewhat hard: Mostly subjective answer with some verifiable elements. * moderately verifiable: Short sentence that can be verified by LLM comparison. * mostly verifiable: Answer with clear, objective components and some subjective elements. * easy to verify: Answer can be verified by simple rules, exact matches, or clear success criteria. #### 6. Stability (1-5 Scale) What to Evaluate: How stable and consistent the answer will be when the question is asked under different ,→ environmental conditions and system contexts. Consider factors like temporal dependency, ,→ geographical variations, operating system differences, network environments, and software version ,→ variations. Rating Guidelines: * highly unstable: Answer changes significantly across different conditions (real-time data, ,→ location-specific, system-dependent). * somewhat unstable: Answer may vary moderately based on environmental or system factors. * moderately stable: Answer mostly consistent with minor variations due to context. * mostly stable: Answer remains largely consistent across different conditions. * highly stable: Answer is completely independent of environmental and system factors. #### 7. Completeness What to Evaluate: Whether the question contains all necessary information (parameters, constraints, ,→ context) for the tool to successfully execute the task without needing to ask the user for more ,→ details. Rating Guidelines: * incomplete: Missing critical information required by the tool (e.g., missing destination for a trip). * somewhat complete: Missing some non-critical information, might require assumption or default values. * complete: Contains all necessary information to execute the task.
|
| 153 |
+
|
| 154 |
+
[p. 21 | section: B.4. Task Generation and Filtering | type: Code]
|
| 155 |
+
1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 ### Question Analysis #### All Available Tools ``` {{ ALL_SERVER_AND_TOOL_INFORMATION }} ``` #### Question Content ``` {{ QUESTION_CONTENT }} ``` #### Intended Tool for This Question ``` {{ INTENDED_TOOL }} ``` #### Previous Feedback (if any) ``` {{ FEEDBACK }} ``` ### Output Requirements Provide a detailed analysis with reasoning BEFORE scores for each of the seven metrics. If the question is rated as incomplete or somewhat complete, provide specific Constructive Feedback on ,→ what information is missing and how to improve the question. ### Output Provide your response in the following JSON format: ```json { "tool_selection_difficulty": { "reasoning": "Detailed explanation including ambiguity level, domain knowledge required, and ,→ alternative solutions giving all available tools.", "rating": "Rating: very easy, easy, medium, hard, very hard" }, "tool_selection_uniqueness": { "reasoning": "Detailed explanation of tool necessity, sequential dependencies, and alternative tool ,→ viability giving all available tools.", "rating": "Rating: not unique, somewhat unique, moderately unique, quite unique, highly unique" }, "question_quality": { "reasoning": "Detailed explanation covering linguistic quality, information architecture, and ,→ actionability.", "rating": "Rating: very poor, poor, average, good, excellent" }, "scenario_realism": { "reasoning": "Detailed explanation of industry authenticity, workflow accuracy, and stakeholder ,→ behavior.", "rating": "Rating: unrealistic, somewhat unrealistic, moderately realistic, realistic, highly ,→ realistic" },
|
| 156 |
+
|
| 157 |
+
[p. 22 | section: B.4. Task Generation and Filtering | type: Code]
|
| 158 |
+
1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 "verifiability": { "reasoning": "Detailed explanation of answer format, objective criteria, and ground truth ,→ availability.", "rating": "Rating: hard to verify, somewhat hard, moderately verifiable, mostly verifiable, easy to ,→ verify" }, "stability": { "reasoning": "Detailed explanation of temporal/geographical/system dependencies and environmental ,→ factors.", "rating": "Rating: highly unstable, somewhat unstable, moderately stable, mostly stable, highly stable" }, "completeness": { "reasoning": "Detailed explanation of whether all necessary parameters are present.", "rating": "Rating: incomplete, somewhat complete, complete" }, "feedback": "Specific instructions on how to improve the question if it failed any criteria, especially ,→ completeness. Leave empty if all good." } ```
|
| 159 |
+
|
| 160 |
+
[p. 22 | section: B.5. Trajectory Generation and Filtering | type: Text]
|
| 161 |
+
Trajectory Filtering(LLM-as-judge).
|
| 162 |
+
|
| 163 |
+
[p. 22 | section: B.5. Trajectory Generation and Filtering | type: Code]
|
| 164 |
+
1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1208 1209 Deep Researcher ### Task You are given: 1. the user's request (QUESTION_CONTENT) 2. the full conversation history (CONVERSATION_HISTORY), including all assistant turns and any tool ,→ outputs. Your task is to assess whether the assistant has ultimately delivered a usable, end-to-end outcome by the ,→ end of the conversation. Completeness is the ONLY evaluation dimension. Ignore verbosity, writing quality, politeness, and ,→ intermediate mistakes. ### Core Principle At the end of the conversation, if the user stops right there, can they achieve their goal without any ,→ essential follow-up? * If YES -> higher completeness score. * If NO -> you must identify the missing element that prevents success. ### What Counts as "Complete" The assistant is complete only if it satisfies the user's goal end-to-end, which typically requires: * The must-have deliverable is provided (e.g., final answer, file, code patch, plan, table, steps). * If actions depend on tools/files, the assistant either: * successfully uses them and delivers results, or * if blocked (tool failure / missing access), provides a working fallback (clear manual steps, ,→ alternative method, or minimal viable deliverable). * Includes any essential "last-mile" details: paths, commands, file links, or instructions needed to use
|
| 165 |
+
|
| 166 |
+
[p. 23 | section: B.5. Trajectory Generation and Filtering | type: Code]
|
| 167 |
+
1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 ,→ the output. Do NOT reward partial attempts unless the outcome is still usable. ### Rating (1-5) Assign exactly one integer score: 1 – very incomplete: No usable outcome; major must-haves missing. 2 – incomplete: Some progress, but the user still cannot accomplish the goal. 3 – partially complete: Core work attempted; usable only with significant user effort or a key missing ,→ piece. 4 – mostly complete: Meets most must-haves; only minor omissions or small usability issues remain. 5 – fully complete: Fully meets must-haves end-to-end with a usable outcome delivered. ### NEVER Do * NEVER score tool-call accuracy or penalize "wrong tool usage" unless it directly prevents completion. * NEVER judge style/verbosity/formatting elegance. * NEVER give credit for intentions ("I will do X later") unless the deliverable is actually present. * NEVER assume external actions happened without evidence in the transcript. ## Inputs ### Question Content ```json {QUESTION_CONTENT} ``` ### Conversation History ```json {CONVERSATION_HISTORY} ``` ## Output Provide your response in the following JSON format: ```json { "completeness": { "reasoning": "Evaluate if the assistant delivered an end-to-end usable outcome, addressed all ,→ requirements, handled tool failures with alternatives, and provided necessary ,→ confirmations/paths.", "rating": "Rating: very incomplete, incomplete, partially complete, mostly complete, fully complete" } } ```
|
| 168 |
+
|
| 169 |
+
[p. 23 | section: B.6. Unit Test Prompts | type: Code]
|
| 170 |
+
Unit test synthesis You are given: (1) one tool schema (name/description/JSON schema for inputs/outputs). Generate K unit tests that improve parameter coverage, including: - boundary-value inputs,
|
| 171 |
+
|
| 172 |
+
[p. 24 | section: B.6. Unit Test Prompts | type: Code]
|
| 173 |
+
- invalid or missing required fields, 1266 - rare branches implied by the description. 1267 1268 Output a JSON list. Each test: 1269 "test_id": "...", "tool_name": "...", 1270 1271 "inputs": { ... }, 1272 "expected": { "type": "output" | "error", 1273 "value": ..., 1274 "error_type": "..." // optional 1275 1276 "source": "llm_synth" 1277 } 1278 1279 Constraints: - Inputs must be schema-valid for output-type tests. 1280 - For invalid tests, violate exactly one constraint and specify the expected error_type. 1281 - Avoid any dependence on private accounts, API keys, or hidden external state. 1282 1283
|
| 174 |
+
|
| 175 |
+
[p. 24 | section: D.1. Signal-Validation Alignment (SVA) score | type: Text]
|
| 176 |
+
Verification signals. We use three automated verification signals computed from the produced MCP server artifact: (i) Schema-F1 , measuring interface match quality between predicted and reference tool signatures; (ii) UT_{soft} and (iii) UT_{hard} , measuring tool-call verification pass rates under a permissive (soft) versus strict (hard) matching criterion.
|
| 177 |
+
|
| 178 |
+
[p. 24 | section: D.1. Signal-Validation Alignment (SVA) score | type: Text]
|
| 179 |
+
Downstream validation target. For each instance i, we denote the downstream validation value as r_i \in [0, 1] , instantiated in our experiments as the trajectory-level validation rate (soft).
|
| 180 |
+
|
| 181 |
+
[p. 24 | section: D.1. Signal-Validation Alignment (SVA) score | type: Text]
|
| 182 |
+
Definition. Given a verification signal s_i \in [0,1] and downstream validation r_i , we define the Signal-Validation Alignment (SVA) score as
|
| 183 |
+
|
| 184 |
+
[p. 24 | section: D.1. Signal-Validation Alignment (SVA) score | type: Equation]
|
| 185 |
+
SVA(s,r) = \frac{\sum_{i:s_i>0} s_i r_i}{\sum_{i:s_i>0} s_i + |\{i:s_i \le 0\}|}. (17)
|
| 186 |
+
|
| 187 |
+
[p. 24 | section: D.1. Signal-Validation Alignment (SVA) score | type: Text]
|
| 188 |
+
Unlike correlation, SVA evaluates whether high verification-signal values concentrate on instances with high downstream validation, and it additionally penalizes zero-signal cases through the term |\{i: s_i \leq 0\}| , capturing signal coverage (i.e., how often a signal collapses to zero or becomes uninformative). Higher SVA therefore indicates a verification signal that is both more indicative of downstream validation and more consistently defined across instances.
|
| 189 |
+
|
| 190 |
+
[p. 24 | section: E.1. Finetuning Exploration | type: Text]
|
| 191 |
+
We study finetuning on TOOL GENESIS as a simple and reproducible adaptation mechanism.
|
| 192 |
+
|
| 193 |
+
[p. 24 | section: E.1. Finetuning Exploration | type: Text]
|
| 194 |
+
Data construction. We construct an executable supervision signal by collecting successful tool-creation trajectories from a held-out pool of MCP servers. Concretely, we run our Code-Agent pipeline (generate-execute-repair) with DeepSeek-V3.2 as the backbone model and synthesize approximately 1,000 tool-creation trajectories. Each trajectory records the requirement, the generated MCP tool registry (schema), the materialized implementation artifact (server code), and optional execution/verification feedback produced during the loop (e.g., launch errors and unit-test summaries). We then apply strict filtering to retain only high-quality instances whose final artifacts are (i) MCP-compliant and parseable, (ii) executable under our sandbox, and (iii) verifiable by our automated checks (unit tests when available). We further remove trajectories
|
| 195 |
+
|
| 196 |
+
[p. 25 | section: E.1. Finetuning Exploration | type: Text]
|
| 197 |
+
that require external credentials or unstable external state, and drop samples with malformed registries, non-deterministic outcomes, or excessively long logs. After filtering, we retain 500 high-quality trajectories as our finetuning training set. Unless otherwise stated, training and evaluation are server-disjoint to avoid leakage.
|
| 198 |
+
|
| 199 |
+
[p. 25 | section: E.1. Finetuning Exploration | type: Text]
|
| 200 |
+
Functioning (supervision formatting). We convert each retained trajectory into instruction–response examples aligned with the TI+TM lifecycle. Specifically, we include: (i) Direct examples mapping a requirement to a single-pass output (schema plus implementation), and (ii) Repair examples unrolled from the generate–execute–repair loop, where the input additionally contains truncated executable feedback and the target is a corrected patch or revised implementation. Each repair iteration is treated as an independent example, enabling the model to learn bug localization and correction conditioned on execution signals.
|
| 201 |
+
|
| 202 |
+
[p. 25 | section: E.1. Finetuning Exploration | type: Text]
|
| 203 |
+
Finetuning configuration. We fine-tune Qwen3-8B on the curated finetuning set using teacher-forcing maximum likelihood. We train for 3 epochs and keep the rest of the evaluation pipeline unchanged (prompting, decoding, tool-call parsing, runtime sandbox, and verification), ensuring an apples-to-apples comparison. We use AdamW with cosine learning-rate scheduling and warmup, gradient clipping, and mixed-precision training. The learning rate is selected within 1e-5–5e-5 on a server-disjoint development split; in our runs, the best checkpoint typically uses a learning rate around 2e-5. Unless otherwise specified, we use a max sequence length of 4k–8k tokens with packing, and gradient accumulation to match the target effective batch size under fixed hardware constraints. We report the best checkpoint on the development split and evaluate on held-out test servers.
|
| 204 |
+
|
| 205 |
+
[p. 25 | section: E.1. Finetuning Exploration | type: Text]
|
| 206 |
+
Results. Finetuning on TOOL GENESIS leads to better performance. Table 6 shows that finetuning yields consistent gains across evaluation layers, demonstrating that TOOL GENESIS can serve not only as an evaluation benchmark but also as an effective training signal for tool creation. Under the Direct setting, finetuning improves one-shot schema generation quality and increases downstream task success, suggesting that finetuning internalizes MCP-compliant interface patterns and reduces schema-level failures in single-pass TI+TM. Under the Code-Agent setting, finetuning further strengthens closed-loop repair: the fine-tuned model more reliably fixes execution-triggered implementation bugs, increasing unit-test pass rates (UT) and improving task success (SR). Overall, finetuning primarily strengthens one-shot generation under Direct, while under Code-Agent it improves bug localization and correction, translating executable feedback into measurable downstream utility.
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/assets.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"filename": "_page_0_Figure_18.jpeg",
|
| 4 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/marker_markdown/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/_page_0_Figure_18.jpeg",
|
| 5 |
+
"bytes": 98301,
|
| 6 |
+
"width": 661,
|
| 7 |
+
"height": 609,
|
| 8 |
+
"aspect_ratio": 1.0853858784893267,
|
| 9 |
+
"keep": true,
|
| 10 |
+
"reject_reason": null,
|
| 11 |
+
"model_path": "assets/_page_0_Figure_18.jpeg"
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"filename": "_page_13_Figure_1.jpeg",
|
| 15 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/marker_markdown/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/_page_13_Figure_1.jpeg",
|
| 16 |
+
"bytes": 46424,
|
| 17 |
+
"width": 1325,
|
| 18 |
+
"height": 345,
|
| 19 |
+
"aspect_ratio": 3.8405797101449277,
|
| 20 |
+
"keep": true,
|
| 21 |
+
"reject_reason": null,
|
| 22 |
+
"model_path": "assets/_page_13_Figure_1.jpeg"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"filename": "_page_2_Figure_1.jpeg",
|
| 26 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/marker_markdown/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/_page_2_Figure_1.jpeg",
|
| 27 |
+
"bytes": 156263,
|
| 28 |
+
"width": 1350,
|
| 29 |
+
"height": 596,
|
| 30 |
+
"aspect_ratio": 2.2651006711409396,
|
| 31 |
+
"keep": true,
|
| 32 |
+
"reject_reason": null,
|
| 33 |
+
"model_path": "assets/_page_2_Figure_1.jpeg"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"filename": "_page_3_Figure_8.jpeg",
|
| 37 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/marker_markdown/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/_page_3_Figure_8.jpeg",
|
| 38 |
+
"bytes": 24650,
|
| 39 |
+
"width": 659,
|
| 40 |
+
"height": 415,
|
| 41 |
+
"aspect_ratio": 1.5879518072289156,
|
| 42 |
+
"keep": true,
|
| 43 |
+
"reject_reason": null,
|
| 44 |
+
"model_path": "assets/_page_3_Figure_8.jpeg"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"filename": "_page_6_Figure_1.jpeg",
|
| 48 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/marker_markdown/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/_page_6_Figure_1.jpeg",
|
| 49 |
+
"bytes": 76545,
|
| 50 |
+
"width": 1279,
|
| 51 |
+
"height": 427,
|
| 52 |
+
"aspect_ratio": 2.9953161592505855,
|
| 53 |
+
"keep": true,
|
| 54 |
+
"reject_reason": null,
|
| 55 |
+
"model_path": "assets/_page_6_Figure_1.jpeg"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"filename": "_page_6_Figure_8.jpeg",
|
| 59 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/marker_markdown/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/_page_6_Figure_8.jpeg",
|
| 60 |
+
"bytes": 32416,
|
| 61 |
+
"width": 663,
|
| 62 |
+
"height": 361,
|
| 63 |
+
"aspect_ratio": 1.8365650969529086,
|
| 64 |
+
"keep": true,
|
| 65 |
+
"reject_reason": null,
|
| 66 |
+
"model_path": "assets/_page_6_Figure_8.jpeg"
|
| 67 |
+
}
|
| 68 |
+
]
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/assets/_page_0_Figure_18.jpeg
ADDED
|
Git LFS Details
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/assets/_page_13_Figure_1.jpeg
ADDED
|
Git LFS Details
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/assets/_page_2_Figure_1.jpeg
ADDED
|
Git LFS Details
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/assets/_page_3_Figure_8.jpeg
ADDED
|
Git LFS Details
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/assets/_page_6_Figure_1.jpeg
ADDED
|
Git LFS Details
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/assets/_page_6_Figure_8.jpeg
ADDED
|
Git LFS Details
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/chunks_v3_anonymized.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/dataset_meta.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0",
|
| 3 |
+
"pipeline": "Paper2Markdown-V3",
|
| 4 |
+
"ok": true,
|
| 5 |
+
"page_count": 25,
|
| 6 |
+
"chunk_count": 137,
|
| 7 |
+
"main_body_chunk_count": 62,
|
| 8 |
+
"appendix_chunk_count": 69,
|
| 9 |
+
"reference_chunk_count": 6,
|
| 10 |
+
"model_text_chars": 38054,
|
| 11 |
+
"raw_markdown_chars": 99874,
|
| 12 |
+
"sanitized_chars": 84120,
|
| 13 |
+
"page_provenance": {
|
| 14 |
+
"min_page": 1,
|
| 15 |
+
"max_page": 25,
|
| 16 |
+
"invalid_count": 0
|
| 17 |
+
},
|
| 18 |
+
"marker_block_type_counts": {
|
| 19 |
+
"Code": 15,
|
| 20 |
+
"Equation": 17,
|
| 21 |
+
"FigureGroup": 6,
|
| 22 |
+
"Footnote": 1,
|
| 23 |
+
"ListGroup": 7,
|
| 24 |
+
"PageFooter": 25,
|
| 25 |
+
"PageHeader": 26,
|
| 26 |
+
"SectionHeader": 47,
|
| 27 |
+
"Table": 3,
|
| 28 |
+
"TableGroup": 3,
|
| 29 |
+
"Text": 292
|
| 30 |
+
},
|
| 31 |
+
"asset_count_raw": 6,
|
| 32 |
+
"asset_count_model_kept": 6,
|
| 33 |
+
"asset_count_rejected": 0,
|
| 34 |
+
"asset_reject_reasons": {
|
| 35 |
+
"kept": 6
|
| 36 |
+
},
|
| 37 |
+
"artifact_leak_audit": {
|
| 38 |
+
"ok": true,
|
| 39 |
+
"hits": {
|
| 40 |
+
"Anonymous Authors": [],
|
| 41 |
+
"ACKNOWLEDGMENT": [],
|
| 42 |
+
"OpenReview": [],
|
| 43 |
+
"\"accept_label\"": [],
|
| 44 |
+
"\"decision\"": [],
|
| 45 |
+
"\"decision_tier\"": [],
|
| 46 |
+
"\"source_status\"": [],
|
| 47 |
+
"Meta-review": [],
|
| 48 |
+
"Official Review": [],
|
| 49 |
+
"official_reviews": [],
|
| 50 |
+
"meta_reviews": [],
|
| 51 |
+
"suggested_verdict_score": []
|
| 52 |
+
},
|
| 53 |
+
"artifact_count": 2
|
| 54 |
+
},
|
| 55 |
+
"default_model_input": "model_text_v3.txt",
|
| 56 |
+
"appendix_input": "appendix_text_v3.txt",
|
| 57 |
+
"reference_input": "reference_text_v3.txt",
|
| 58 |
+
"source": "koala_icml26_due_queue",
|
| 59 |
+
"run_name": "icml26_20260429_1952_duequeue"
|
| 60 |
+
}
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/main_body_chunks.jsonl
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0000", "section": "Abstract", "page_start": 1, "page_end": 1, "type": "Text", "text": "Research on self-evolving language agents progresses, increasing attention has focused on their ability to create, adapt, and maintain tools from task requirements.However, existing benchmarks predominantly rely on pre-defined specifications, which limits scalability and hinders true autonomous evolution. While recent studies attempt to dynamically generate tools, they primarily focus on downstream performance, creating a \"black box\" evaluation that makes it difficult to accurately attribute the causes of failure.To address this, we propose Tool-Genesis, a diagnostic benchmark designed to quantify agent capabilities across multiple dimensions—from interface compliance and functional correctness to downstream utility. It evaluates the ability of agents to construct task-relevant tools solely from abstract requirements (without pre-set specifications) and solve realistic problems.Crucially, we find that even state-of-the-art models struggle to construct precise tool interfaces or executable logic in a one-shot setting. These minor initial flaws are amplified through the pipeline, leading to a precipitous drop in downstream metrics. We hope this benchmark will guide future research toward steering models to synthesize persistent, general-purpose tools capable of addressing broader real-world challenges.Project page:", "source": "marker_v2", "marker_block_id": "/page/0/Text/13"}
|
| 2 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0001", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "Prior work has established a \"reason–call–execute\" paradigm, typically assuming reliable tool interfaces and schemas, where tools are treated as callable functions with well-defined inputs/outputs and stable semantics.(e.g.,", "source": "marker_v2", "marker_block_id": "/page/0/Text/15"}
|
| 3 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0002", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "FigureGroup", "text": "Figure 1. Comparison of tool creation paradigms: (a) Outcome-Driven: Ad-hoc solving with disposable scripts; (b) Code-Centric: Spec-based translation with limited safety; (c) Tool-Genesis(Ours): Inductive design for verified, reusable assets.", "source": "marker_v2", "marker_block_id": "/page/0/FigureGroup/619"}
|
| 4 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0003", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "(Karpas et al., 2022; Yao et al., 2023; Schick et al., 2023) ), with benchmarks further standardizing the evaluation (e.g., (Patil et al., 2023; Qin et al., 2023a; Li et al., 2023; Anony mous, 2023; Guo et al., 2024; Berkeley Function Call ing Leaderboard (BFCL) Team, 2024; Wang et al., 2024a; Huang et al., 2024; Zhang et al., 2025c; Shi et al., 2024; Wang et al., 2024b) ). In this paradigm, tool use is largely reduced to selecting an API, filling arguments, and executing calls under a fixed contract, while success is measured by answer correctness or call-level validity. In realistic deployments, however, this assumption often breaks due to missing specifications, evolving APIs, uncovered long-tail needs, or execution failures caused by bugs. Even small interface ambiguities (e.g., optional fields, implicit constraints, undocumented edge cases) can cascade into repeated execution errors and brittle agent behaviors, especially when the task requires multi-step composition across tools. As a result, agents must evolve from merely using tools to creating , adapting , and repairing tools from abstract requirements, and to distilling reusable pipelines into maintainable tool assets—a core mechanism of self-evolving language agents", "source": "marker_v2", "marker_block_id": "/page/0/Text/20"}
|
| 5 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0004", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "TableGroup", "text": "Benchmark Scale (Reported) I. Artifacts Required II. Verification Signals Tool Sets Avg Tools # Domains No Doc Schema Gen Reuse Tool Toolset (≥ 2) Held-out UnitTests Neg Tests GT Tools CREATOR (Qian et al., 2023b) 2K 1 9 ✗ ✗ ✓ ✓ ✗ ✗ ✗ LATM (Cai et al., 2024) 6 1 6 ✓ ✗ ✗ ✗ ✗ ✗ ✗ CRAFT (Yuan et al., 2024) 150 3 3 ✗ ✗ ✓ ✓ ✗ ✗ ✗ TM-Bench (Wölflein et al., 2025) 15 1 4 ✓ ✗ ✓ ✗ ✓ ✗ ✗ SciEvo (Zhang et al., 2025a) 925 6 25 ✓ ✗ ✓ ✗ ✓ ✗ ✗ TOOL-GENESIS (Ours) 86 6 24 ✓ ✓ ✓ ✓ ✓ ✓ ✓ Table 1. Feature-wise comparison of representative tool-creation benchmarks under a strict binary rubric. Held-out UnitTests indicates tests/invocations are not available during tool creation and used strictly for evaluation (e.g., TM-Bench).", "source": "marker_v2", "marker_block_id": "/page/1/TableGroup/674"}
|
| 6 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0005", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "that improve over long-horizon task distributions (Wu et al., 2024; Tan et al., 2024) .", "source": "marker_v2", "marker_block_id": "/page/1/Text/4"}
|
| 7 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0006", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "Despite steady progress, when the goal is to evaluate this self-evolving capability along the tool dimension under deployment-like constraints, existing benchmarks exhibit three practical disconnects. First, most evaluations remain spec-first: they assume that interfaces or schemas are directly available, or implicitly rely on high-quality reference specifications. This emphasizes correctness under predefined contracts, while the end-to-end capability of inferring interface contracts from requirements and producing machine-checkable schemas is not systematically measured. Second, regarding tool organization, many settings primarily evaluate the scale or diversity of tool collections rather than the construction of a scenario-closed toolbox. They often overlook the agent's ability to distill capabilities into a cohesive, maintainable toolset that covers key sub-processes of a specific real-world scenario (e.g., Yuan et al., 2024; Wang et al., 2024c; Zhao et al., 2025; Huang et al., 2025; Qian et al., 2024) . Third, and most critically, evaluation signals are often outcome-centric, creating a \"black box\" dilemma. Benchmarks frequently rely on final answers or coarse call-level checks. Even when unit tests are used, their coverage and attribution granularity vary widely. This makes it difficult to disentangle whether a failure stems from defective tool construction (e.g., invalid schemas, logic bugs) or suboptimal tool utilization strategies, obscuring the specific stage where the error occurred (e.g., Zhang et al., 2025b; Wölflein et al., 2025; Guo et al., 2024; Anonymous, 2024; Lu et al., 2024) .", "source": "marker_v2", "marker_block_id": "/page/1/Text/5"}
|
| 8 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0007", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "To address these deployment-facing gaps, we introduce Tool-Genesis, a diagnostic benchmark designed to decouple tool generation from tool utilization. Unlike spec-first settings, Tool-Genesis evaluates agents under missing or underspecified interfaces, requiring them to infer contracts from abstract requirements, generate machine-checkable schemas, and produce executable implementations that satisfy criteria for reuse and maintenance. Crucially, our protocol serves as a diagnostic probe: it reveals that even state-ofthe-art models struggle to construct precise tool interfaces", "source": "marker_v2", "marker_block_id": "/page/1/Text/6"}
|
| 9 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0008", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "or logic in a one-shot setting. These minor initial flaws are amplified through the pipeline, leading to precipitous drops in downstream metrics. By shifting the target from one-off scripts to reusable tool assets, Tool-Genesis evaluates whether agents can continuously distill capabilities to cover a scenario's task distribution. Finally, we provide a unified, full-lifecycle evaluation protocol that jointly measures compliance, server executability, schema consistency, and functional validation (via explicit negative/boundary tests). We also introduce an oracle-normalized upper bound to quantify the utility gap between generated tool assets and reference tools.", "source": "marker_v2", "marker_block_id": "/page/1/Text/7"}
|
| 10 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0009", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "ListGroup", "text": "Benchmark setting. We formalize a requirement-driven tool-creation setting that elevates toolsets as reusable assets. It evaluates creation under missing specifications, focusing on the agent's ability to infer schemas and implement executable logic from abstract requirements. Diagnostic evaluation protocol. We provide a fulllifecycle, execution-grounded protocol designed to disentangle failure causes. By incorporating multi-level signals—including compliance, schema fidelity, and explicit negative/boundary unit tests—we enable precise attribution of errors to either tool quality or usage strategy, addressing the \"black box\" issue. Oracle-normalized utility gap. We introduce an oraclenormalized upper-bound comparison to quantify the utility gap between generated tool assets and reference tools under the same task distribution, providing a clearer measure of practical self-evolution capability.", "source": "marker_v2", "marker_block_id": "/page/1/ListGroup/675"}
|
| 11 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0010", "section": "2.1. Task Definition", "page_start": 2, "page_end": 2, "type": "Text", "text": "We formalize TOOL GENESIS as a conditional generation problem over Model Context Protocol (MCP) interfaces. Let X denote the natural-language task description, S the space of valid MCP interface schemas, and E the space of", "source": "marker_v2", "marker_block_id": "/page/1/Text/13"}
|
| 12 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0011", "section": "2.1. Task Definition", "page_start": 3, "page_end": 3, "type": "FigureGroup", "text": "Figure 2. Dataset construction pipeline of TOOL GENESIS.", "source": "marker_v2", "marker_block_id": "/page/2/FigureGroup/759"}
|
| 13 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0012", "section": "2.1. Task Definition", "page_start": 3, "page_end": 3, "type": "Text", "text": "executable server implementations. An MCP schema s ∈ S is represented as an ordered list of atomic tool definitions, s = [t1, . . . , tK], where each tool t k = ⟨ηk, ϕk, δk⟩ consists of a unique invocation identifier ηk, a parameter interface ϕ k specified by a JSON-schema-like typed signature with constraints, and a natural-language description δ k grounding its intended semantics and usage.", "source": "marker_v2", "marker_block_id": "/page/2/Text/3"}
|
| 14 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0013", "section": "2.1. Task Definition", "page_start": 3, "page_end": 3, "type": "Text", "text": "We decompose the tool creation process into two coupled prediction phases: Tool Interface Prediction and Tool Materialization. Formally, the joint probability of producing a schema s and an implementation e given requirement x is factorized as:", "source": "marker_v2", "marker_block_id": "/page/2/Text/4"}
|
| 15 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0014", "section": "2.1. Task Definition", "page_start": 3, "page_end": 3, "type": "Equation", "text": "P_{\\theta}(s, e \\mid x) = \\underbrace{P_{\\theta}(s \\mid x)}_{\\text{Interface Prediction}} \\cdot \\underbrace{P_{\\theta}(e \\mid s)}_{\\text{Materialization}}. \\tag{1}", "source": "marker_v2", "marker_block_id": "/page/2/Equation/5"}
|
| 16 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0015", "section": "2.1. Task Definition", "page_start": 3, "page_end": 3, "type": "Text", "text": "In the first phase, the model predicts an interface schema sˆ = arg maxs∈S Pθ(s | x), specifying the structured tool signatures. In the second phase, conditioned on a schema scond, the model materializes an executable server implementation via eˆ = arg maxe∈E Pθ(e | scond). We evaluate this materialization under two settings: Oracle Materializa tion , where scond = s ∗ (ground truth) to isolate engineering capability, and Cascaded Materialization , where scond = ˆs (predicted schema) to assess end-to-end performance.", "source": "marker_v2", "marker_block_id": "/page/2/Text/6"}
|
| 17 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0016", "section": "2.2. Metrics", "page_start": 3, "page_end": 3, "type": "Text", "text": "We evaluate tool creation with a four-level metric suite (Appendix A) : (i) Level 1 (Surface Compliance) reports Compliance Rate and Server Execution Rate. Compliance Rate measures whether list_tools returns a parseable, MCPcompliant registry, while Server Execution Rate measures whether the server launches and remains responsive under fixed timeouts. (ii) Level 2 (Semantic Interface Fidelity)", "source": "marker_v2", "marker_block_id": "/page/2/Text/8"}
|
| 18 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0017", "section": "2.2. Metrics", "page_start": 3, "page_end": 3, "type": "Text", "text": "reports Schema-F1, quantifying schema-level fidelity by aligning predicted and reference tools via bipartite matching and computing an F1 score over tool interfaces. (iii) Level 3 (Functional Correctness) reports UTsoft and UThard, which measure the fraction of tools passing predefined Unit Tests under relaxed and strict (boundary/negative) criteria, respectively. (iv) Level 4 (Downstream Task Utility) assesses the end-to-end practical efficacy by employing a fixed proxy agent (qwen3-14b-instruct) to solve benchmark tasks equipped with the generated tools. To rigorously isolate tool quality from solver capability, we conduct a parallel control experiment using ground-truth reference tools, with all final outcomes evaluated by an LLM-as-a-Judge. This comparative setup allows us to report an Oracle-Normalized Success Rate (SR), which quantifies the utility of the synthesized tools relative to the upper-bound performance achieved by the optimal reference implementation under the same experimental conditions.", "source": "marker_v2", "marker_block_id": "/page/2/Text/9"}
|
| 19 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0018", "section": "3. Dataset Construction", "page_start": 3, "page_end": 3, "type": "Text", "text": "This section describes the dataset construction pipeline of TOOL GENESIS. It covers Compliant MCP-server Data Collection ( §3.1) , High-Quality Task & Trajectory Genera tion ( §3.2) , Comprehensive Unit Test Generation ( §3.3) , and Manual Quality Inspection ( §3.4) . The overall procedure is illustrated in Figure 2. Detailed prompts, rubrics, thresholds, and implementation specifics are provided in Appendix B.", "source": "marker_v2", "marker_block_id": "/page/2/Text/11"}
|
| 20 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0019", "section": "3.1. Compliant MCP-server Data Collection", "page_start": 3, "page_end": 3, "type": "Text", "text": "MCP Crawling: We collect MCP servers from web sources: (i) MCP aggregators (GLMA, Smithery), (ii) GitHub search and curated lists, and (iii) HuggingFace (e.g., Toucan) in", "source": "marker_v2", "marker_block_id": "/page/2/Text/13"}
|
| 21 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0020", "section": "3.1. Compliant MCP-server Data Collection", "page_start": 4, "page_end": 4, "type": "Text", "text": "Aug–Sep 2025. We keep source links and server metadata (server_name, description), without mirroring repositories. We obtain tool registries by launching servers and calling list_tools, falling back to static registries/specifications when needed. Schemas are normalized using server_name and tool_name as server/tool IDs.", "source": "marker_v2", "marker_block_id": "/page/3/Text/1"}
|
| 22 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0021", "section": "3.1. Compliant MCP-server Data Collection", "page_start": 4, "page_end": 4, "type": "Text", "text": "MCP-server Filtering. We apply a four-stage filtering pipeline to construct a high-quality MCP-server dataset. (i) Structure Validation enforces that each server exposes a parseable tool registry with well-formed tool names, descriptions, and input schemas. (ii) Executable Validation removes servers that cannot be reliably launched or invoked in a sandboxed environment. (iii) Deduplication & Clustering reduces redundancy by grouping servers with similar schema-level interfaces and retaining a single representative per group. (iv) LLM Semantic Validation filters servers that require external credentials or exhibit high sandbox requirements, ensuring safe and self-contained execution. The remaining servers form the MCP-server Dataset Dsrv (86 servers).", "source": "marker_v2", "marker_block_id": "/page/3/Text/2"}
|
| 23 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0022", "section": "3.2. High-Quality Task & Trajectory Generation", "page_start": 4, "page_end": 4, "type": "Text", "text": "Task generation and filtering. We follow a Toucan-style LLM-driven pipeline (Xu et al., 2025) to synthesize tasks. For each server, an LLM is prompted with tool schemas (and docs, if any) to generate tasks, expanded along breadth (distinct scenarios and tool subsets) and depth (multi-step tasks with more tool calls).To ensure high data diversity, we further employ a rejection sampling strategy that penalizes redundant tool combinations, forcing the LLM to explore edge cases and rare parameter configurations. An LLM-as-judge scores candidates on a fixed 1–5 Likert rubric (quality, realism, verifiability, stability) and assesses solv ability ; we retain only tasks with all dimensions > 3 and solvable=true.", "source": "marker_v2", "marker_block_id": "/page/3/Text/4"}
|
| 24 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0023", "section": "3.2. High-Quality Task & Trajectory Generation", "page_start": 4, "page_end": 4, "type": "Text", "text": "Trajectory generation and filtering. For each retained task, we generate execution trajectories by running an agent in a sandbox(to support servers requiring network access).This sandbox execution ensures that each trajectory is grounded in real-time tool feedback, allowing us to filter out \"hallucinated\" successful executions that do not reflect actual API behaviors. We apply lightweight rule-based checks (parseable calls, valid responses) and employ LLM-as-ajudge to verify consistency and completion and penalize redundancy; we retain trajectories with completion and conciseness > 3 and complete=true, with solvability and completion judged by the LLM.", "source": "marker_v2", "marker_block_id": "/page/3/Text/5"}
|
| 25 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0024", "section": "3.3. Comprehensive Unit Test Generation", "page_start": 4, "page_end": 4, "type": "Text", "text": "Unit test generation. We extract unit tests from Dtraj by converting replayable tool-call steps (executable in the sandbox) into a unified format (tool_name, inputs, expected", "source": "marker_v2", "marker_block_id": "/page/3/Text/7"}
|
| 26 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0025", "section": "3.3. Comprehensive Unit Test Generation", "page_start": 4, "page_end": 4, "type": "FigureGroup", "text": "Figure 3. Comparison of benchmarks in terms of task reasoning depth and tool compositionality.", "source": "marker_v2", "marker_block_id": "/page/3/FigureGroup/592"}
|
| 27 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0026", "section": "3.3. Comprehensive Unit Test Generation", "page_start": 4, "page_end": 4, "type": "Text", "text": "outputs), retaining up to 100 tests per server for coverage. When extraction provides insufficient coverage for a tool, we synthesize additional tests with an LLM conditioned on the tool schema, targeting diverse valid calls.", "source": "marker_v2", "marker_block_id": "/page/3/Text/10"}
|
| 28 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0027", "section": "3.3. Comprehensive Unit Test Generation", "page_start": 4, "page_end": 4, "type": "Text", "text": "Unit test filtering. We apply two post-filters for quality and deduplication. (i) Parameter-based filtering removes tests with invalid inputs, type errors, or disallowed dependencies. (ii) We cluster tests per tool to merge near-duplicates and keep representatives, embedding normalized (input, output) pairs and merging those with cosine similarity ≥ 0.9.", "source": "marker_v2", "marker_block_id": "/page/3/Text/11"}
|
| 29 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0028", "section": "3.4. Manual Quality Inspection", "page_start": 4, "page_end": 4, "type": "Text", "text": "Manual Annotation: (i) MCP-server Data Consistency Check—verify schema/version consistency, stable unique IDs, split integrity, and formatting rules; (ii) Task Tool Functionality Match—confirm that referenced tools exist in the registry, required arguments are schema-compatible, and the task intent aligns with documented tool functionality; (iii) Trajectory Validity Check—ensure trajectories satisfy task constraints with coherent ordering, contain no malformed tool calls, and have no forbidden dependencies; (iv) Unit Test Coverage Check—check that tests cover diverse tools and parameter regimes, meet per-server coverage targets, and avoid redundancy.", "source": "marker_v2", "marker_block_id": "/page/3/Text/13"}
|
| 30 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0029", "section": "3.4. Manual Quality Inspection", "page_start": 4, "page_end": 4, "type": "Text", "text": "Manual Review. All instances are manually re-checked by graduate-level reviewers (3 annotators over two weeks) in multiple passes. Reviewers conduct both instance-level inspection (task statement, referenced tools, trajectories, and unit tests) and cross-file consistency checks (registry ↔ task ↔ trajectory ↔ tests), correcting minor issues when possible and removing samples that violate any requirement. In particular, they (a) verify that each task is solvable using only the declared toolset and does not rely on hidden assumptions; (b) validate that every tool call conforms to the declared schema (argument names/types, required fields, and return usage); (c) check that trajectories are coherent and free of malformed calls, missing steps, or forbidden ex-", "source": "marker_v2", "marker_block_id": "/page/3/Text/14"}
|
| 31 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0030", "section": "3.4. Manual Quality Inspection", "page_start": 5, "page_end": 5, "type": "Table", "text": "Foundation & Core Tech Data Intelligence & Automation Productivity & Workflow Creative & Digital Life Services & Emerging Fields General & Others Operating System Core software platform AI/ML Tools Intelligent algorithms Daily Productivity Task management Content Creation Media generation Financial Services Banking & finance Web Search & Research Information retrieval Memory Management System resource optimization Data Analysis Insights from data Time & Calendar Scheduling & planning Social Media Networking platforms Health & Fitness Wellness tracking Education Learning resources Database Operations Data storage & management Browser Automation Web task scripting Communication Tools Messaging & collaboration Gaming Interactive entertainment Travel & Maps Navigation & trips Weather Forecast services Security & Authentication Protection & identity Development Tools Software building File Management Organization & storage API Integration Connecting services Crypto & Blockchain Decentralized finance Others Miscellaneous categories", "source": "marker_v2", "marker_block_id": "/page/4/Table/2"}
|
| 32 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0031", "section": "3.4. Manual Quality Inspection", "page_start": 5, "page_end": 5, "type": "TableGroup", "text": "Statistic Number MCP-servers 86 Total Tools 508 Domain classes 24 Label classes 18 Unit test 9441 Total tasks 2150 Average task length 53 Average step length 6 Average tool-using length 3 Figure 4. Overview statistics of TOOL GENESIS. Left: functional domain coverage of MCP servers across 24 domain classes. Right: dataset scale and task/trajectory structure statistics.", "source": "marker_v2", "marker_block_id": "/page/4/TableGroup/756"}
|
| 33 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0032", "section": "3.4. Manual Quality Inspection", "page_start": 5, "page_end": 5, "type": "Text", "text": "ternal dependencies; and (d) inspect unit tests to ensure they include both positive and negative/boundary cases, span representative parameter regimes, and do not leak answers or duplicate existing tests. We retain an instance only when at least two annotators independently agree on accept/reject, and the inter-annotator agreement on accept/reject decisions reaches a Cohen's κ of 0.85 (Landis & Koch, 1977) . Finally, after edits and removals, we perform a final end-to-end recheck on the finalized dataset to ensure each retained instance meets all constraints and yields a coherent tool-use process.", "source": "marker_v2", "marker_block_id": "/page/4/Text/5"}
|
| 34 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0033", "section": "4. Data Analysis", "page_start": 5, "page_end": 5, "type": "Text", "text": "Overall scale. Figure 4 summarizes the scale of TOOL GEN-ESIS. After filtering and manual inspection, the dataset contains 86 executable MCP servers with 508 tools, spanning 24 domain classes. We collect 2,150 tasks and 9,441 unit tests, covering 18 task label classes. These statistics provide a concise overview of the benchmark size across servers, tools, tasks, and tests.", "source": "marker_v2", "marker_block_id": "/page/4/Text/7"}
|
| 35 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0034", "section": "4. Data Analysis", "page_start": 5, "page_end": 5, "type": "Text", "text": "Domain coverage. The retained MCP servers span a diverse set of functional domains. The 24 domain classes are grouped into six high-level categories, covering foundational system tools, data intelligence and automation, productivity and workflow utilities, creative and digital-life applications, service-oriented domains (e.g., finance, health, travel), and general-purpose tools. The distribution includes both commonly used domains and a long tail of more specialized categories.", "source": "marker_v2", "marker_block_id": "/page/4/Text/8"}
|
| 36 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0035", "section": "4. Data Analysis", "page_start": 5, "page_end": 5, "type": "Text", "text": "Execution structure. We further examine the execution structure of task trajectories. Tasks have an average length of 53 tokens, while trajectories involve 6 execution steps on average and invoke 3 distinct tools per task. This indicates that many instances require sequential tool invocation rather than single-step execution. As shown in Figure 3, the", "source": "marker_v2", "marker_block_id": "/page/4/Text/9"}
|
| 37 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0036", "section": "4. Data Analysis", "page_start": 5, "page_end": 5, "type": "Text", "text": "dataset covers task structures ranging from simple singletool interactions to multi-step, multi-tool compositions.", "source": "marker_v2", "marker_block_id": "/page/4/Text/10"}
|
| 38 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0037", "section": "5.1. Experimental Setup", "page_start": 5, "page_end": 5, "type": "Text", "text": "Models. We evaluate a broad suite of frontier and opensource LLMs, covering closed-source families—OpenAI GPT models (gpt-4o, gpt-4.1-mini, gpt-4.1, gpt-5.1; (Ope nAI, 2025) ), Anthropic Claude (claude-sonnet-4; (An thropic, 2025) ), and Google Gemini (gemini-3-flash; (Google DeepMind, 2025) )—as well as open-source families including Qwen3 (4B/8B/14B/30B-A3B/32B/235B-A22B; (Yang et al., 2025) ), DeepSeek (deepseek-v3.2; (DeepSeek-AI et al., 2024) ), and MoonshotAI Kimi (Kimi-K2(-Instruct); (Kimi Team, 2025) ).", "source": "marker_v2", "marker_block_id": "/page/4/Text/13"}
|
| 39 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0038", "section": "5.1. Experimental Setup", "page_start": 5, "page_end": 5, "type": "Text", "text": "Inference Strategy. On top of this model suite, we run a unified evaluation harness with two inference strategies: (i) Direct, which performs single-pass generation of TI and TM outputs; and (ii) Code-Agent, which wraps the same LLM in a ReAct-style agent loop (Yao et al., 2023) . Specifically, Code-Agent follows a \"think → act (tool) → observe\" procedure for up to 10 steps, and can invoke sandboxed execution tools to run and validate generated artifacts.", "source": "marker_v2", "marker_block_id": "/page/4/Text/14"}
|
| 40 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0039", "section": "5.1. Experimental Setup", "page_start": 5, "page_end": 5, "type": "Text", "text": "Implementation Details. All models are queried through their standard chat APIs using a shared prompt template and fixed decoding settings (max tokens = 40,960, temperature = 0, top_p = 1). For Code-Agent, sandboxed execution is performed under fixed resource limits and timeouts to support automated artifact validation and downstream task execution.", "source": "marker_v2", "marker_block_id": "/page/4/Text/15"}
|
| 41 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0040", "section": "5.2. Experimental Results", "page_start": 5, "page_end": 5, "type": "Text", "text": "Several conclusions can be drawn from TableTable 2: (i) Closed-loop repair yields consistent multi-layer gains", "source": "marker_v2", "marker_block_id": "/page/4/Text/17"}
|
| 42 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0041", "section": "5.2. Experimental Results", "page_start": 6, "page_end": 6, "type": "TableGroup", "text": "Model Family Version L1 L2 L3 L4 Compliance ↑ Exec.↑ Schema-F1↑ UTsoft ↑ UThard ↑ SR↑ Direct gpt-4o 0.779 0.209 0.175 0.089 0.049 0.153 gpt-4.1-mini 0.686 0.318 0.293 0.127 0.088 0.199 OpenAI (OpenAI, 2025) gpt-4.1 0.860 0.738 0.675 0.261 0.129 0.330 gpt-5.1 0.826 0.759 0.688 0.281 0.161 0.372 Anthropic (Anthropic, 2025) claude-haiku-3.5 0.744 0.012 0.012 0.007 0.000 0.012 Google (Google DeepMind, 2025) gemini-3-flash-preview 0.872 0.140 0.116 0.084 0.037 0.103 235b-a22b-instruct-2507 0.884 0.333 0.320 0.143 0.108 0.287 32b 0.791 0.282 0.258 0.176 0.078 0.178 30b-a3b-instruct-2507 0.884 0.256 0.250 0.093 0.025 0.218 Qwen3 (Yang et al., 2025) 14b 0.791 0.186 0.175 0.154 0.075 0.128 8b 0.686 0.012 0.011 0.001 0.001 0.012 4b 0.651 0.000 0.000 0.000 0.000 0.000 DeepSeek (DeepSeek-AI et al., 2024) deepseek-v3.2 0.826 0.400 0.365 0.195 0.129 0.224 MoonshotAI (Kimi Team, 2025) Kimi-K2-Instruct 0.860 0.372 0.342 0.144 0.087 0.215 Code-Agent gpt-4o 0.802 0.531 0.456 0.237 0.117 0.226 gpt-4.1-mini 0.651 0.906 0.640 0.278 0.144 0.344 OpenAI (OpenAI, 2025) gpt-4.1 0.884 0.756 0.691 0.288 0.145 0.433 gpt-5.1 0.895 0.941 0.867 0.421 0.246 0.604 Anthropic (Anthropic, 2025) claude-haiku-3.5 0.733 0.964 0.821 0.342 0.180 0.472 Google (Google DeepMind, 2025) gemini-3-flash-preview 0.849 0.977 0.912 0.448 0.255 0.581 Qwen3 (Yang et al., 2025) 235b-a22b-instruct-2507 0.686 0.971 0.722 0.363 0.212 0.472 32b 0.860 0.892 0.801 0.317 0.179 0.495 30b-a3b-instruct-2507 0.744 0.913 0.694 0.336 0.187 0.410 14b 0.686 0.807 0.707 0.316 0.178 0.453 8b 0.767 0.694 0.646 0.243 0.121 0.332 4b 0.651 0.326 0.285 0.127 0.058 0.181 DeepSeek (DeepSeek-AI et al., 2024) deepseek-v3.2 0.872 0.744 0.702 0.330 0.195 0.449 MoonshotAI (Kimi Team, 2025) Kimi-K2 0.872 0.976 0.898 0.389 0.235 0.585 Table 2. Main results under two evaluation paradigms (Direct and Code-Agent) updated with the latest metrics. Metrics follow our four-level evaluation: L1 surface compliance (Compliance, Server Execution), L2 semantic interface fidelity (Schema-F1), L3 functional correctness via unit tests (UTsoft, UThard), and L4 downstream task utility (Task Success Rate, SR).", "source": "marker_v2", "marker_block_id": "/page/5/TableGroup/558"}
|
| 43 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0042", "section": "5.2. Experimental Results", "page_start": 6, "page_end": 6, "type": "Text", "text": "and can produce step-changes in end-to-end utility. Across most model families, Code-Agent improves functional correctness and task success beyond surface executability and schema fidelity. For Gemini-3-Flash, EXEC. increases from 0.140 to 0.977, Schema-F1 from 0.116 to 0.912, and UThard from 0.129 to 0.726, resulting in a large SRsoft jump (0.103 → 0.581). A similar effect is observed for Qwen3-235B (SRsoft: 0.193 → 0.622), indicating that execution feedback is effectively translated into verifiable correctness and downstream utility.(ii) High compliance and plausible schemas are necessary but insufficient, revealing a utility-conversion bottleneck. Strong upstream signals (L1/L2) do not guarantee downstream success (L4). Under Direct , Qwen3-32B achieves high EXEC. (0.938) and Schema-F1 (0.880), yet SRsoft remains 0.535. Conversely, when schema fidelity degrades (e.g., gpt-4.1 under Direct ), downstream utility collapses accordingly. These gaps sug-", "source": "marker_v2", "marker_block_id": "/page/5/Text/4"}
|
| 44 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0043", "section": "5.2. Experimental Results", "page_start": 6, "page_end": 6, "type": "Text", "text": "gest that failures increasingly arise from implementation robustness, boundary handling, and state discipline that are only exposed through execution.(iii) Repair benefits are scale-dependent and can reorder models within a family. Under Code-Agent , larger models achieve higher downstream utility (e.g., Qwen3 SRsoft: 0.336 for 4B vs. 0.622 for 235B). Notably, model rankings can flip across strategies: Qwen3-32B outperforms 235B under Direct , while 235B overtakes under Code-Agent . This indicates that closed-loop tool creation relies on an additional capability—the ability to exploit execution feedback for targeted repair—that is not captured by single-pass generation alone.", "source": "marker_v2", "marker_block_id": "/page/5/Text/5"}
|
| 45 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0044", "section": "6. Analysis", "page_start": 6, "page_end": 6, "type": "Text", "text": "Beyond aggregate success rates, we analyze tool creation along three axes that align with our lifecycle evaluation.", "source": "marker_v2", "marker_block_id": "/page/5/Text/7"}
|
| 46 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0045", "section": "6. Analysis", "page_start": 7, "page_end": 7, "type": "FigureGroup", "text": "Figure 5. Direct prompting vs. code-agent repair on Qwen3 scales: (a) Signal–Validation Alignment (SVA) of Schema-F1 and UT (soft/hard); (b) stage-wise cumulative pass-through across verification stages (Start, L1–L4) for selected scales, with solid/dashed lines denoting the two paradigms.", "source": "marker_v2", "marker_block_id": "/page/6/FigureGroup/406"}
|
| 47 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0046", "section": "6. Analysis", "page_start": 7, "page_end": 7, "type": "Text", "text": "(i) We measure whether intermediate verification signals are predictive of downstream trajectory validation, and how closed-loop repair changes this predictiveness across model scales (Sec. 6.1). (ii) We localize where failures concentrate along the verification cascade by reporting stage-wise cumulative pass-through from Start to L1–L4, contrasting Direct prompting with Code-Agent repair and identifying the dominant attrition stages (Sec. 6.2). (iii) We move from inference-time interventions to capability internalization via finetuning, and examine how training reshapes one-shot synthesis under Direct and patch effectiveness under Code-Agent (Sec. 6.3).", "source": "marker_v2", "marker_block_id": "/page/6/Text/3"}
|
| 48 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0047", "section": "6.1. Signal-validation alignment under closed-loop", "page_start": 7, "page_end": 7, "type": "Text", "text": "Figure 5(a) quantifies how indicative verification signals are of downstream trajectory validation via a Signal–Validation Alignment (SVA) score (App. D.1). Under direct prompting, SVA remains low across scales: even at Qwen3-235B, Schema SVA is 0.19 and UT<sub>hard</sub> is 0.14, while Qwen3-8B collapses toward zero (Schema \\approx 0.01 , UT<sub>hard</sub> \\approx 0.00 ). Without execution feedback, interface- and verification-level metrics are weak proxies for downstream utility; with closed-loop repair, signal–validation alignment strengthens substantially. At Qwen3-235B, SVA reaches 0.58, and the improvement is stage-wise with a threshold around 8B \\rightarrow 14B: Schema increases from 0.32 to 0.51, and UT<sub>hard</sub> from 0.26 to 0.48.", "source": "marker_v2", "marker_block_id": "/page/6/Text/5"}
|
| 49 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0048", "section": "6.2. Pass-through along the verification cascade", "page_start": 7, "page_end": 7, "type": "Text", "text": "Figure 5(b) reports the cumulative pass-through (in %) across Start and L1–L4. Under direct prompting, Qwen3-8B drops to 1.11% at L1 and \\approx 0.12\\% by L2–L4; for Qwen3-14B/32B/235B, pass-through is 17.52/24.84/31.60% at L1 and 3.99/5.44/9.47% at L4. Closed-loop repair lifts early-stage pass-through (L1: 65.34%, 84.06%, 83.02%, 91.36% for 8B/14B/32B/235B) and improves late-stage retention", "source": "marker_v2", "marker_block_id": "/page/6/Text/7"}
|
| 50 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0049", "section": "6.2. Pass-through along the verification cascade", "page_start": 7, "page_end": 7, "type": "FigureGroup", "text": "Figure 6. Base vs. fine-tuned performance under Direct and Code-Agent evaluation, summarized across our four-layer metric suite (L1–L4).", "source": "marker_v2", "marker_block_id": "/page/6/FigureGroup/407"}
|
| 51 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0050", "section": "6.2. Pass-through along the verification cascade", "page_start": 7, "page_end": 7, "type": "Text", "text": "(L4: 8.85%, 7.97%, 15.69%, 30.01%), vs. 0.12%, 3.99%, 5.44%, and 9.47% under direct prompting. Once early stages are stabilized, the dominant attrition concentrates at L3/L4, and scaling mainly improves late-stage retention (e.g., L4: 7.97\\% \\rightarrow 15.69\\% \\rightarrow 30.01\\% from 14B to 32B to 235B under code-agent). Overall, repair primarily reduces early structural failures, leaving deeper validation as the bottleneck.", "source": "marker_v2", "marker_block_id": "/page/6/Text/10"}
|
| 52 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0051", "section": "6.3. Finetuning exploration: internalizing capability", "page_start": 7, "page_end": 7, "type": "Text", "text": "Prompting and inference-time repair can improve tool creation by injecting demonstrations or execution feedback, but they do not necessarily strengthen the model's intrinsic ability to synthesize reusable tool assets. We therefore finetune models on TOOL GENESIS and evaluate whether training improves both intermediate verification and downstream task success. We defer training configurations and implementation details to Appendix E.", "source": "marker_v2", "marker_block_id": "/page/6/Text/12"}
|
| 53 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0052", "section": "6.3. Finetuning exploration: internalizing capability", "page_start": 7, "page_end": 7, "type": "Text", "text": "Finetuning on TOOL GENESIS yields consistent gains across all evaluation layers (Table 6), indicating that TOOL GEN-ESIS provides not only a diagnostic benchmark but also an effective training signal for requirement-driven tool cre-", "source": "marker_v2", "marker_block_id": "/page/6/Text/13"}
|
| 54 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0053", "section": "6.3. Finetuning exploration: internalizing capability", "page_start": 8, "page_end": 8, "type": "Text", "text": "ation. On Qwen3-8B, under the Direct setting, finetuning improves one-shot generation at the interface and schema level: Compliance increases from 0.686 to 0.826 (+0.140), while Exec. rises from 0.012 to 0.047 (+0.035) and Schema-F1 from 0.011 to 0.046 (+0.035). These early-stage gains translate into measurable (though still small) functional validation improvements, with UTsoft increasing from 0.001 to 0.017 (+0.016) and UThard from 0.001 to 0.007 (+0.006), and downstream success SR improving from 0.012 to 0.026 (+0.014). Notably, because the Direct baseline is near-zero on executability and testing, absolute gains are more informative than relative ratios in this regime.", "source": "marker_v2", "marker_block_id": "/page/7/Text/1"}
|
| 55 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0054", "section": "6.3. Finetuning exploration: internalizing capability", "page_start": 8, "page_end": 8, "type": "Text", "text": "Under the Code-Agent setting, finetuning strengthens closed-loop repair and improves how execution feedback is converted into downstream utility. For Qwen3-8B, Compliance increases from 0.718 to 0.906 (+0.188), Exec. from 0.694 to 0.777 (+0.083), and Schema-F1 from 0.653 to 0.736 (+0.083). Improvements also propagate to functional validation, with UTsoft increasing from 0.307 to 0.377 (+0.070) and UThard from 0.456 to 0.533 (+0.077), yielding a higher SR from 0.336 to 0.399 (+0.063). Compared to Direct, gains under Code-Agent are less concentrated at the earliest gates and more evenly reflected in UT and SR, consistent with the interpretation that finetuning improves bug localization and patch quality under a fixed repair budget.", "source": "marker_v2", "marker_block_id": "/page/7/Text/2"}
|
| 56 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0055", "section": "6.3. Finetuning exploration: internalizing capability", "page_start": 8, "page_end": 8, "type": "Text", "text": "Overall, finetuning complements inference-time repair: it improves one-shot interface/schema synthesis under Direct, and under Code-Agent it increases the effectiveness of execution-triggered debugging, thereby raising the rate at which intermediate verification improvements translate into downstream task success.", "source": "marker_v2", "marker_block_id": "/page/7/Text/3"}
|
| 57 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0056", "section": "7. Related Work", "page_start": 8, "page_end": 8, "type": "Text", "text": "Tool-augmented LLMs are commonly evaluated by whether an agent can correctly invoke external tools and APIs to accomplish tasks (Karpas et al., 2022; Yao et al., 2023; Schick et al., 2023; Patil et al., 2023; Li et al., 2023; Qin et al., 2023a; b; Guo et al., 2024; Berkeley Function Call ing Leaderboard (BFCL) Team, 2024; Wang et al., 2024a; Huang et al., 2024; Anonymous, 2025; Zhang et al., 2025c; Shen et al., 2024; Liu et al., 2024; Wang et al., 2024f; Liu et al., 2023b; Zhang et al., 2024; Wang et al., 2024e) . Within this broader line, early tool-creation benchmarks and systems largely treat creation as a task-scoped deliverable and score it with downstream success as a black-box signal (Cai et al., 2023; Qian et al., 2023a; Wölflein et al., 2025) ; while task-relevant, such outcome-only evaluation is diagnostically weak because failures conflate requirement misunderstanding, interface/spec errors, implementation bugs, and unsafe or incorrect usage policies. To reduce hallucinated specifications and better reflect real constraints, later", "source": "marker_v2", "marker_block_id": "/page/7/Text/5"}
|
| 58 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0057", "section": "7. Related Work", "page_start": 8, "page_end": 8, "type": "Text", "text": "work increasingly grounds creation in external references (API docs/specs/repos/knowledge bases) and adds contractfaithfulness signals (e.g., schema/parameter consistency) as intermediate checks, often still reported alongside end-task outcomes (Liu et al., 2025; Zhao et al., 2025; Qian et al., 2024; Wang et al., 2024d) . As evaluation moves closer to \"real execution,\" a complementary trend adopts executable and test-driven verification to obtain reproducible correctness signals and clearer attribution (Zhang et al., 2025b; Wölflein et al., 2025; Jimenez et al., 2023; Chen et al., 2021; Austin et al., 2021; Hendrycks et al., 2021; Liu et al., 2023a; Zhuo et al., 2024) ; here, a stable execution environment and robust negative/boundary testing become essential to avoid flaky outcomes, prevent accidental overfitting to shallow success cases, and enable regression checking under tool evolution. More recently, tool creation is increasingly framed as building reusable toolsets/toolboxes that support retrieval, composition, maintenance, and updates across a task distribution—often serving knowledge access rather than a single one-off objective (Yuan et al., 2024; Wang et al., 2024c; Zhao et al., 2025; Huang et al., 2025; Qian et al., 2024) . Despite these advances, existing benchmarks remain fragmented: some emphasize task outcomes, others emphasize interface faithfulness or passing tests, and toolsetlevel reuse/maintenance is rarely evaluated together with executable correctness (including invalid/boundary cases) and downstream utility in a unified, reproducible protocol; in particular, oracle-normalized comparisons that quantify the utility gap between generated tools and ground-truth tools are still under-explored, motivating our benchmark and evaluation design.", "source": "marker_v2", "marker_block_id": "/page/7/Text/6"}
|
| 59 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0058", "section": "8. Conclusion", "page_start": 8, "page_end": 8, "type": "Text", "text": "We present Tool-Genesis, a diagnostic benchmark for evaluating tool creation as a first-class capability of self-evolving language agents. Tool-Genesis departs from spec-first settings by requiring agents to infer tool contracts from abstract requirements, generate machine-checkable schemas, and implement executable logic that can be reused as a scenarioclosed toolset. To avoid outcome-only \"black box\" evaluation, we introduce a full-lifecycle protocol that jointly measures interface compliance, executability, schema fidelity, and functional correctness with explicit negative/boundary unit tests, and we further report an oracle-normalized upper bound to quantify the utility gap between generated and reference tools under the same task distribution.Our empirical findings highlight a key bottleneck: even strong models often fail to produce precise interfaces or correct implementations in a one-shot setting, and these small early-stage defects are amplified through the downstream pipeline. We hope Tool-Genesis will help the community move beyond ad-hoc, disposable tool use toward persistent and maintain able tool assets, and enable more targeted progress on tool", "source": "marker_v2", "marker_block_id": "/page/7/Text/8"}
|
| 60 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0059", "section": "8. Conclusion", "page_start": 9, "page_end": 9, "type": "Text", "text": "induction, repair, and verification in realistic deployments.", "source": "marker_v2", "marker_block_id": "/page/8/Text/1"}
|
| 61 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0060", "section": "Impact Statement", "page_start": 9, "page_end": 9, "type": "Text", "text": "\"This paper presents work whose goal is to advance the field of Machine Learning. There are many potential societal consequences of our work, none which we feel must be specifically highlighted here.\"", "source": "marker_v2", "marker_block_id": "/page/8/Text/4"}
|
| 62 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0061", "section": "Impact Statement", "page_start": 9, "page_end": 9, "type": "Text", "text": "The above statement can be used verbatim in such cases, but we encourage authors to think about whether there is content which does warrant further discussion, as this statement will be apparent if the paper is later flagged for ethics review.", "source": "marker_v2", "marker_block_id": "/page/8/Text/5"}
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/marker_meta.json
ADDED
|
@@ -0,0 +1,2258 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"table_of_contents": [
|
| 3 |
+
{
|
| 4 |
+
"title": "004\n005\n006\n007",
|
| 5 |
+
"heading_level": null,
|
| 6 |
+
"page_id": 0,
|
| 7 |
+
"polygon": [
|
| 8 |
+
[
|
| 9 |
+
25.552000045776367,
|
| 10 |
+
108.66796875
|
| 11 |
+
],
|
| 12 |
+
[
|
| 13 |
+
40.49589920043945,
|
| 14 |
+
108.66796875
|
| 15 |
+
],
|
| 16 |
+
[
|
| 17 |
+
40.49589920043945,
|
| 18 |
+
175.95703125
|
| 19 |
+
],
|
| 20 |
+
[
|
| 21 |
+
25.552000045776367,
|
| 22 |
+
175.95703125
|
| 23 |
+
]
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"title": "008\n009\n010\n011\n012\n013",
|
| 28 |
+
"heading_level": null,
|
| 29 |
+
"page_id": 0,
|
| 30 |
+
"polygon": [
|
| 31 |
+
[
|
| 32 |
+
21.216796875,
|
| 33 |
+
162.421875
|
| 34 |
+
],
|
| 35 |
+
[
|
| 36 |
+
43.330078125,
|
| 37 |
+
162.421875
|
| 38 |
+
],
|
| 39 |
+
[
|
| 40 |
+
43.330078125,
|
| 41 |
+
234.5491943359375
|
| 42 |
+
],
|
| 43 |
+
[
|
| 44 |
+
21.216796875,
|
| 45 |
+
234.5491943359375
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"title": "015\n016\n017\n018\n019\n020",
|
| 51 |
+
"heading_level": null,
|
| 52 |
+
"page_id": 0,
|
| 53 |
+
"polygon": [
|
| 54 |
+
[
|
| 55 |
+
22.7109375,
|
| 56 |
+
248.49664306640625
|
| 57 |
+
],
|
| 58 |
+
[
|
| 59 |
+
44.2265625,
|
| 60 |
+
248.49664306640625
|
| 61 |
+
],
|
| 62 |
+
[
|
| 63 |
+
44.2265625,
|
| 64 |
+
318.2352600097656
|
| 65 |
+
],
|
| 66 |
+
[
|
| 67 |
+
22.7109375,
|
| 68 |
+
318.2352600097656
|
| 69 |
+
]
|
| 70 |
+
]
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"title": "Tool-Genesis: A Task-Driven Tool Creation Benchmark for Self-Evolving\nLanguage Agent",
|
| 74 |
+
"heading_level": null,
|
| 75 |
+
"page_id": 0,
|
| 76 |
+
"polygon": [
|
| 77 |
+
[
|
| 78 |
+
74.109375,
|
| 79 |
+
89.9119873046875
|
| 80 |
+
],
|
| 81 |
+
[
|
| 82 |
+
523.546875,
|
| 83 |
+
89.9119873046875
|
| 84 |
+
],
|
| 85 |
+
[
|
| 86 |
+
523.546875,
|
| 87 |
+
122.191162109375
|
| 88 |
+
],
|
| 89 |
+
[
|
| 90 |
+
74.109375,
|
| 91 |
+
122.191162109375
|
| 92 |
+
]
|
| 93 |
+
]
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"title": "Anonymous Authors1",
|
| 97 |
+
"heading_level": null,
|
| 98 |
+
"page_id": 0,
|
| 99 |
+
"polygon": [
|
| 100 |
+
[
|
| 101 |
+
246.83203125,
|
| 102 |
+
159.64306640625
|
| 103 |
+
],
|
| 104 |
+
[
|
| 105 |
+
338.87109375,
|
| 106 |
+
159.64306640625
|
| 107 |
+
],
|
| 108 |
+
[
|
| 109 |
+
338.87109375,
|
| 110 |
+
170.86407470703125
|
| 111 |
+
],
|
| 112 |
+
[
|
| 113 |
+
246.83203125,
|
| 114 |
+
170.86407470703125
|
| 115 |
+
]
|
| 116 |
+
]
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"title": "Abstract",
|
| 120 |
+
"heading_level": null,
|
| 121 |
+
"page_id": 0,
|
| 122 |
+
"polygon": [
|
| 123 |
+
[
|
| 124 |
+
149.712890625,
|
| 125 |
+
186.75311279296875
|
| 126 |
+
],
|
| 127 |
+
[
|
| 128 |
+
194.68325805664062,
|
| 129 |
+
186.75311279296875
|
| 130 |
+
],
|
| 131 |
+
[
|
| 132 |
+
194.68325805664062,
|
| 133 |
+
198.70831298828125
|
| 134 |
+
],
|
| 135 |
+
[
|
| 136 |
+
149.712890625,
|
| 137 |
+
198.70831298828125
|
| 138 |
+
]
|
| 139 |
+
]
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"title": "1. Introduction",
|
| 143 |
+
"heading_level": null,
|
| 144 |
+
"page_id": 0,
|
| 145 |
+
"polygon": [
|
| 146 |
+
[
|
| 147 |
+
54.685546875,
|
| 148 |
+
581.84814453125
|
| 149 |
+
],
|
| 150 |
+
[
|
| 151 |
+
132.2760772705078,
|
| 152 |
+
581.84814453125
|
| 153 |
+
],
|
| 154 |
+
[
|
| 155 |
+
132.2760772705078,
|
| 156 |
+
593.8033447265625
|
| 157 |
+
],
|
| 158 |
+
[
|
| 159 |
+
54.685546875,
|
| 160 |
+
593.8033447265625
|
| 161 |
+
]
|
| 162 |
+
]
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"title": "2. Problem Formalization",
|
| 166 |
+
"heading_level": null,
|
| 167 |
+
"page_id": 1,
|
| 168 |
+
"polygon": [
|
| 169 |
+
[
|
| 170 |
+
307.1953125,
|
| 171 |
+
631.9941558837891
|
| 172 |
+
],
|
| 173 |
+
[
|
| 174 |
+
438.6796875,
|
| 175 |
+
631.9941558837891
|
| 176 |
+
],
|
| 177 |
+
[
|
| 178 |
+
438.6796875,
|
| 179 |
+
643.9493560791016
|
| 180 |
+
],
|
| 181 |
+
[
|
| 182 |
+
307.1953125,
|
| 183 |
+
643.9493560791016
|
| 184 |
+
]
|
| 185 |
+
]
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"title": "2.1. Task Definition",
|
| 189 |
+
"heading_level": null,
|
| 190 |
+
"page_id": 1,
|
| 191 |
+
"polygon": [
|
| 192 |
+
[
|
| 193 |
+
307.1953125,
|
| 194 |
+
651.62109375
|
| 195 |
+
],
|
| 196 |
+
[
|
| 197 |
+
390.8671875,
|
| 198 |
+
651.62109375
|
| 199 |
+
],
|
| 200 |
+
[
|
| 201 |
+
390.8671875,
|
| 202 |
+
662.8591156005859
|
| 203 |
+
],
|
| 204 |
+
[
|
| 205 |
+
307.1953125,
|
| 206 |
+
662.8591156005859
|
| 207 |
+
]
|
| 208 |
+
]
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"title": "2.2. Metrics",
|
| 212 |
+
"heading_level": null,
|
| 213 |
+
"page_id": 2,
|
| 214 |
+
"polygon": [
|
| 215 |
+
[
|
| 216 |
+
52.892578125,
|
| 217 |
+
617.030517578125
|
| 218 |
+
],
|
| 219 |
+
[
|
| 220 |
+
105.51203155517578,
|
| 221 |
+
617.030517578125
|
| 222 |
+
],
|
| 223 |
+
[
|
| 224 |
+
105.51203155517578,
|
| 225 |
+
626.9931182861328
|
| 226 |
+
],
|
| 227 |
+
[
|
| 228 |
+
52.892578125,
|
| 229 |
+
626.9931182861328
|
| 230 |
+
]
|
| 231 |
+
]
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"title": "3. Dataset Construction",
|
| 235 |
+
"heading_level": null,
|
| 236 |
+
"page_id": 2,
|
| 237 |
+
"polygon": [
|
| 238 |
+
[
|
| 239 |
+
305.103515625,
|
| 240 |
+
538.836181640625
|
| 241 |
+
],
|
| 242 |
+
[
|
| 243 |
+
427.97235107421875,
|
| 244 |
+
538.836181640625
|
| 245 |
+
],
|
| 246 |
+
[
|
| 247 |
+
427.97235107421875,
|
| 248 |
+
550.7913818359375
|
| 249 |
+
],
|
| 250 |
+
[
|
| 251 |
+
305.103515625,
|
| 252 |
+
550.7913818359375
|
| 253 |
+
]
|
| 254 |
+
]
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"title": "3.1. Compliant MCP-server Data Collection",
|
| 258 |
+
"heading_level": null,
|
| 259 |
+
"page_id": 2,
|
| 260 |
+
"polygon": [
|
| 261 |
+
[
|
| 262 |
+
306.0,
|
| 263 |
+
656.6025085449219
|
| 264 |
+
],
|
| 265 |
+
[
|
| 266 |
+
493.7306823730469,
|
| 267 |
+
656.6025085449219
|
| 268 |
+
],
|
| 269 |
+
[
|
| 270 |
+
493.7306823730469,
|
| 271 |
+
666.5651092529297
|
| 272 |
+
],
|
| 273 |
+
[
|
| 274 |
+
306.0,
|
| 275 |
+
666.5651092529297
|
| 276 |
+
]
|
| 277 |
+
]
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"title": "3.2. High-Quality Task & Trajectory Generation",
|
| 281 |
+
"heading_level": null,
|
| 282 |
+
"page_id": 3,
|
| 283 |
+
"polygon": [
|
| 284 |
+
[
|
| 285 |
+
54.38671875,
|
| 286 |
+
321.75
|
| 287 |
+
],
|
| 288 |
+
[
|
| 289 |
+
261.05810546875,
|
| 290 |
+
321.75
|
| 291 |
+
],
|
| 292 |
+
[
|
| 293 |
+
261.05810546875,
|
| 294 |
+
332.61712646484375
|
| 295 |
+
],
|
| 296 |
+
[
|
| 297 |
+
54.38671875,
|
| 298 |
+
332.61712646484375
|
| 299 |
+
]
|
| 300 |
+
]
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"title": "3.3. Comprehensive Unit Test Generation",
|
| 304 |
+
"heading_level": null,
|
| 305 |
+
"page_id": 3,
|
| 306 |
+
"polygon": [
|
| 307 |
+
[
|
| 308 |
+
51.99609375,
|
| 309 |
+
654.3605041503906
|
| 310 |
+
],
|
| 311 |
+
[
|
| 312 |
+
230.69207763671875,
|
| 313 |
+
654.3605041503906
|
| 314 |
+
],
|
| 315 |
+
[
|
| 316 |
+
230.69207763671875,
|
| 317 |
+
664.3230972290039
|
| 318 |
+
],
|
| 319 |
+
[
|
| 320 |
+
51.99609375,
|
| 321 |
+
664.3230972290039
|
| 322 |
+
]
|
| 323 |
+
]
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"title": "3.4. Manual Quality Inspection",
|
| 327 |
+
"heading_level": null,
|
| 328 |
+
"page_id": 3,
|
| 329 |
+
"polygon": [
|
| 330 |
+
[
|
| 331 |
+
306.298828125,
|
| 332 |
+
397.6925048828125
|
| 333 |
+
],
|
| 334 |
+
[
|
| 335 |
+
439.576171875,
|
| 336 |
+
397.6925048828125
|
| 337 |
+
],
|
| 338 |
+
[
|
| 339 |
+
439.576171875,
|
| 340 |
+
407.65509033203125
|
| 341 |
+
],
|
| 342 |
+
[
|
| 343 |
+
306.298828125,
|
| 344 |
+
407.65509033203125
|
| 345 |
+
]
|
| 346 |
+
]
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"title": "4. Data Analysis",
|
| 350 |
+
"heading_level": null,
|
| 351 |
+
"page_id": 4,
|
| 352 |
+
"polygon": [
|
| 353 |
+
[
|
| 354 |
+
53.7890625,
|
| 355 |
+
415.64312744140625
|
| 356 |
+
],
|
| 357 |
+
[
|
| 358 |
+
138.13412475585938,
|
| 359 |
+
415.64312744140625
|
| 360 |
+
],
|
| 361 |
+
[
|
| 362 |
+
138.13412475585938,
|
| 363 |
+
427.59832763671875
|
| 364 |
+
],
|
| 365 |
+
[
|
| 366 |
+
53.7890625,
|
| 367 |
+
427.59832763671875
|
| 368 |
+
]
|
| 369 |
+
]
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"title": "5. Experiments",
|
| 373 |
+
"heading_level": null,
|
| 374 |
+
"page_id": 4,
|
| 375 |
+
"polygon": [
|
| 376 |
+
[
|
| 377 |
+
305.103515625,
|
| 378 |
+
308.0461730957031
|
| 379 |
+
],
|
| 380 |
+
[
|
| 381 |
+
384.47930908203125,
|
| 382 |
+
308.0461730957031
|
| 383 |
+
],
|
| 384 |
+
[
|
| 385 |
+
384.47930908203125,
|
| 386 |
+
320.0013732910156
|
| 387 |
+
],
|
| 388 |
+
[
|
| 389 |
+
305.103515625,
|
| 390 |
+
320.0013732910156
|
| 391 |
+
]
|
| 392 |
+
]
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"title": "5.1. Experimental Setup",
|
| 396 |
+
"heading_level": null,
|
| 397 |
+
"page_id": 4,
|
| 398 |
+
"polygon": [
|
| 399 |
+
[
|
| 400 |
+
306.896484375,
|
| 401 |
+
328.9485168457031
|
| 402 |
+
],
|
| 403 |
+
[
|
| 404 |
+
410.291015625,
|
| 405 |
+
328.9485168457031
|
| 406 |
+
],
|
| 407 |
+
[
|
| 408 |
+
410.291015625,
|
| 409 |
+
338.9111022949219
|
| 410 |
+
],
|
| 411 |
+
[
|
| 412 |
+
306.896484375,
|
| 413 |
+
338.9111022949219
|
| 414 |
+
]
|
| 415 |
+
]
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"title": "5.2. Experimental Results",
|
| 419 |
+
"heading_level": null,
|
| 420 |
+
"page_id": 4,
|
| 421 |
+
"polygon": [
|
| 422 |
+
[
|
| 423 |
+
306.0,
|
| 424 |
+
670.18359375
|
| 425 |
+
],
|
| 426 |
+
[
|
| 427 |
+
416.4706726074219,
|
| 428 |
+
670.18359375
|
| 429 |
+
],
|
| 430 |
+
[
|
| 431 |
+
416.4706726074219,
|
| 432 |
+
681.5760955810547
|
| 433 |
+
],
|
| 434 |
+
[
|
| 435 |
+
306.0,
|
| 436 |
+
681.5760955810547
|
| 437 |
+
]
|
| 438 |
+
]
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"title": "6. Analysis",
|
| 442 |
+
"heading_level": null,
|
| 443 |
+
"page_id": 5,
|
| 444 |
+
"polygon": [
|
| 445 |
+
[
|
| 446 |
+
304.505859375,
|
| 447 |
+
666.155158996582
|
| 448 |
+
],
|
| 449 |
+
[
|
| 450 |
+
362.577392578125,
|
| 451 |
+
666.155158996582
|
| 452 |
+
],
|
| 453 |
+
[
|
| 454 |
+
362.577392578125,
|
| 455 |
+
678.1103591918945
|
| 456 |
+
],
|
| 457 |
+
[
|
| 458 |
+
304.505859375,
|
| 459 |
+
678.1103591918945
|
| 460 |
+
]
|
| 461 |
+
]
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"title": "6.1. Signal-validation alignment under closed-loop",
|
| 465 |
+
"heading_level": null,
|
| 466 |
+
"page_id": 6,
|
| 467 |
+
"polygon": [
|
| 468 |
+
[
|
| 469 |
+
53.19140625,
|
| 470 |
+
425.390625
|
| 471 |
+
],
|
| 472 |
+
[
|
| 473 |
+
270.75,
|
| 474 |
+
425.390625
|
| 475 |
+
],
|
| 476 |
+
[
|
| 477 |
+
270.75,
|
| 478 |
+
435.0
|
| 479 |
+
],
|
| 480 |
+
[
|
| 481 |
+
53.19140625,
|
| 482 |
+
435.0
|
| 483 |
+
]
|
| 484 |
+
]
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"title": "6.2. Pass-through along the verification cascade",
|
| 488 |
+
"heading_level": null,
|
| 489 |
+
"page_id": 6,
|
| 490 |
+
"polygon": [
|
| 491 |
+
[
|
| 492 |
+
52.59375,
|
| 493 |
+
613.5
|
| 494 |
+
],
|
| 495 |
+
[
|
| 496 |
+
257.25,
|
| 497 |
+
613.5
|
| 498 |
+
],
|
| 499 |
+
[
|
| 500 |
+
257.25,
|
| 501 |
+
623.00390625
|
| 502 |
+
],
|
| 503 |
+
[
|
| 504 |
+
52.59375,
|
| 505 |
+
623.00390625
|
| 506 |
+
]
|
| 507 |
+
]
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"title": "6.3. Finetuning exploration: internalizing capability",
|
| 511 |
+
"heading_level": null,
|
| 512 |
+
"page_id": 6,
|
| 513 |
+
"polygon": [
|
| 514 |
+
[
|
| 515 |
+
306.0,
|
| 516 |
+
547.5
|
| 517 |
+
],
|
| 518 |
+
[
|
| 519 |
+
528.75,
|
| 520 |
+
547.5
|
| 521 |
+
],
|
| 522 |
+
[
|
| 523 |
+
528.75,
|
| 524 |
+
558.03515625
|
| 525 |
+
],
|
| 526 |
+
[
|
| 527 |
+
306.0,
|
| 528 |
+
558.03515625
|
| 529 |
+
]
|
| 530 |
+
]
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"title": "7. Related Work",
|
| 534 |
+
"heading_level": null,
|
| 535 |
+
"page_id": 7,
|
| 536 |
+
"polygon": [
|
| 537 |
+
[
|
| 538 |
+
53.19140625,
|
| 539 |
+
478.37109375
|
| 540 |
+
],
|
| 541 |
+
[
|
| 542 |
+
138.55255126953125,
|
| 543 |
+
478.37109375
|
| 544 |
+
],
|
| 545 |
+
[
|
| 546 |
+
138.55255126953125,
|
| 547 |
+
490.933349609375
|
| 548 |
+
],
|
| 549 |
+
[
|
| 550 |
+
53.19140625,
|
| 551 |
+
490.933349609375
|
| 552 |
+
]
|
| 553 |
+
]
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"title": "8. Conclusion",
|
| 557 |
+
"heading_level": null,
|
| 558 |
+
"page_id": 7,
|
| 559 |
+
"polygon": [
|
| 560 |
+
[
|
| 561 |
+
307.44000244140625,
|
| 562 |
+
453.62109375
|
| 563 |
+
],
|
| 564 |
+
[
|
| 565 |
+
376.52911376953125,
|
| 566 |
+
453.62109375
|
| 567 |
+
],
|
| 568 |
+
[
|
| 569 |
+
376.52911376953125,
|
| 570 |
+
467.0223693847656
|
| 571 |
+
],
|
| 572 |
+
[
|
| 573 |
+
307.44000244140625,
|
| 574 |
+
467.0223693847656
|
| 575 |
+
]
|
| 576 |
+
]
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"title": "Impact Statement",
|
| 580 |
+
"heading_level": null,
|
| 581 |
+
"page_id": 8,
|
| 582 |
+
"polygon": [
|
| 583 |
+
[
|
| 584 |
+
52.59375,
|
| 585 |
+
96.412109375
|
| 586 |
+
],
|
| 587 |
+
[
|
| 588 |
+
146.74185180664062,
|
| 589 |
+
96.412109375
|
| 590 |
+
],
|
| 591 |
+
[
|
| 592 |
+
146.74185180664062,
|
| 593 |
+
108.3673095703125
|
| 594 |
+
],
|
| 595 |
+
[
|
| 596 |
+
52.59375,
|
| 597 |
+
108.3673095703125
|
| 598 |
+
]
|
| 599 |
+
]
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"title": "References",
|
| 603 |
+
"heading_level": null,
|
| 604 |
+
"page_id": 8,
|
| 605 |
+
"polygon": [
|
| 606 |
+
[
|
| 607 |
+
52.892578125,
|
| 608 |
+
371.4981689453125
|
| 609 |
+
],
|
| 610 |
+
[
|
| 611 |
+
110.9838638305664,
|
| 612 |
+
371.4981689453125
|
| 613 |
+
],
|
| 614 |
+
[
|
| 615 |
+
110.9838638305664,
|
| 616 |
+
383.453369140625
|
| 617 |
+
],
|
| 618 |
+
[
|
| 619 |
+
52.892578125,
|
| 620 |
+
383.453369140625
|
| 621 |
+
]
|
| 622 |
+
]
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"title": "A. Evaluation Methodology Details",
|
| 626 |
+
"heading_level": null,
|
| 627 |
+
"page_id": 11,
|
| 628 |
+
"polygon": [
|
| 629 |
+
[
|
| 630 |
+
51.99609375,
|
| 631 |
+
68.0625
|
| 632 |
+
],
|
| 633 |
+
[
|
| 634 |
+
234.0,
|
| 635 |
+
68.0625
|
| 636 |
+
],
|
| 637 |
+
[
|
| 638 |
+
234.0,
|
| 639 |
+
78.890625
|
| 640 |
+
],
|
| 641 |
+
[
|
| 642 |
+
51.99609375,
|
| 643 |
+
78.890625
|
| 644 |
+
]
|
| 645 |
+
]
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"title": "A.1. Layer 1: Surface Compliance and Server Execution",
|
| 649 |
+
"heading_level": null,
|
| 650 |
+
"page_id": 11,
|
| 651 |
+
"polygon": [
|
| 652 |
+
[
|
| 653 |
+
53.7890625,
|
| 654 |
+
137.25
|
| 655 |
+
],
|
| 656 |
+
[
|
| 657 |
+
294.75,
|
| 658 |
+
137.25
|
| 659 |
+
],
|
| 660 |
+
[
|
| 661 |
+
294.75,
|
| 662 |
+
146.953125
|
| 663 |
+
],
|
| 664 |
+
[
|
| 665 |
+
53.7890625,
|
| 666 |
+
146.953125
|
| 667 |
+
]
|
| 668 |
+
]
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"title": "A.2. Layer 2: Semantic Interface Fidelity (Schema-F1)",
|
| 672 |
+
"heading_level": null,
|
| 673 |
+
"page_id": 11,
|
| 674 |
+
"polygon": [
|
| 675 |
+
[
|
| 676 |
+
52.59375,
|
| 677 |
+
413.40234375
|
| 678 |
+
],
|
| 679 |
+
[
|
| 680 |
+
288.0,
|
| 681 |
+
413.40234375
|
| 682 |
+
],
|
| 683 |
+
[
|
| 684 |
+
288.0,
|
| 685 |
+
423.0
|
| 686 |
+
],
|
| 687 |
+
[
|
| 688 |
+
52.59375,
|
| 689 |
+
423.0
|
| 690 |
+
]
|
| 691 |
+
]
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"title": "A.3. Layer 3: Functional Correctness via Unit Tests (UT)",
|
| 695 |
+
"heading_level": null,
|
| 696 |
+
"page_id": 12,
|
| 697 |
+
"polygon": [
|
| 698 |
+
[
|
| 699 |
+
52.59375,
|
| 700 |
+
69.37646484375
|
| 701 |
+
],
|
| 702 |
+
[
|
| 703 |
+
296.6843566894531,
|
| 704 |
+
69.37646484375
|
| 705 |
+
],
|
| 706 |
+
[
|
| 707 |
+
296.6843566894531,
|
| 708 |
+
79.33905029296875
|
| 709 |
+
],
|
| 710 |
+
[
|
| 711 |
+
52.59375,
|
| 712 |
+
79.33905029296875
|
| 713 |
+
]
|
| 714 |
+
]
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"title": "A.4. Layer 4: Downstream Task Utility (Oracle-normalized SR)",
|
| 718 |
+
"heading_level": null,
|
| 719 |
+
"page_id": 12,
|
| 720 |
+
"polygon": [
|
| 721 |
+
[
|
| 722 |
+
54.38671875,
|
| 723 |
+
468.6455078125
|
| 724 |
+
],
|
| 725 |
+
[
|
| 726 |
+
325.72265625,
|
| 727 |
+
468.6455078125
|
| 728 |
+
],
|
| 729 |
+
[
|
| 730 |
+
325.72265625,
|
| 731 |
+
478.60809326171875
|
| 732 |
+
],
|
| 733 |
+
[
|
| 734 |
+
54.38671875,
|
| 735 |
+
478.60809326171875
|
| 736 |
+
]
|
| 737 |
+
]
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"title": "B. More Dataset Construction Details",
|
| 741 |
+
"heading_level": null,
|
| 742 |
+
"page_id": 12,
|
| 743 |
+
"polygon": [
|
| 744 |
+
[
|
| 745 |
+
52.59375,
|
| 746 |
+
662.6011657714844
|
| 747 |
+
],
|
| 748 |
+
[
|
| 749 |
+
247.4296875,
|
| 750 |
+
662.6011657714844
|
| 751 |
+
],
|
| 752 |
+
[
|
| 753 |
+
247.4296875,
|
| 754 |
+
674.5563583374023
|
| 755 |
+
],
|
| 756 |
+
[
|
| 757 |
+
52.59375,
|
| 758 |
+
674.5563583374023
|
| 759 |
+
]
|
| 760 |
+
]
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"title": "B.1. Examples",
|
| 764 |
+
"heading_level": null,
|
| 765 |
+
"page_id": 13,
|
| 766 |
+
"polygon": [
|
| 767 |
+
[
|
| 768 |
+
53.490234375,
|
| 769 |
+
224.296875
|
| 770 |
+
],
|
| 771 |
+
[
|
| 772 |
+
116.0524673461914,
|
| 773 |
+
224.296875
|
| 774 |
+
],
|
| 775 |
+
[
|
| 776 |
+
116.0524673461914,
|
| 777 |
+
234.39013671875
|
| 778 |
+
],
|
| 779 |
+
[
|
| 780 |
+
53.490234375,
|
| 781 |
+
234.39013671875
|
| 782 |
+
]
|
| 783 |
+
]
|
| 784 |
+
},
|
| 785 |
+
{
|
| 786 |
+
"title": "Example 1: MCP-server schema instance (Dsrv).",
|
| 787 |
+
"heading_level": null,
|
| 788 |
+
"page_id": 13,
|
| 789 |
+
"polygon": [
|
| 790 |
+
[
|
| 791 |
+
52.59375,
|
| 792 |
+
242.81182861328125
|
| 793 |
+
],
|
| 794 |
+
[
|
| 795 |
+
262.4101867675781,
|
| 796 |
+
242.81182861328125
|
| 797 |
+
],
|
| 798 |
+
[
|
| 799 |
+
262.4101867675781,
|
| 800 |
+
253.74456787109375
|
| 801 |
+
],
|
| 802 |
+
[
|
| 803 |
+
52.59375,
|
| 804 |
+
253.74456787109375
|
| 805 |
+
]
|
| 806 |
+
]
|
| 807 |
+
},
|
| 808 |
+
{
|
| 809 |
+
"title": "Example 2: Task instance (Dtraj ).",
|
| 810 |
+
"heading_level": null,
|
| 811 |
+
"page_id": 15,
|
| 812 |
+
"polygon": [
|
| 813 |
+
[
|
| 814 |
+
53.7890625,
|
| 815 |
+
284.23828125
|
| 816 |
+
],
|
| 817 |
+
[
|
| 818 |
+
199.18418884277344,
|
| 819 |
+
284.23828125
|
| 820 |
+
],
|
| 821 |
+
[
|
| 822 |
+
199.18418884277344,
|
| 823 |
+
295.3635559082031
|
| 824 |
+
],
|
| 825 |
+
[
|
| 826 |
+
53.7890625,
|
| 827 |
+
295.3635559082031
|
| 828 |
+
]
|
| 829 |
+
]
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"title": "Example 3: Unit test instance (Dut).",
|
| 833 |
+
"heading_level": null,
|
| 834 |
+
"page_id": 15,
|
| 835 |
+
"polygon": [
|
| 836 |
+
[
|
| 837 |
+
53.7890625,
|
| 838 |
+
367.5487976074219
|
| 839 |
+
],
|
| 840 |
+
[
|
| 841 |
+
208.07920837402344,
|
| 842 |
+
367.5487976074219
|
| 843 |
+
],
|
| 844 |
+
[
|
| 845 |
+
208.07920837402344,
|
| 846 |
+
378.4825439453125
|
| 847 |
+
],
|
| 848 |
+
[
|
| 849 |
+
53.7890625,
|
| 850 |
+
378.4825439453125
|
| 851 |
+
]
|
| 852 |
+
]
|
| 853 |
+
},
|
| 854 |
+
{
|
| 855 |
+
"title": "B.2. MCP-server Filtering Details",
|
| 856 |
+
"heading_level": null,
|
| 857 |
+
"page_id": 15,
|
| 858 |
+
"polygon": [
|
| 859 |
+
[
|
| 860 |
+
54.38671875,
|
| 861 |
+
478.0614929199219
|
| 862 |
+
],
|
| 863 |
+
[
|
| 864 |
+
198.28375244140625,
|
| 865 |
+
478.0614929199219
|
| 866 |
+
],
|
| 867 |
+
[
|
| 868 |
+
198.28375244140625,
|
| 869 |
+
488.0240783691406
|
| 870 |
+
],
|
| 871 |
+
[
|
| 872 |
+
54.38671875,
|
| 873 |
+
488.0240783691406
|
| 874 |
+
]
|
| 875 |
+
]
|
| 876 |
+
},
|
| 877 |
+
{
|
| 878 |
+
"title": "B.3. LLM-as-Judge Prompt for Server Semantic Validation",
|
| 879 |
+
"heading_level": null,
|
| 880 |
+
"page_id": 16,
|
| 881 |
+
"polygon": [
|
| 882 |
+
[
|
| 883 |
+
54.984375,
|
| 884 |
+
148.11328125
|
| 885 |
+
],
|
| 886 |
+
[
|
| 887 |
+
306.6668701171875,
|
| 888 |
+
148.11328125
|
| 889 |
+
],
|
| 890 |
+
[
|
| 891 |
+
306.6668701171875,
|
| 892 |
+
158.2711181640625
|
| 893 |
+
],
|
| 894 |
+
[
|
| 895 |
+
54.984375,
|
| 896 |
+
158.2711181640625
|
| 897 |
+
]
|
| 898 |
+
]
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"title": "B.4. Task Generation and Filtering",
|
| 902 |
+
"heading_level": null,
|
| 903 |
+
"page_id": 17,
|
| 904 |
+
"polygon": [
|
| 905 |
+
[
|
| 906 |
+
52.892578125,
|
| 907 |
+
69.37646484375
|
| 908 |
+
],
|
| 909 |
+
[
|
| 910 |
+
203.42445373535156,
|
| 911 |
+
69.37646484375
|
| 912 |
+
],
|
| 913 |
+
[
|
| 914 |
+
203.42445373535156,
|
| 915 |
+
79.33905029296875
|
| 916 |
+
],
|
| 917 |
+
[
|
| 918 |
+
52.892578125,
|
| 919 |
+
79.33905029296875
|
| 920 |
+
]
|
| 921 |
+
]
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"title": "B.5. Trajectory Generation and Filtering",
|
| 925 |
+
"heading_level": null,
|
| 926 |
+
"page_id": 21,
|
| 927 |
+
"polygon": [
|
| 928 |
+
[
|
| 929 |
+
54.38671875,
|
| 930 |
+
327.52252197265625
|
| 931 |
+
],
|
| 932 |
+
[
|
| 933 |
+
228.4803924560547,
|
| 934 |
+
327.52252197265625
|
| 935 |
+
],
|
| 936 |
+
[
|
| 937 |
+
228.4803924560547,
|
| 938 |
+
337.485107421875
|
| 939 |
+
],
|
| 940 |
+
[
|
| 941 |
+
54.38671875,
|
| 942 |
+
337.485107421875
|
| 943 |
+
]
|
| 944 |
+
]
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"title": "B.6. Unit Test Prompts",
|
| 948 |
+
"heading_level": null,
|
| 949 |
+
"page_id": 22,
|
| 950 |
+
"polygon": [
|
| 951 |
+
[
|
| 952 |
+
51.3984375,
|
| 953 |
+
609.4205169677734
|
| 954 |
+
],
|
| 955 |
+
[
|
| 956 |
+
152.02740478515625,
|
| 957 |
+
609.4205169677734
|
| 958 |
+
],
|
| 959 |
+
[
|
| 960 |
+
152.02740478515625,
|
| 961 |
+
619.91015625
|
| 962 |
+
],
|
| 963 |
+
[
|
| 964 |
+
51.3984375,
|
| 965 |
+
619.91015625
|
| 966 |
+
]
|
| 967 |
+
]
|
| 968 |
+
},
|
| 969 |
+
{
|
| 970 |
+
"title": "C. More Details on Experiments",
|
| 971 |
+
"heading_level": null,
|
| 972 |
+
"page_id": 23,
|
| 973 |
+
"polygon": [
|
| 974 |
+
[
|
| 975 |
+
53.7890625,
|
| 976 |
+
305.5078125
|
| 977 |
+
],
|
| 978 |
+
[
|
| 979 |
+
220.5,
|
| 980 |
+
305.5078125
|
| 981 |
+
],
|
| 982 |
+
[
|
| 983 |
+
220.5,
|
| 984 |
+
318.0
|
| 985 |
+
],
|
| 986 |
+
[
|
| 987 |
+
53.7890625,
|
| 988 |
+
318.0
|
| 989 |
+
]
|
| 990 |
+
]
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"title": "D. More Details on Analysis",
|
| 994 |
+
"heading_level": null,
|
| 995 |
+
"page_id": 23,
|
| 996 |
+
"polygon": [
|
| 997 |
+
[
|
| 998 |
+
53.490234375,
|
| 999 |
+
328.7109375
|
| 1000 |
+
],
|
| 1001 |
+
[
|
| 1002 |
+
198.0,
|
| 1003 |
+
328.7109375
|
| 1004 |
+
],
|
| 1005 |
+
[
|
| 1006 |
+
198.0,
|
| 1007 |
+
339.75
|
| 1008 |
+
],
|
| 1009 |
+
[
|
| 1010 |
+
53.490234375,
|
| 1011 |
+
339.75
|
| 1012 |
+
]
|
| 1013 |
+
]
|
| 1014 |
+
},
|
| 1015 |
+
{
|
| 1016 |
+
"title": "D.1. Signal-Validation Alignment (SVA) score",
|
| 1017 |
+
"heading_level": null,
|
| 1018 |
+
"page_id": 23,
|
| 1019 |
+
"polygon": [
|
| 1020 |
+
[
|
| 1021 |
+
52.59375,
|
| 1022 |
+
348.046875
|
| 1023 |
+
],
|
| 1024 |
+
[
|
| 1025 |
+
251.25,
|
| 1026 |
+
348.046875
|
| 1027 |
+
],
|
| 1028 |
+
[
|
| 1029 |
+
251.25,
|
| 1030 |
+
357.75
|
| 1031 |
+
],
|
| 1032 |
+
[
|
| 1033 |
+
52.59375,
|
| 1034 |
+
357.75
|
| 1035 |
+
]
|
| 1036 |
+
]
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"title": "E. More Details on Exploration",
|
| 1040 |
+
"heading_level": null,
|
| 1041 |
+
"page_id": 23,
|
| 1042 |
+
"polygon": [
|
| 1043 |
+
[
|
| 1044 |
+
53.19140625,
|
| 1045 |
+
578.25
|
| 1046 |
+
],
|
| 1047 |
+
[
|
| 1048 |
+
215.25,
|
| 1049 |
+
578.25
|
| 1050 |
+
],
|
| 1051 |
+
[
|
| 1052 |
+
215.25,
|
| 1053 |
+
588.97265625
|
| 1054 |
+
],
|
| 1055 |
+
[
|
| 1056 |
+
53.19140625,
|
| 1057 |
+
588.97265625
|
| 1058 |
+
]
|
| 1059 |
+
]
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"title": "E.1. Finetuning Exploration",
|
| 1063 |
+
"heading_level": null,
|
| 1064 |
+
"page_id": 23,
|
| 1065 |
+
"polygon": [
|
| 1066 |
+
[
|
| 1067 |
+
51.99609375,
|
| 1068 |
+
598.5
|
| 1069 |
+
],
|
| 1070 |
+
[
|
| 1071 |
+
174.75,
|
| 1072 |
+
598.5
|
| 1073 |
+
],
|
| 1074 |
+
[
|
| 1075 |
+
174.75,
|
| 1076 |
+
608.25
|
| 1077 |
+
],
|
| 1078 |
+
[
|
| 1079 |
+
51.99609375,
|
| 1080 |
+
608.25
|
| 1081 |
+
]
|
| 1082 |
+
]
|
| 1083 |
+
}
|
| 1084 |
+
],
|
| 1085 |
+
"page_stats": [
|
| 1086 |
+
{
|
| 1087 |
+
"page_id": 0,
|
| 1088 |
+
"text_extraction_method": "pdftext",
|
| 1089 |
+
"block_counts": [
|
| 1090 |
+
[
|
| 1091 |
+
"Span",
|
| 1092 |
+
416
|
| 1093 |
+
],
|
| 1094 |
+
[
|
| 1095 |
+
"Line",
|
| 1096 |
+
178
|
| 1097 |
+
],
|
| 1098 |
+
[
|
| 1099 |
+
"Text",
|
| 1100 |
+
13
|
| 1101 |
+
],
|
| 1102 |
+
[
|
| 1103 |
+
"SectionHeader",
|
| 1104 |
+
7
|
| 1105 |
+
],
|
| 1106 |
+
[
|
| 1107 |
+
"PageHeader",
|
| 1108 |
+
1
|
| 1109 |
+
],
|
| 1110 |
+
[
|
| 1111 |
+
"Footnote",
|
| 1112 |
+
1
|
| 1113 |
+
],
|
| 1114 |
+
[
|
| 1115 |
+
"Figure",
|
| 1116 |
+
1
|
| 1117 |
+
],
|
| 1118 |
+
[
|
| 1119 |
+
"Caption",
|
| 1120 |
+
1
|
| 1121 |
+
],
|
| 1122 |
+
[
|
| 1123 |
+
"PageFooter",
|
| 1124 |
+
1
|
| 1125 |
+
],
|
| 1126 |
+
[
|
| 1127 |
+
"FigureGroup",
|
| 1128 |
+
1
|
| 1129 |
+
]
|
| 1130 |
+
],
|
| 1131 |
+
"block_metadata": {
|
| 1132 |
+
"llm_request_count": 0,
|
| 1133 |
+
"llm_error_count": 0,
|
| 1134 |
+
"llm_tokens_used": 0,
|
| 1135 |
+
"previous_text": "",
|
| 1136 |
+
"previous_type": "",
|
| 1137 |
+
"previous_order": 0
|
| 1138 |
+
}
|
| 1139 |
+
},
|
| 1140 |
+
{
|
| 1141 |
+
"page_id": 1,
|
| 1142 |
+
"text_extraction_method": "pdftext",
|
| 1143 |
+
"block_counts": [
|
| 1144 |
+
[
|
| 1145 |
+
"Span",
|
| 1146 |
+
499
|
| 1147 |
+
],
|
| 1148 |
+
[
|
| 1149 |
+
"Line",
|
| 1150 |
+
156
|
| 1151 |
+
],
|
| 1152 |
+
[
|
| 1153 |
+
"TableCell",
|
| 1154 |
+
107
|
| 1155 |
+
],
|
| 1156 |
+
[
|
| 1157 |
+
"Text",
|
| 1158 |
+
9
|
| 1159 |
+
],
|
| 1160 |
+
[
|
| 1161 |
+
"ListItem",
|
| 1162 |
+
3
|
| 1163 |
+
],
|
| 1164 |
+
[
|
| 1165 |
+
"Table",
|
| 1166 |
+
2
|
| 1167 |
+
],
|
| 1168 |
+
[
|
| 1169 |
+
"SectionHeader",
|
| 1170 |
+
2
|
| 1171 |
+
],
|
| 1172 |
+
[
|
| 1173 |
+
"PageHeader",
|
| 1174 |
+
1
|
| 1175 |
+
],
|
| 1176 |
+
[
|
| 1177 |
+
"Caption",
|
| 1178 |
+
1
|
| 1179 |
+
],
|
| 1180 |
+
[
|
| 1181 |
+
"PageFooter",
|
| 1182 |
+
1
|
| 1183 |
+
],
|
| 1184 |
+
[
|
| 1185 |
+
"TableGroup",
|
| 1186 |
+
1
|
| 1187 |
+
],
|
| 1188 |
+
[
|
| 1189 |
+
"ListGroup",
|
| 1190 |
+
1
|
| 1191 |
+
]
|
| 1192 |
+
],
|
| 1193 |
+
"block_metadata": {
|
| 1194 |
+
"llm_request_count": 0,
|
| 1195 |
+
"llm_error_count": 0,
|
| 1196 |
+
"llm_tokens_used": 0,
|
| 1197 |
+
"previous_text": "",
|
| 1198 |
+
"previous_type": "",
|
| 1199 |
+
"previous_order": 0
|
| 1200 |
+
}
|
| 1201 |
+
},
|
| 1202 |
+
{
|
| 1203 |
+
"page_id": 2,
|
| 1204 |
+
"text_extraction_method": "pdftext",
|
| 1205 |
+
"block_counts": [
|
| 1206 |
+
[
|
| 1207 |
+
"Span",
|
| 1208 |
+
572
|
| 1209 |
+
],
|
| 1210 |
+
[
|
| 1211 |
+
"Line",
|
| 1212 |
+
169
|
| 1213 |
+
],
|
| 1214 |
+
[
|
| 1215 |
+
"Text",
|
| 1216 |
+
10
|
| 1217 |
+
],
|
| 1218 |
+
[
|
| 1219 |
+
"SectionHeader",
|
| 1220 |
+
3
|
| 1221 |
+
],
|
| 1222 |
+
[
|
| 1223 |
+
"Reference",
|
| 1224 |
+
3
|
| 1225 |
+
],
|
| 1226 |
+
[
|
| 1227 |
+
"PageHeader",
|
| 1228 |
+
1
|
| 1229 |
+
],
|
| 1230 |
+
[
|
| 1231 |
+
"Figure",
|
| 1232 |
+
1
|
| 1233 |
+
],
|
| 1234 |
+
[
|
| 1235 |
+
"Caption",
|
| 1236 |
+
1
|
| 1237 |
+
],
|
| 1238 |
+
[
|
| 1239 |
+
"Equation",
|
| 1240 |
+
1
|
| 1241 |
+
],
|
| 1242 |
+
[
|
| 1243 |
+
"PageFooter",
|
| 1244 |
+
1
|
| 1245 |
+
],
|
| 1246 |
+
[
|
| 1247 |
+
"FigureGroup",
|
| 1248 |
+
1
|
| 1249 |
+
]
|
| 1250 |
+
],
|
| 1251 |
+
"block_metadata": {
|
| 1252 |
+
"llm_request_count": 0,
|
| 1253 |
+
"llm_error_count": 0,
|
| 1254 |
+
"llm_tokens_used": 0,
|
| 1255 |
+
"previous_text": "",
|
| 1256 |
+
"previous_type": "",
|
| 1257 |
+
"previous_order": 0
|
| 1258 |
+
}
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"page_id": 3,
|
| 1262 |
+
"text_extraction_method": "pdftext",
|
| 1263 |
+
"block_counts": [
|
| 1264 |
+
[
|
| 1265 |
+
"Span",
|
| 1266 |
+
423
|
| 1267 |
+
],
|
| 1268 |
+
[
|
| 1269 |
+
"Line",
|
| 1270 |
+
145
|
| 1271 |
+
],
|
| 1272 |
+
[
|
| 1273 |
+
"Text",
|
| 1274 |
+
17
|
| 1275 |
+
],
|
| 1276 |
+
[
|
| 1277 |
+
"Reference",
|
| 1278 |
+
4
|
| 1279 |
+
],
|
| 1280 |
+
[
|
| 1281 |
+
"SectionHeader",
|
| 1282 |
+
3
|
| 1283 |
+
],
|
| 1284 |
+
[
|
| 1285 |
+
"PageHeader",
|
| 1286 |
+
1
|
| 1287 |
+
],
|
| 1288 |
+
[
|
| 1289 |
+
"Figure",
|
| 1290 |
+
1
|
| 1291 |
+
],
|
| 1292 |
+
[
|
| 1293 |
+
"Caption",
|
| 1294 |
+
1
|
| 1295 |
+
],
|
| 1296 |
+
[
|
| 1297 |
+
"PageFooter",
|
| 1298 |
+
1
|
| 1299 |
+
],
|
| 1300 |
+
[
|
| 1301 |
+
"FigureGroup",
|
| 1302 |
+
1
|
| 1303 |
+
]
|
| 1304 |
+
],
|
| 1305 |
+
"block_metadata": {
|
| 1306 |
+
"llm_request_count": 0,
|
| 1307 |
+
"llm_error_count": 0,
|
| 1308 |
+
"llm_tokens_used": 0,
|
| 1309 |
+
"previous_text": "",
|
| 1310 |
+
"previous_type": "",
|
| 1311 |
+
"previous_order": 0
|
| 1312 |
+
}
|
| 1313 |
+
},
|
| 1314 |
+
{
|
| 1315 |
+
"page_id": 4,
|
| 1316 |
+
"text_extraction_method": "pdftext",
|
| 1317 |
+
"block_counts": [
|
| 1318 |
+
[
|
| 1319 |
+
"Span",
|
| 1320 |
+
527
|
| 1321 |
+
],
|
| 1322 |
+
[
|
| 1323 |
+
"Line",
|
| 1324 |
+
207
|
| 1325 |
+
],
|
| 1326 |
+
[
|
| 1327 |
+
"TableCell",
|
| 1328 |
+
50
|
| 1329 |
+
],
|
| 1330 |
+
[
|
| 1331 |
+
"Text",
|
| 1332 |
+
12
|
| 1333 |
+
],
|
| 1334 |
+
[
|
| 1335 |
+
"SectionHeader",
|
| 1336 |
+
4
|
| 1337 |
+
],
|
| 1338 |
+
[
|
| 1339 |
+
"PageHeader",
|
| 1340 |
+
2
|
| 1341 |
+
],
|
| 1342 |
+
[
|
| 1343 |
+
"Table",
|
| 1344 |
+
2
|
| 1345 |
+
],
|
| 1346 |
+
[
|
| 1347 |
+
"Caption",
|
| 1348 |
+
1
|
| 1349 |
+
],
|
| 1350 |
+
[
|
| 1351 |
+
"PageFooter",
|
| 1352 |
+
1
|
| 1353 |
+
],
|
| 1354 |
+
[
|
| 1355 |
+
"TableGroup",
|
| 1356 |
+
1
|
| 1357 |
+
],
|
| 1358 |
+
[
|
| 1359 |
+
"Reference",
|
| 1360 |
+
1
|
| 1361 |
+
]
|
| 1362 |
+
],
|
| 1363 |
+
"block_metadata": {
|
| 1364 |
+
"llm_request_count": 0,
|
| 1365 |
+
"llm_error_count": 0,
|
| 1366 |
+
"llm_tokens_used": 0,
|
| 1367 |
+
"previous_text": "",
|
| 1368 |
+
"previous_type": "",
|
| 1369 |
+
"previous_order": 0
|
| 1370 |
+
}
|
| 1371 |
+
},
|
| 1372 |
+
{
|
| 1373 |
+
"page_id": 5,
|
| 1374 |
+
"text_extraction_method": "pdftext",
|
| 1375 |
+
"block_counts": [
|
| 1376 |
+
[
|
| 1377 |
+
"Span",
|
| 1378 |
+
427
|
| 1379 |
+
],
|
| 1380 |
+
[
|
| 1381 |
+
"TableCell",
|
| 1382 |
+
311
|
| 1383 |
+
],
|
| 1384 |
+
[
|
| 1385 |
+
"Line",
|
| 1386 |
+
115
|
| 1387 |
+
],
|
| 1388 |
+
[
|
| 1389 |
+
"Text",
|
| 1390 |
+
10
|
| 1391 |
+
],
|
| 1392 |
+
[
|
| 1393 |
+
"Table",
|
| 1394 |
+
2
|
| 1395 |
+
],
|
| 1396 |
+
[
|
| 1397 |
+
"PageHeader",
|
| 1398 |
+
1
|
| 1399 |
+
],
|
| 1400 |
+
[
|
| 1401 |
+
"Caption",
|
| 1402 |
+
1
|
| 1403 |
+
],
|
| 1404 |
+
[
|
| 1405 |
+
"SectionHeader",
|
| 1406 |
+
1
|
| 1407 |
+
],
|
| 1408 |
+
[
|
| 1409 |
+
"PageFooter",
|
| 1410 |
+
1
|
| 1411 |
+
],
|
| 1412 |
+
[
|
| 1413 |
+
"TableGroup",
|
| 1414 |
+
1
|
| 1415 |
+
],
|
| 1416 |
+
[
|
| 1417 |
+
"Reference",
|
| 1418 |
+
1
|
| 1419 |
+
]
|
| 1420 |
+
],
|
| 1421 |
+
"block_metadata": {
|
| 1422 |
+
"llm_request_count": 0,
|
| 1423 |
+
"llm_error_count": 0,
|
| 1424 |
+
"llm_tokens_used": 0,
|
| 1425 |
+
"previous_text": "",
|
| 1426 |
+
"previous_type": "",
|
| 1427 |
+
"previous_order": 0
|
| 1428 |
+
}
|
| 1429 |
+
},
|
| 1430 |
+
{
|
| 1431 |
+
"page_id": 6,
|
| 1432 |
+
"text_extraction_method": "surya",
|
| 1433 |
+
"block_counts": [
|
| 1434 |
+
[
|
| 1435 |
+
"Line",
|
| 1436 |
+
245
|
| 1437 |
+
],
|
| 1438 |
+
[
|
| 1439 |
+
"Span",
|
| 1440 |
+
98
|
| 1441 |
+
],
|
| 1442 |
+
[
|
| 1443 |
+
"Text",
|
| 1444 |
+
54
|
| 1445 |
+
],
|
| 1446 |
+
[
|
| 1447 |
+
"Reference",
|
| 1448 |
+
5
|
| 1449 |
+
],
|
| 1450 |
+
[
|
| 1451 |
+
"SectionHeader",
|
| 1452 |
+
3
|
| 1453 |
+
],
|
| 1454 |
+
[
|
| 1455 |
+
"Figure",
|
| 1456 |
+
2
|
| 1457 |
+
],
|
| 1458 |
+
[
|
| 1459 |
+
"Caption",
|
| 1460 |
+
2
|
| 1461 |
+
],
|
| 1462 |
+
[
|
| 1463 |
+
"FigureGroup",
|
| 1464 |
+
2
|
| 1465 |
+
],
|
| 1466 |
+
[
|
| 1467 |
+
"PageHeader",
|
| 1468 |
+
1
|
| 1469 |
+
],
|
| 1470 |
+
[
|
| 1471 |
+
"PageFooter",
|
| 1472 |
+
1
|
| 1473 |
+
]
|
| 1474 |
+
],
|
| 1475 |
+
"block_metadata": {
|
| 1476 |
+
"llm_request_count": 0,
|
| 1477 |
+
"llm_error_count": 0,
|
| 1478 |
+
"llm_tokens_used": 0,
|
| 1479 |
+
"previous_text": "",
|
| 1480 |
+
"previous_type": "",
|
| 1481 |
+
"previous_order": 0
|
| 1482 |
+
}
|
| 1483 |
+
},
|
| 1484 |
+
{
|
| 1485 |
+
"page_id": 7,
|
| 1486 |
+
"text_extraction_method": "pdftext",
|
| 1487 |
+
"block_counts": [
|
| 1488 |
+
[
|
| 1489 |
+
"Span",
|
| 1490 |
+
544
|
| 1491 |
+
],
|
| 1492 |
+
[
|
| 1493 |
+
"Line",
|
| 1494 |
+
156
|
| 1495 |
+
],
|
| 1496 |
+
[
|
| 1497 |
+
"Text",
|
| 1498 |
+
10
|
| 1499 |
+
],
|
| 1500 |
+
[
|
| 1501 |
+
"SectionHeader",
|
| 1502 |
+
2
|
| 1503 |
+
],
|
| 1504 |
+
[
|
| 1505 |
+
"PageHeader",
|
| 1506 |
+
1
|
| 1507 |
+
],
|
| 1508 |
+
[
|
| 1509 |
+
"PageFooter",
|
| 1510 |
+
1
|
| 1511 |
+
]
|
| 1512 |
+
],
|
| 1513 |
+
"block_metadata": {
|
| 1514 |
+
"llm_request_count": 0,
|
| 1515 |
+
"llm_error_count": 0,
|
| 1516 |
+
"llm_tokens_used": 0,
|
| 1517 |
+
"previous_text": "",
|
| 1518 |
+
"previous_type": "",
|
| 1519 |
+
"previous_order": 0
|
| 1520 |
+
}
|
| 1521 |
+
},
|
| 1522 |
+
{
|
| 1523 |
+
"page_id": 8,
|
| 1524 |
+
"text_extraction_method": "pdftext",
|
| 1525 |
+
"block_counts": [
|
| 1526 |
+
[
|
| 1527 |
+
"Span",
|
| 1528 |
+
343
|
| 1529 |
+
],
|
| 1530 |
+
[
|
| 1531 |
+
"Line",
|
| 1532 |
+
151
|
| 1533 |
+
],
|
| 1534 |
+
[
|
| 1535 |
+
"ListItem",
|
| 1536 |
+
17
|
| 1537 |
+
],
|
| 1538 |
+
[
|
| 1539 |
+
"Reference",
|
| 1540 |
+
17
|
| 1541 |
+
],
|
| 1542 |
+
[
|
| 1543 |
+
"Text",
|
| 1544 |
+
5
|
| 1545 |
+
],
|
| 1546 |
+
[
|
| 1547 |
+
"SectionHeader",
|
| 1548 |
+
2
|
| 1549 |
+
],
|
| 1550 |
+
[
|
| 1551 |
+
"ListGroup",
|
| 1552 |
+
2
|
| 1553 |
+
],
|
| 1554 |
+
[
|
| 1555 |
+
"PageHeader",
|
| 1556 |
+
1
|
| 1557 |
+
],
|
| 1558 |
+
[
|
| 1559 |
+
"PageFooter",
|
| 1560 |
+
1
|
| 1561 |
+
]
|
| 1562 |
+
],
|
| 1563 |
+
"block_metadata": {
|
| 1564 |
+
"llm_request_count": 0,
|
| 1565 |
+
"llm_error_count": 0,
|
| 1566 |
+
"llm_tokens_used": 0,
|
| 1567 |
+
"previous_text": "",
|
| 1568 |
+
"previous_type": "",
|
| 1569 |
+
"previous_order": 0
|
| 1570 |
+
}
|
| 1571 |
+
},
|
| 1572 |
+
{
|
| 1573 |
+
"page_id": 9,
|
| 1574 |
+
"text_extraction_method": "pdftext",
|
| 1575 |
+
"block_counts": [
|
| 1576 |
+
[
|
| 1577 |
+
"Span",
|
| 1578 |
+
320
|
| 1579 |
+
],
|
| 1580 |
+
[
|
| 1581 |
+
"Line",
|
| 1582 |
+
136
|
| 1583 |
+
],
|
| 1584 |
+
[
|
| 1585 |
+
"ListItem",
|
| 1586 |
+
23
|
| 1587 |
+
],
|
| 1588 |
+
[
|
| 1589 |
+
"Reference",
|
| 1590 |
+
21
|
| 1591 |
+
],
|
| 1592 |
+
[
|
| 1593 |
+
"Text",
|
| 1594 |
+
12
|
| 1595 |
+
],
|
| 1596 |
+
[
|
| 1597 |
+
"ListGroup",
|
| 1598 |
+
2
|
| 1599 |
+
],
|
| 1600 |
+
[
|
| 1601 |
+
"PageHeader",
|
| 1602 |
+
1
|
| 1603 |
+
],
|
| 1604 |
+
[
|
| 1605 |
+
"PageFooter",
|
| 1606 |
+
1
|
| 1607 |
+
]
|
| 1608 |
+
],
|
| 1609 |
+
"block_metadata": {
|
| 1610 |
+
"llm_request_count": 0,
|
| 1611 |
+
"llm_error_count": 0,
|
| 1612 |
+
"llm_tokens_used": 0,
|
| 1613 |
+
"previous_text": "",
|
| 1614 |
+
"previous_type": "",
|
| 1615 |
+
"previous_order": 0
|
| 1616 |
+
}
|
| 1617 |
+
},
|
| 1618 |
+
{
|
| 1619 |
+
"page_id": 10,
|
| 1620 |
+
"text_extraction_method": "pdftext",
|
| 1621 |
+
"block_counts": [
|
| 1622 |
+
[
|
| 1623 |
+
"Span",
|
| 1624 |
+
243
|
| 1625 |
+
],
|
| 1626 |
+
[
|
| 1627 |
+
"Line",
|
| 1628 |
+
101
|
| 1629 |
+
],
|
| 1630 |
+
[
|
| 1631 |
+
"ListItem",
|
| 1632 |
+
17
|
| 1633 |
+
],
|
| 1634 |
+
[
|
| 1635 |
+
"Reference",
|
| 1636 |
+
16
|
| 1637 |
+
],
|
| 1638 |
+
[
|
| 1639 |
+
"Text",
|
| 1640 |
+
10
|
| 1641 |
+
],
|
| 1642 |
+
[
|
| 1643 |
+
"ListGroup",
|
| 1644 |
+
2
|
| 1645 |
+
],
|
| 1646 |
+
[
|
| 1647 |
+
"PageHeader",
|
| 1648 |
+
1
|
| 1649 |
+
],
|
| 1650 |
+
[
|
| 1651 |
+
"PageFooter",
|
| 1652 |
+
1
|
| 1653 |
+
]
|
| 1654 |
+
],
|
| 1655 |
+
"block_metadata": {
|
| 1656 |
+
"llm_request_count": 0,
|
| 1657 |
+
"llm_error_count": 0,
|
| 1658 |
+
"llm_tokens_used": 0,
|
| 1659 |
+
"previous_text": "",
|
| 1660 |
+
"previous_type": "",
|
| 1661 |
+
"previous_order": 0
|
| 1662 |
+
}
|
| 1663 |
+
},
|
| 1664 |
+
{
|
| 1665 |
+
"page_id": 11,
|
| 1666 |
+
"text_extraction_method": "surya",
|
| 1667 |
+
"block_counts": [
|
| 1668 |
+
[
|
| 1669 |
+
"Line",
|
| 1670 |
+
156
|
| 1671 |
+
],
|
| 1672 |
+
[
|
| 1673 |
+
"Span",
|
| 1674 |
+
123
|
| 1675 |
+
],
|
| 1676 |
+
[
|
| 1677 |
+
"Text",
|
| 1678 |
+
46
|
| 1679 |
+
],
|
| 1680 |
+
[
|
| 1681 |
+
"Equation",
|
| 1682 |
+
7
|
| 1683 |
+
],
|
| 1684 |
+
[
|
| 1685 |
+
"SectionHeader",
|
| 1686 |
+
3
|
| 1687 |
+
],
|
| 1688 |
+
[
|
| 1689 |
+
"PageHeader",
|
| 1690 |
+
1
|
| 1691 |
+
],
|
| 1692 |
+
[
|
| 1693 |
+
"PageFooter",
|
| 1694 |
+
1
|
| 1695 |
+
],
|
| 1696 |
+
[
|
| 1697 |
+
"Reference",
|
| 1698 |
+
1
|
| 1699 |
+
]
|
| 1700 |
+
],
|
| 1701 |
+
"block_metadata": {
|
| 1702 |
+
"llm_request_count": 0,
|
| 1703 |
+
"llm_error_count": 0,
|
| 1704 |
+
"llm_tokens_used": 0,
|
| 1705 |
+
"previous_text": "",
|
| 1706 |
+
"previous_type": "",
|
| 1707 |
+
"previous_order": 0
|
| 1708 |
+
}
|
| 1709 |
+
},
|
| 1710 |
+
{
|
| 1711 |
+
"page_id": 12,
|
| 1712 |
+
"text_extraction_method": "pdftext",
|
| 1713 |
+
"block_counts": [
|
| 1714 |
+
[
|
| 1715 |
+
"Span",
|
| 1716 |
+
558
|
| 1717 |
+
],
|
| 1718 |
+
[
|
| 1719 |
+
"Line",
|
| 1720 |
+
148
|
| 1721 |
+
],
|
| 1722 |
+
[
|
| 1723 |
+
"Text",
|
| 1724 |
+
16
|
| 1725 |
+
],
|
| 1726 |
+
[
|
| 1727 |
+
"Equation",
|
| 1728 |
+
8
|
| 1729 |
+
],
|
| 1730 |
+
[
|
| 1731 |
+
"SectionHeader",
|
| 1732 |
+
3
|
| 1733 |
+
],
|
| 1734 |
+
[
|
| 1735 |
+
"PageHeader",
|
| 1736 |
+
1
|
| 1737 |
+
],
|
| 1738 |
+
[
|
| 1739 |
+
"PageFooter",
|
| 1740 |
+
1
|
| 1741 |
+
],
|
| 1742 |
+
[
|
| 1743 |
+
"Reference",
|
| 1744 |
+
1
|
| 1745 |
+
]
|
| 1746 |
+
],
|
| 1747 |
+
"block_metadata": {
|
| 1748 |
+
"llm_request_count": 0,
|
| 1749 |
+
"llm_error_count": 0,
|
| 1750 |
+
"llm_tokens_used": 0,
|
| 1751 |
+
"previous_text": "",
|
| 1752 |
+
"previous_type": "",
|
| 1753 |
+
"previous_order": 0
|
| 1754 |
+
}
|
| 1755 |
+
},
|
| 1756 |
+
{
|
| 1757 |
+
"page_id": 13,
|
| 1758 |
+
"text_extraction_method": "pdftext",
|
| 1759 |
+
"block_counts": [
|
| 1760 |
+
[
|
| 1761 |
+
"Span",
|
| 1762 |
+
220
|
| 1763 |
+
],
|
| 1764 |
+
[
|
| 1765 |
+
"Line",
|
| 1766 |
+
99
|
| 1767 |
+
],
|
| 1768 |
+
[
|
| 1769 |
+
"Text",
|
| 1770 |
+
11
|
| 1771 |
+
],
|
| 1772 |
+
[
|
| 1773 |
+
"SectionHeader",
|
| 1774 |
+
2
|
| 1775 |
+
],
|
| 1776 |
+
[
|
| 1777 |
+
"PageHeader",
|
| 1778 |
+
1
|
| 1779 |
+
],
|
| 1780 |
+
[
|
| 1781 |
+
"Figure",
|
| 1782 |
+
1
|
| 1783 |
+
],
|
| 1784 |
+
[
|
| 1785 |
+
"Caption",
|
| 1786 |
+
1
|
| 1787 |
+
],
|
| 1788 |
+
[
|
| 1789 |
+
"Code",
|
| 1790 |
+
1
|
| 1791 |
+
],
|
| 1792 |
+
[
|
| 1793 |
+
"PageFooter",
|
| 1794 |
+
1
|
| 1795 |
+
],
|
| 1796 |
+
[
|
| 1797 |
+
"FigureGroup",
|
| 1798 |
+
1
|
| 1799 |
+
],
|
| 1800 |
+
[
|
| 1801 |
+
"Reference",
|
| 1802 |
+
1
|
| 1803 |
+
]
|
| 1804 |
+
],
|
| 1805 |
+
"block_metadata": {
|
| 1806 |
+
"llm_request_count": 0,
|
| 1807 |
+
"llm_error_count": 0,
|
| 1808 |
+
"llm_tokens_used": 0,
|
| 1809 |
+
"previous_text": "",
|
| 1810 |
+
"previous_type": "",
|
| 1811 |
+
"previous_order": 0
|
| 1812 |
+
}
|
| 1813 |
+
},
|
| 1814 |
+
{
|
| 1815 |
+
"page_id": 14,
|
| 1816 |
+
"text_extraction_method": "pdftext",
|
| 1817 |
+
"block_counts": [
|
| 1818 |
+
[
|
| 1819 |
+
"Span",
|
| 1820 |
+
222
|
| 1821 |
+
],
|
| 1822 |
+
[
|
| 1823 |
+
"Line",
|
| 1824 |
+
109
|
| 1825 |
+
],
|
| 1826 |
+
[
|
| 1827 |
+
"PageHeader",
|
| 1828 |
+
1
|
| 1829 |
+
],
|
| 1830 |
+
[
|
| 1831 |
+
"Code",
|
| 1832 |
+
1
|
| 1833 |
+
],
|
| 1834 |
+
[
|
| 1835 |
+
"PageFooter",
|
| 1836 |
+
1
|
| 1837 |
+
]
|
| 1838 |
+
],
|
| 1839 |
+
"block_metadata": {
|
| 1840 |
+
"llm_request_count": 0,
|
| 1841 |
+
"llm_error_count": 0,
|
| 1842 |
+
"llm_tokens_used": 0,
|
| 1843 |
+
"previous_text": "",
|
| 1844 |
+
"previous_type": "",
|
| 1845 |
+
"previous_order": 0
|
| 1846 |
+
}
|
| 1847 |
+
},
|
| 1848 |
+
{
|
| 1849 |
+
"page_id": 15,
|
| 1850 |
+
"text_extraction_method": "pdftext",
|
| 1851 |
+
"block_counts": [
|
| 1852 |
+
[
|
| 1853 |
+
"Span",
|
| 1854 |
+
272
|
| 1855 |
+
],
|
| 1856 |
+
[
|
| 1857 |
+
"Line",
|
| 1858 |
+
104
|
| 1859 |
+
],
|
| 1860 |
+
[
|
| 1861 |
+
"Text",
|
| 1862 |
+
5
|
| 1863 |
+
],
|
| 1864 |
+
[
|
| 1865 |
+
"Code",
|
| 1866 |
+
3
|
| 1867 |
+
],
|
| 1868 |
+
[
|
| 1869 |
+
"SectionHeader",
|
| 1870 |
+
3
|
| 1871 |
+
],
|
| 1872 |
+
[
|
| 1873 |
+
"PageHeader",
|
| 1874 |
+
1
|
| 1875 |
+
],
|
| 1876 |
+
[
|
| 1877 |
+
"PageFooter",
|
| 1878 |
+
1
|
| 1879 |
+
]
|
| 1880 |
+
],
|
| 1881 |
+
"block_metadata": {
|
| 1882 |
+
"llm_request_count": 0,
|
| 1883 |
+
"llm_error_count": 0,
|
| 1884 |
+
"llm_tokens_used": 0,
|
| 1885 |
+
"previous_text": "",
|
| 1886 |
+
"previous_type": "",
|
| 1887 |
+
"previous_order": 0
|
| 1888 |
+
}
|
| 1889 |
+
},
|
| 1890 |
+
{
|
| 1891 |
+
"page_id": 16,
|
| 1892 |
+
"text_extraction_method": "pdftext",
|
| 1893 |
+
"block_counts": [
|
| 1894 |
+
[
|
| 1895 |
+
"Span",
|
| 1896 |
+
220
|
| 1897 |
+
],
|
| 1898 |
+
[
|
| 1899 |
+
"Line",
|
| 1900 |
+
97
|
| 1901 |
+
],
|
| 1902 |
+
[
|
| 1903 |
+
"Text",
|
| 1904 |
+
3
|
| 1905 |
+
],
|
| 1906 |
+
[
|
| 1907 |
+
"PageHeader",
|
| 1908 |
+
1
|
| 1909 |
+
],
|
| 1910 |
+
[
|
| 1911 |
+
"SectionHeader",
|
| 1912 |
+
1
|
| 1913 |
+
],
|
| 1914 |
+
[
|
| 1915 |
+
"Code",
|
| 1916 |
+
1
|
| 1917 |
+
],
|
| 1918 |
+
[
|
| 1919 |
+
"PageFooter",
|
| 1920 |
+
1
|
| 1921 |
+
]
|
| 1922 |
+
],
|
| 1923 |
+
"block_metadata": {
|
| 1924 |
+
"llm_request_count": 0,
|
| 1925 |
+
"llm_error_count": 0,
|
| 1926 |
+
"llm_tokens_used": 0,
|
| 1927 |
+
"previous_text": "",
|
| 1928 |
+
"previous_type": "",
|
| 1929 |
+
"previous_order": 0
|
| 1930 |
+
}
|
| 1931 |
+
},
|
| 1932 |
+
{
|
| 1933 |
+
"page_id": 17,
|
| 1934 |
+
"text_extraction_method": "pdftext",
|
| 1935 |
+
"block_counts": [
|
| 1936 |
+
[
|
| 1937 |
+
"Span",
|
| 1938 |
+
197
|
| 1939 |
+
],
|
| 1940 |
+
[
|
| 1941 |
+
"Line",
|
| 1942 |
+
93
|
| 1943 |
+
],
|
| 1944 |
+
[
|
| 1945 |
+
"Text",
|
| 1946 |
+
4
|
| 1947 |
+
],
|
| 1948 |
+
[
|
| 1949 |
+
"PageHeader",
|
| 1950 |
+
1
|
| 1951 |
+
],
|
| 1952 |
+
[
|
| 1953 |
+
"SectionHeader",
|
| 1954 |
+
1
|
| 1955 |
+
],
|
| 1956 |
+
[
|
| 1957 |
+
"Code",
|
| 1958 |
+
1
|
| 1959 |
+
],
|
| 1960 |
+
[
|
| 1961 |
+
"PageFooter",
|
| 1962 |
+
1
|
| 1963 |
+
]
|
| 1964 |
+
],
|
| 1965 |
+
"block_metadata": {
|
| 1966 |
+
"llm_request_count": 0,
|
| 1967 |
+
"llm_error_count": 0,
|
| 1968 |
+
"llm_tokens_used": 0,
|
| 1969 |
+
"previous_text": "",
|
| 1970 |
+
"previous_type": "",
|
| 1971 |
+
"previous_order": 0
|
| 1972 |
+
}
|
| 1973 |
+
},
|
| 1974 |
+
{
|
| 1975 |
+
"page_id": 18,
|
| 1976 |
+
"text_extraction_method": "pdftext",
|
| 1977 |
+
"block_counts": [
|
| 1978 |
+
[
|
| 1979 |
+
"Span",
|
| 1980 |
+
197
|
| 1981 |
+
],
|
| 1982 |
+
[
|
| 1983 |
+
"Line",
|
| 1984 |
+
88
|
| 1985 |
+
],
|
| 1986 |
+
[
|
| 1987 |
+
"Text",
|
| 1988 |
+
2
|
| 1989 |
+
],
|
| 1990 |
+
[
|
| 1991 |
+
"PageHeader",
|
| 1992 |
+
1
|
| 1993 |
+
],
|
| 1994 |
+
[
|
| 1995 |
+
"Code",
|
| 1996 |
+
1
|
| 1997 |
+
],
|
| 1998 |
+
[
|
| 1999 |
+
"PageFooter",
|
| 2000 |
+
1
|
| 2001 |
+
]
|
| 2002 |
+
],
|
| 2003 |
+
"block_metadata": {
|
| 2004 |
+
"llm_request_count": 0,
|
| 2005 |
+
"llm_error_count": 0,
|
| 2006 |
+
"llm_tokens_used": 0,
|
| 2007 |
+
"previous_text": "",
|
| 2008 |
+
"previous_type": "",
|
| 2009 |
+
"previous_order": 0
|
| 2010 |
+
}
|
| 2011 |
+
},
|
| 2012 |
+
{
|
| 2013 |
+
"page_id": 19,
|
| 2014 |
+
"text_extraction_method": "pdftext",
|
| 2015 |
+
"block_counts": [
|
| 2016 |
+
[
|
| 2017 |
+
"Span",
|
| 2018 |
+
202
|
| 2019 |
+
],
|
| 2020 |
+
[
|
| 2021 |
+
"Line",
|
| 2022 |
+
91
|
| 2023 |
+
],
|
| 2024 |
+
[
|
| 2025 |
+
"PageHeader",
|
| 2026 |
+
1
|
| 2027 |
+
],
|
| 2028 |
+
[
|
| 2029 |
+
"Code",
|
| 2030 |
+
1
|
| 2031 |
+
],
|
| 2032 |
+
[
|
| 2033 |
+
"PageFooter",
|
| 2034 |
+
1
|
| 2035 |
+
],
|
| 2036 |
+
[
|
| 2037 |
+
"Text",
|
| 2038 |
+
1
|
| 2039 |
+
]
|
| 2040 |
+
],
|
| 2041 |
+
"block_metadata": {
|
| 2042 |
+
"llm_request_count": 0,
|
| 2043 |
+
"llm_error_count": 0,
|
| 2044 |
+
"llm_tokens_used": 0,
|
| 2045 |
+
"previous_text": "",
|
| 2046 |
+
"previous_type": "",
|
| 2047 |
+
"previous_order": 0
|
| 2048 |
+
}
|
| 2049 |
+
},
|
| 2050 |
+
{
|
| 2051 |
+
"page_id": 20,
|
| 2052 |
+
"text_extraction_method": "pdftext",
|
| 2053 |
+
"block_counts": [
|
| 2054 |
+
[
|
| 2055 |
+
"Span",
|
| 2056 |
+
224
|
| 2057 |
+
],
|
| 2058 |
+
[
|
| 2059 |
+
"Line",
|
| 2060 |
+
103
|
| 2061 |
+
],
|
| 2062 |
+
[
|
| 2063 |
+
"PageHeader",
|
| 2064 |
+
1
|
| 2065 |
+
],
|
| 2066 |
+
[
|
| 2067 |
+
"Code",
|
| 2068 |
+
1
|
| 2069 |
+
],
|
| 2070 |
+
[
|
| 2071 |
+
"PageFooter",
|
| 2072 |
+
1
|
| 2073 |
+
],
|
| 2074 |
+
[
|
| 2075 |
+
"Text",
|
| 2076 |
+
1
|
| 2077 |
+
]
|
| 2078 |
+
],
|
| 2079 |
+
"block_metadata": {
|
| 2080 |
+
"llm_request_count": 0,
|
| 2081 |
+
"llm_error_count": 0,
|
| 2082 |
+
"llm_tokens_used": 0,
|
| 2083 |
+
"previous_text": "",
|
| 2084 |
+
"previous_type": "",
|
| 2085 |
+
"previous_order": 0
|
| 2086 |
+
}
|
| 2087 |
+
},
|
| 2088 |
+
{
|
| 2089 |
+
"page_id": 21,
|
| 2090 |
+
"text_extraction_method": "pdftext",
|
| 2091 |
+
"block_counts": [
|
| 2092 |
+
[
|
| 2093 |
+
"Span",
|
| 2094 |
+
226
|
| 2095 |
+
],
|
| 2096 |
+
[
|
| 2097 |
+
"Line",
|
| 2098 |
+
100
|
| 2099 |
+
],
|
| 2100 |
+
[
|
| 2101 |
+
"Code",
|
| 2102 |
+
2
|
| 2103 |
+
],
|
| 2104 |
+
[
|
| 2105 |
+
"Text",
|
| 2106 |
+
2
|
| 2107 |
+
],
|
| 2108 |
+
[
|
| 2109 |
+
"PageHeader",
|
| 2110 |
+
1
|
| 2111 |
+
],
|
| 2112 |
+
[
|
| 2113 |
+
"SectionHeader",
|
| 2114 |
+
1
|
| 2115 |
+
],
|
| 2116 |
+
[
|
| 2117 |
+
"PageFooter",
|
| 2118 |
+
1
|
| 2119 |
+
]
|
| 2120 |
+
],
|
| 2121 |
+
"block_metadata": {
|
| 2122 |
+
"llm_request_count": 0,
|
| 2123 |
+
"llm_error_count": 0,
|
| 2124 |
+
"llm_tokens_used": 0,
|
| 2125 |
+
"previous_text": "",
|
| 2126 |
+
"previous_type": "",
|
| 2127 |
+
"previous_order": 0
|
| 2128 |
+
}
|
| 2129 |
+
},
|
| 2130 |
+
{
|
| 2131 |
+
"page_id": 22,
|
| 2132 |
+
"text_extraction_method": "pdftext",
|
| 2133 |
+
"block_counts": [
|
| 2134 |
+
[
|
| 2135 |
+
"Span",
|
| 2136 |
+
210
|
| 2137 |
+
],
|
| 2138 |
+
[
|
| 2139 |
+
"Line",
|
| 2140 |
+
98
|
| 2141 |
+
],
|
| 2142 |
+
[
|
| 2143 |
+
"Code",
|
| 2144 |
+
2
|
| 2145 |
+
],
|
| 2146 |
+
[
|
| 2147 |
+
"Text",
|
| 2148 |
+
2
|
| 2149 |
+
],
|
| 2150 |
+
[
|
| 2151 |
+
"PageHeader",
|
| 2152 |
+
1
|
| 2153 |
+
],
|
| 2154 |
+
[
|
| 2155 |
+
"SectionHeader",
|
| 2156 |
+
1
|
| 2157 |
+
],
|
| 2158 |
+
[
|
| 2159 |
+
"PageFooter",
|
| 2160 |
+
1
|
| 2161 |
+
]
|
| 2162 |
+
],
|
| 2163 |
+
"block_metadata": {
|
| 2164 |
+
"llm_request_count": 0,
|
| 2165 |
+
"llm_error_count": 0,
|
| 2166 |
+
"llm_tokens_used": 0,
|
| 2167 |
+
"previous_text": "",
|
| 2168 |
+
"previous_type": "",
|
| 2169 |
+
"previous_order": 0
|
| 2170 |
+
}
|
| 2171 |
+
},
|
| 2172 |
+
{
|
| 2173 |
+
"page_id": 23,
|
| 2174 |
+
"text_extraction_method": "surya",
|
| 2175 |
+
"block_counts": [
|
| 2176 |
+
[
|
| 2177 |
+
"Line",
|
| 2178 |
+
139
|
| 2179 |
+
],
|
| 2180 |
+
[
|
| 2181 |
+
"Span",
|
| 2182 |
+
112
|
| 2183 |
+
],
|
| 2184 |
+
[
|
| 2185 |
+
"Text",
|
| 2186 |
+
32
|
| 2187 |
+
],
|
| 2188 |
+
[
|
| 2189 |
+
"SectionHeader",
|
| 2190 |
+
5
|
| 2191 |
+
],
|
| 2192 |
+
[
|
| 2193 |
+
"Reference",
|
| 2194 |
+
2
|
| 2195 |
+
],
|
| 2196 |
+
[
|
| 2197 |
+
"PageHeader",
|
| 2198 |
+
1
|
| 2199 |
+
],
|
| 2200 |
+
[
|
| 2201 |
+
"Code",
|
| 2202 |
+
1
|
| 2203 |
+
],
|
| 2204 |
+
[
|
| 2205 |
+
"Equation",
|
| 2206 |
+
1
|
| 2207 |
+
],
|
| 2208 |
+
[
|
| 2209 |
+
"PageFooter",
|
| 2210 |
+
1
|
| 2211 |
+
]
|
| 2212 |
+
],
|
| 2213 |
+
"block_metadata": {
|
| 2214 |
+
"llm_request_count": 0,
|
| 2215 |
+
"llm_error_count": 0,
|
| 2216 |
+
"llm_tokens_used": 0,
|
| 2217 |
+
"previous_text": "",
|
| 2218 |
+
"previous_type": "",
|
| 2219 |
+
"previous_order": 0
|
| 2220 |
+
}
|
| 2221 |
+
},
|
| 2222 |
+
{
|
| 2223 |
+
"page_id": 24,
|
| 2224 |
+
"text_extraction_method": "pdftext",
|
| 2225 |
+
"block_counts": [
|
| 2226 |
+
[
|
| 2227 |
+
"Span",
|
| 2228 |
+
235
|
| 2229 |
+
],
|
| 2230 |
+
[
|
| 2231 |
+
"Line",
|
| 2232 |
+
83
|
| 2233 |
+
],
|
| 2234 |
+
[
|
| 2235 |
+
"Text",
|
| 2236 |
+
5
|
| 2237 |
+
],
|
| 2238 |
+
[
|
| 2239 |
+
"PageHeader",
|
| 2240 |
+
1
|
| 2241 |
+
],
|
| 2242 |
+
[
|
| 2243 |
+
"PageFooter",
|
| 2244 |
+
1
|
| 2245 |
+
]
|
| 2246 |
+
],
|
| 2247 |
+
"block_metadata": {
|
| 2248 |
+
"llm_request_count": 0,
|
| 2249 |
+
"llm_error_count": 0,
|
| 2250 |
+
"llm_tokens_used": 0,
|
| 2251 |
+
"previous_text": "",
|
| 2252 |
+
"previous_type": "",
|
| 2253 |
+
"previous_order": 0
|
| 2254 |
+
}
|
| 2255 |
+
}
|
| 2256 |
+
],
|
| 2257 |
+
"debug_data_path": "debug_data/640e44ec-91da-4d38-9b9a-4a3a20ad15d0"
|
| 2258 |
+
}
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/model_text_v3.txt
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[p. 1 | section: Abstract | type: Text]
|
| 2 |
+
Research on self-evolving language agents progresses, increasing attention has focused on their ability to create, adapt, and maintain tools from task requirements.However, existing benchmarks predominantly rely on pre-defined specifications, which limits scalability and hinders true autonomous evolution. While recent studies attempt to dynamically generate tools, they primarily focus on downstream performance, creating a "black box" evaluation that makes it difficult to accurately attribute the causes of failure.To address this, we propose Tool-Genesis, a diagnostic benchmark designed to quantify agent capabilities across multiple dimensions—from interface compliance and functional correctness to downstream utility. It evaluates the ability of agents to construct task-relevant tools solely from abstract requirements (without pre-set specifications) and solve realistic problems.Crucially, we find that even state-of-the-art models struggle to construct precise tool interfaces or executable logic in a one-shot setting. These minor initial flaws are amplified through the pipeline, leading to a precipitous drop in downstream metrics. We hope this benchmark will guide future research toward steering models to synthesize persistent, general-purpose tools capable of addressing broader real-world challenges.Project page:
|
| 3 |
+
|
| 4 |
+
[p. 1 | section: 1. Introduction | type: Text]
|
| 5 |
+
Prior work has established a "reason–call–execute" paradigm, typically assuming reliable tool interfaces and schemas, where tools are treated as callable functions with well-defined inputs/outputs and stable semantics.(e.g.,
|
| 6 |
+
|
| 7 |
+
[p. 1 | section: 1. Introduction | type: FigureGroup]
|
| 8 |
+
Figure 1. Comparison of tool creation paradigms: (a) Outcome-Driven: Ad-hoc solving with disposable scripts; (b) Code-Centric: Spec-based translation with limited safety; (c) Tool-Genesis(Ours): Inductive design for verified, reusable assets.
|
| 9 |
+
|
| 10 |
+
[p. 1 | section: 1. Introduction | type: Text]
|
| 11 |
+
(Karpas et al., 2022; Yao et al., 2023; Schick et al., 2023) ), with benchmarks further standardizing the evaluation (e.g., (Patil et al., 2023; Qin et al., 2023a; Li et al., 2023; Anony mous, 2023; Guo et al., 2024; Berkeley Function Call ing Leaderboard (BFCL) Team, 2024; Wang et al., 2024a; Huang et al., 2024; Zhang et al., 2025c; Shi et al., 2024; Wang et al., 2024b) ). In this paradigm, tool use is largely reduced to selecting an API, filling arguments, and executing calls under a fixed contract, while success is measured by answer correctness or call-level validity. In realistic deployments, however, this assumption often breaks due to missing specifications, evolving APIs, uncovered long-tail needs, or execution failures caused by bugs. Even small interface ambiguities (e.g., optional fields, implicit constraints, undocumented edge cases) can cascade into repeated execution errors and brittle agent behaviors, especially when the task requires multi-step composition across tools. As a result, agents must evolve from merely using tools to creating , adapting , and repairing tools from abstract requirements, and to distilling reusable pipelines into maintainable tool assets—a core mechanism of self-evolving language agents
|
| 12 |
+
|
| 13 |
+
[p. 2 | section: 1. Introduction | type: TableGroup]
|
| 14 |
+
Benchmark Scale (Reported) I. Artifacts Required II. Verification Signals Tool Sets Avg Tools # Domains No Doc Schema Gen Reuse Tool Toolset (≥ 2) Held-out UnitTests Neg Tests GT Tools CREATOR (Qian et al., 2023b) 2K 1 9 ✗ ✗ ✓ ✓ ✗ ✗ ✗ LATM (Cai et al., 2024) 6 1 6 ✓ ✗ ✗ ✗ ✗ ✗ ✗ CRAFT (Yuan et al., 2024) 150 3 3 ✗ ✗ ✓ ✓ ✗ ✗ ✗ TM-Bench (Wölflein et al., 2025) 15 1 4 ✓ ✗ ✓ ✗ ✓ ✗ ✗ SciEvo (Zhang et al., 2025a) 925 6 25 ✓ ✗ ✓ ✗ ✓ ✗ ✗ TOOL-GENESIS (Ours) 86 6 24 ✓ ✓ ✓ ✓ ✓ ✓ ✓ Table 1. Feature-wise comparison of representative tool-creation benchmarks under a strict binary rubric. Held-out UnitTests indicates tests/invocations are not available during tool creation and used strictly for evaluation (e.g., TM-Bench).
|
| 15 |
+
|
| 16 |
+
[p. 2 | section: 1. Introduction | type: Text]
|
| 17 |
+
that improve over long-horizon task distributions (Wu et al., 2024; Tan et al., 2024) .
|
| 18 |
+
|
| 19 |
+
[p. 2 | section: 1. Introduction | type: Text]
|
| 20 |
+
Despite steady progress, when the goal is to evaluate this self-evolving capability along the tool dimension under deployment-like constraints, existing benchmarks exhibit three practical disconnects. First, most evaluations remain spec-first: they assume that interfaces or schemas are directly available, or implicitly rely on high-quality reference specifications. This emphasizes correctness under predefined contracts, while the end-to-end capability of inferring interface contracts from requirements and producing machine-checkable schemas is not systematically measured. Second, regarding tool organization, many settings primarily evaluate the scale or diversity of tool collections rather than the construction of a scenario-closed toolbox. They often overlook the agent's ability to distill capabilities into a cohesive, maintainable toolset that covers key sub-processes of a specific real-world scenario (e.g., Yuan et al., 2024; Wang et al., 2024c; Zhao et al., 2025; Huang et al., 2025; Qian et al., 2024) . Third, and most critically, evaluation signals are often outcome-centric, creating a "black box" dilemma. Benchmarks frequently rely on final answers or coarse call-level checks. Even when unit tests are used, their coverage and attribution granularity vary widely. This makes it difficult to disentangle whether a failure stems from defective tool construction (e.g., invalid schemas, logic bugs) or suboptimal tool utilization strategies, obscuring the specific stage where the error occurred (e.g., Zhang et al., 2025b; Wölflein et al., 2025; Guo et al., 2024; Anonymous, 2024; Lu et al., 2024) .
|
| 21 |
+
|
| 22 |
+
[p. 2 | section: 1. Introduction | type: Text]
|
| 23 |
+
To address these deployment-facing gaps, we introduce Tool-Genesis, a diagnostic benchmark designed to decouple tool generation from tool utilization. Unlike spec-first settings, Tool-Genesis evaluates agents under missing or underspecified interfaces, requiring them to infer contracts from abstract requirements, generate machine-checkable schemas, and produce executable implementations that satisfy criteria for reuse and maintenance. Crucially, our protocol serves as a diagnostic probe: it reveals that even state-ofthe-art models struggle to construct precise tool interfaces
|
| 24 |
+
|
| 25 |
+
[p. 2 | section: 1. Introduction | type: Text]
|
| 26 |
+
or logic in a one-shot setting. These minor initial flaws are amplified through the pipeline, leading to precipitous drops in downstream metrics. By shifting the target from one-off scripts to reusable tool assets, Tool-Genesis evaluates whether agents can continuously distill capabilities to cover a scenario's task distribution. Finally, we provide a unified, full-lifecycle evaluation protocol that jointly measures compliance, server executability, schema consistency, and functional validation (via explicit negative/boundary tests). We also introduce an oracle-normalized upper bound to quantify the utility gap between generated tool assets and reference tools.
|
| 27 |
+
|
| 28 |
+
[p. 2 | section: 1. Introduction | type: ListGroup]
|
| 29 |
+
Benchmark setting. We formalize a requirement-driven tool-creation setting that elevates toolsets as reusable assets. It evaluates creation under missing specifications, focusing on the agent's ability to infer schemas and implement executable logic from abstract requirements. Diagnostic evaluation protocol. We provide a fulllifecycle, execution-grounded protocol designed to disentangle failure causes. By incorporating multi-level signals—including compliance, schema fidelity, and explicit negative/boundary unit tests—we enable precise attribution of errors to either tool quality or usage strategy, addressing the "black box" issue. Oracle-normalized utility gap. We introduce an oraclenormalized upper-bound comparison to quantify the utility gap between generated tool assets and reference tools under the same task distribution, providing a clearer measure of practical self-evolution capability.
|
| 30 |
+
|
| 31 |
+
[p. 2 | section: 2.1. Task Definition | type: Text]
|
| 32 |
+
We formalize TOOL GENESIS as a conditional generation problem over Model Context Protocol (MCP) interfaces. Let X denote the natural-language task description, S the space of valid MCP interface schemas, and E the space of
|
| 33 |
+
|
| 34 |
+
[p. 3 | section: 2.1. Task Definition | type: FigureGroup]
|
| 35 |
+
Figure 2. Dataset construction pipeline of TOOL GENESIS.
|
| 36 |
+
|
| 37 |
+
[p. 3 | section: 2.1. Task Definition | type: Text]
|
| 38 |
+
executable server implementations. An MCP schema s ∈ S is represented as an ordered list of atomic tool definitions, s = [t1, . . . , tK], where each tool t k = ⟨ηk, ϕk, δk⟩ consists of a unique invocation identifier ηk, a parameter interface ϕ k specified by a JSON-schema-like typed signature with constraints, and a natural-language description δ k grounding its intended semantics and usage.
|
| 39 |
+
|
| 40 |
+
[p. 3 | section: 2.1. Task Definition | type: Text]
|
| 41 |
+
We decompose the tool creation process into two coupled prediction phases: Tool Interface Prediction and Tool Materialization. Formally, the joint probability of producing a schema s and an implementation e given requirement x is factorized as:
|
| 42 |
+
|
| 43 |
+
[p. 3 | section: 2.1. Task Definition | type: Equation]
|
| 44 |
+
P_{\theta}(s, e \mid x) = \underbrace{P_{\theta}(s \mid x)}_{\text{Interface Prediction}} \cdot \underbrace{P_{\theta}(e \mid s)}_{\text{Materialization}}. \tag{1}
|
| 45 |
+
|
| 46 |
+
[p. 3 | section: 2.1. Task Definition | type: Text]
|
| 47 |
+
In the first phase, the model predicts an interface schema sˆ = arg maxs∈S Pθ(s | x), specifying the structured tool signatures. In the second phase, conditioned on a schema scond, the model materializes an executable server implementation via eˆ = arg maxe∈E Pθ(e | scond). We evaluate this materialization under two settings: Oracle Materializa tion , where scond = s ∗ (ground truth) to isolate engineering capability, and Cascaded Materialization , where scond = ˆs (predicted schema) to assess end-to-end performance.
|
| 48 |
+
|
| 49 |
+
[p. 3 | section: 2.2. Metrics | type: Text]
|
| 50 |
+
We evaluate tool creation with a four-level metric suite (Appendix A) : (i) Level 1 (Surface Compliance) reports Compliance Rate and Server Execution Rate. Compliance Rate measures whether list_tools returns a parseable, MCPcompliant registry, while Server Execution Rate measures whether the server launches and remains responsive under fixed timeouts. (ii) Level 2 (Semantic Interface Fidelity)
|
| 51 |
+
|
| 52 |
+
[p. 3 | section: 2.2. Metrics | type: Text]
|
| 53 |
+
reports Schema-F1, quantifying schema-level fidelity by aligning predicted and reference tools via bipartite matching and computing an F1 score over tool interfaces. (iii) Level 3 (Functional Correctness) reports UTsoft and UThard, which measure the fraction of tools passing predefined Unit Tests under relaxed and strict (boundary/negative) criteria, respectively. (iv) Level 4 (Downstream Task Utility) assesses the end-to-end practical efficacy by employing a fixed proxy agent (qwen3-14b-instruct) to solve benchmark tasks equipped with the generated tools. To rigorously isolate tool quality from solver capability, we conduct a parallel control experiment using ground-truth reference tools, with all final outcomes evaluated by an LLM-as-a-Judge. This comparative setup allows us to report an Oracle-Normalized Success Rate (SR), which quantifies the utility of the synthesized tools relative to the upper-bound performance achieved by the optimal reference implementation under the same experimental conditions.
|
| 54 |
+
|
| 55 |
+
[p. 3 | section: 3. Dataset Construction | type: Text]
|
| 56 |
+
This section describes the dataset construction pipeline of TOOL GENESIS. It covers Compliant MCP-server Data Collection ( §3.1) , High-Quality Task & Trajectory Genera tion ( §3.2) , Comprehensive Unit Test Generation ( §3.3) , and Manual Quality Inspection ( §3.4) . The overall procedure is illustrated in Figure 2. Detailed prompts, rubrics, thresholds, and implementation specifics are provided in Appendix B.
|
| 57 |
+
|
| 58 |
+
[p. 3 | section: 3.1. Compliant MCP-server Data Collection | type: Text]
|
| 59 |
+
MCP Crawling: We collect MCP servers from web sources: (i) MCP aggregators (GLMA, Smithery), (ii) GitHub search and curated lists, and (iii) HuggingFace (e.g., Toucan) in
|
| 60 |
+
|
| 61 |
+
[p. 4 | section: 3.1. Compliant MCP-server Data Collection | type: Text]
|
| 62 |
+
Aug–Sep 2025. We keep source links and server metadata (server_name, description), without mirroring repositories. We obtain tool registries by launching servers and calling list_tools, falling back to static registries/specifications when needed. Schemas are normalized using server_name and tool_name as server/tool IDs.
|
| 63 |
+
|
| 64 |
+
[p. 4 | section: 3.1. Compliant MCP-server Data Collection | type: Text]
|
| 65 |
+
MCP-server Filtering. We apply a four-stage filtering pipeline to construct a high-quality MCP-server dataset. (i) Structure Validation enforces that each server exposes a parseable tool registry with well-formed tool names, descriptions, and input schemas. (ii) Executable Validation removes servers that cannot be reliably launched or invoked in a sandboxed environment. (iii) Deduplication & Clustering reduces redundancy by grouping servers with similar schema-level interfaces and retaining a single representative per group. (iv) LLM Semantic Validation filters servers that require external credentials or exhibit high sandbox requirements, ensuring safe and self-contained execution. The remaining servers form the MCP-server Dataset Dsrv (86 servers).
|
| 66 |
+
|
| 67 |
+
[p. 4 | section: 3.2. High-Quality Task & Trajectory Generation | type: Text]
|
| 68 |
+
Task generation and filtering. We follow a Toucan-style LLM-driven pipeline (Xu et al., 2025) to synthesize tasks. For each server, an LLM is prompted with tool schemas (and docs, if any) to generate tasks, expanded along breadth (distinct scenarios and tool subsets) and depth (multi-step tasks with more tool calls).To ensure high data diversity, we further employ a rejection sampling strategy that penalizes redundant tool combinations, forcing the LLM to explore edge cases and rare parameter configurations. An LLM-as-judge scores candidates on a fixed 1–5 Likert rubric (quality, realism, verifiability, stability) and assesses solv ability ; we retain only tasks with all dimensions > 3 and solvable=true.
|
| 69 |
+
|
| 70 |
+
[p. 4 | section: 3.2. High-Quality Task & Trajectory Generation | type: Text]
|
| 71 |
+
Trajectory generation and filtering. For each retained task, we generate execution trajectories by running an agent in a sandbox(to support servers requiring network access).This sandbox execution ensures that each trajectory is grounded in real-time tool feedback, allowing us to filter out "hallucinated" successful executions that do not reflect actual API behaviors. We apply lightweight rule-based checks (parseable calls, valid responses) and employ LLM-as-ajudge to verify consistency and completion and penalize redundancy; we retain trajectories with completion and conciseness > 3 and complete=true, with solvability and completion judged by the LLM.
|
| 72 |
+
|
| 73 |
+
[p. 4 | section: 3.3. Comprehensive Unit Test Generation | type: Text]
|
| 74 |
+
Unit test generation. We extract unit tests from Dtraj by converting replayable tool-call steps (executable in the sandbox) into a unified format (tool_name, inputs, expected
|
| 75 |
+
|
| 76 |
+
[p. 4 | section: 3.3. Comprehensive Unit Test Generation | type: FigureGroup]
|
| 77 |
+
Figure 3. Comparison of benchmarks in terms of task reasoning depth and tool compositionality.
|
| 78 |
+
|
| 79 |
+
[p. 4 | section: 3.3. Comprehensive Unit Test Generation | type: Text]
|
| 80 |
+
outputs), retaining up to 100 tests per server for coverage. When extraction provides insufficient coverage for a tool, we synthesize additional tests with an LLM conditioned on the tool schema, targeting diverse valid calls.
|
| 81 |
+
|
| 82 |
+
[p. 4 | section: 3.3. Comprehensive Unit Test Generation | type: Text]
|
| 83 |
+
Unit test filtering. We apply two post-filters for quality and deduplication. (i) Parameter-based filtering removes tests with invalid inputs, type errors, or disallowed dependencies. (ii) We cluster tests per tool to merge near-duplicates and keep representatives, embedding normalized (input, output) pairs and merging those with cosine similarity ≥ 0.9.
|
| 84 |
+
|
| 85 |
+
[p. 4 | section: 3.4. Manual Quality Inspection | type: Text]
|
| 86 |
+
Manual Annotation: (i) MCP-server Data Consistency Check—verify schema/version consistency, stable unique IDs, split integrity, and formatting rules; (ii) Task Tool Functionality Match—confirm that referenced tools exist in the registry, required arguments are schema-compatible, and the task intent aligns with documented tool functionality; (iii) Trajectory Validity Check—ensure trajectories satisfy task constraints with coherent ordering, contain no malformed tool calls, and have no forbidden dependencies; (iv) Unit Test Coverage Check—check that tests cover diverse tools and parameter regimes, meet per-server coverage targets, and avoid redundancy.
|
| 87 |
+
|
| 88 |
+
[p. 4 | section: 3.4. Manual Quality Inspection | type: Text]
|
| 89 |
+
Manual Review. All instances are manually re-checked by graduate-level reviewers (3 annotators over two weeks) in multiple passes. Reviewers conduct both instance-level inspection (task statement, referenced tools, trajectories, and unit tests) and cross-file consistency checks (registry ↔ task ↔ trajectory ↔ tests), correcting minor issues when possible and removing samples that violate any requirement. In particular, they (a) verify that each task is solvable using only the declared toolset and does not rely on hidden assumptions; (b) validate that every tool call conforms to the declared schema (argument names/types, required fields, and return usage); (c) check that trajectories are coherent and free of malformed calls, missing steps, or forbidden ex-
|
| 90 |
+
|
| 91 |
+
[p. 5 | section: 3.4. Manual Quality Inspection | type: Table]
|
| 92 |
+
Foundation & Core Tech Data Intelligence & Automation Productivity & Workflow Creative & Digital Life Services & Emerging Fields General & Others Operating System Core software platform AI/ML Tools Intelligent algorithms Daily Productivity Task management Content Creation Media generation Financial Services Banking & finance Web Search & Research Information retrieval Memory Management System resource optimization Data Analysis Insights from data Time & Calendar Scheduling & planning Social Media Networking platforms Health & Fitness Wellness tracking Education Learning resources Database Operations Data storage & management Browser Automation Web task scripting Communication Tools Messaging & collaboration Gaming Interactive entertainment Travel & Maps Navigation & trips Weather Forecast services Security & Authentication Protection & identity Development Tools Software building File Management Organization & storage API Integration Connecting services Crypto & Blockchain Decentralized finance Others Miscellaneous categories
|
| 93 |
+
|
| 94 |
+
[p. 5 | section: 3.4. Manual Quality Inspection | type: TableGroup]
|
| 95 |
+
Statistic Number MCP-servers 86 Total Tools 508 Domain classes 24 Label classes 18 Unit test 9441 Total tasks 2150 Average task length 53 Average step length 6 Average tool-using length 3 Figure 4. Overview statistics of TOOL GENESIS. Left: functional domain coverage of MCP servers across 24 domain classes. Right: dataset scale and task/trajectory structure statistics.
|
| 96 |
+
|
| 97 |
+
[p. 5 | section: 3.4. Manual Quality Inspection | type: Text]
|
| 98 |
+
ternal dependencies; and (d) inspect unit tests to ensure they include both positive and negative/boundary cases, span representative parameter regimes, and do not leak answers or duplicate existing tests. We retain an instance only when at least two annotators independently agree on accept/reject, and the inter-annotator agreement on accept/reject decisions reaches a Cohen's κ of 0.85 (Landis & Koch, 1977) . Finally, after edits and removals, we perform a final end-to-end recheck on the finalized dataset to ensure each retained instance meets all constraints and yields a coherent tool-use process.
|
| 99 |
+
|
| 100 |
+
[p. 5 | section: 4. Data Analysis | type: Text]
|
| 101 |
+
Overall scale. Figure 4 summarizes the scale of TOOL GEN-ESIS. After filtering and manual inspection, the dataset contains 86 executable MCP servers with 508 tools, spanning 24 domain classes. We collect 2,150 tasks and 9,441 unit tests, covering 18 task label classes. These statistics provide a concise overview of the benchmark size across servers, tools, tasks, and tests.
|
| 102 |
+
|
| 103 |
+
[p. 5 | section: 4. Data Analysis | type: Text]
|
| 104 |
+
Domain coverage. The retained MCP servers span a diverse set of functional domains. The 24 domain classes are grouped into six high-level categories, covering foundational system tools, data intelligence and automation, productivity and workflow utilities, creative and digital-life applications, service-oriented domains (e.g., finance, health, travel), and general-purpose tools. The distribution includes both commonly used domains and a long tail of more specialized categories.
|
| 105 |
+
|
| 106 |
+
[p. 5 | section: 4. Data Analysis | type: Text]
|
| 107 |
+
Execution structure. We further examine the execution structure of task trajectories. Tasks have an average length of 53 tokens, while trajectories involve 6 execution steps on average and invoke 3 distinct tools per task. This indicates that many instances require sequential tool invocation rather than single-step execution. As shown in Figure 3, the
|
| 108 |
+
|
| 109 |
+
[p. 5 | section: 4. Data Analysis | type: Text]
|
| 110 |
+
dataset covers task structures ranging from simple singletool interactions to multi-step, multi-tool compositions.
|
| 111 |
+
|
| 112 |
+
[p. 5 | section: 5.1. Experimental Setup | type: Text]
|
| 113 |
+
Models. We evaluate a broad suite of frontier and opensource LLMs, covering closed-source families—OpenAI GPT models (gpt-4o, gpt-4.1-mini, gpt-4.1, gpt-5.1; (Ope nAI, 2025) ), Anthropic Claude (claude-sonnet-4; (An thropic, 2025) ), and Google Gemini (gemini-3-flash; (Google DeepMind, 2025) )—as well as open-source families including Qwen3 (4B/8B/14B/30B-A3B/32B/235B-A22B; (Yang et al., 2025) ), DeepSeek (deepseek-v3.2; (DeepSeek-AI et al., 2024) ), and MoonshotAI Kimi (Kimi-K2(-Instruct); (Kimi Team, 2025) ).
|
| 114 |
+
|
| 115 |
+
[p. 5 | section: 5.1. Experimental Setup | type: Text]
|
| 116 |
+
Inference Strategy. On top of this model suite, we run a unified evaluation harness with two inference strategies: (i) Direct, which performs single-pass generation of TI and TM outputs; and (ii) Code-Agent, which wraps the same LLM in a ReAct-style agent loop (Yao et al., 2023) . Specifically, Code-Agent follows a "think → act (tool) → observe" procedure for up to 10 steps, and can invoke sandboxed execution tools to run and validate generated artifacts.
|
| 117 |
+
|
| 118 |
+
[p. 5 | section: 5.1. Experimental Setup | type: Text]
|
| 119 |
+
Implementation Details. All models are queried through their standard chat APIs using a shared prompt template and fixed decoding settings (max tokens = 40,960, temperature = 0, top_p = 1). For Code-Agent, sandboxed execution is performed under fixed resource limits and timeouts to support automated artifact validation and downstream task execution.
|
| 120 |
+
|
| 121 |
+
[p. 5 | section: 5.2. Experimental Results | type: Text]
|
| 122 |
+
Several conclusions can be drawn from TableTable 2: (i) Closed-loop repair yields consistent multi-layer gains
|
| 123 |
+
|
| 124 |
+
[p. 6 | section: 5.2. Experimental Results | type: TableGroup]
|
| 125 |
+
Model Family Version L1 L2 L3 L4 Compliance ↑ Exec.↑ Schema-F1↑ UTsoft ↑ UThard ↑ SR↑ Direct gpt-4o 0.779 0.209 0.175 0.089 0.049 0.153 gpt-4.1-mini 0.686 0.318 0.293 0.127 0.088 0.199 OpenAI (OpenAI, 2025) gpt-4.1 0.860 0.738 0.675 0.261 0.129 0.330 gpt-5.1 0.826 0.759 0.688 0.281 0.161 0.372 Anthropic (Anthropic, 2025) claude-haiku-3.5 0.744 0.012 0.012 0.007 0.000 0.012 Google (Google DeepMind, 2025) gemini-3-flash-preview 0.872 0.140 0.116 0.084 0.037 0.103 235b-a22b-instruct-2507 0.884 0.333 0.320 0.143 0.108 0.287 32b 0.791 0.282 0.258 0.176 0.078 0.178 30b-a3b-instruct-2507 0.884 0.256 0.250 0.093 0.025 0.218 Qwen3 (Yang et al., 2025) 14b 0.791 0.186 0.175 0.154 0.075 0.128 8b 0.686 0.012 0.011 0.001 0.001 0.012 4b 0.651 0.000 0.000 0.000 0.000 0.000 DeepSeek (DeepSeek-AI et al., 2024) deepseek-v3.2 0.826 0.400 0.365 0.195 0.129 0.224 MoonshotAI (Kimi Team, 2025) Kimi-K2-Instruct 0.860 0.372 0.342 0.144 0.087 0.215 Code-Agent gpt-4o 0.802 0.531 0.456 0.237 0.117 0.226 gpt-4.1-mini 0.651 0.906 0.640 0.278 0.144 0.344 OpenAI (OpenAI, 2025) gpt-4.1 0.884 0.756 0.691 0.288 0.145 0.433 gpt-5.1 0.895 0.941 0.867 0.421 0.246 0.604 Anthropic (Anthropic, 2025) claude-haiku-3.5 0.733 0.964 0.821 0.342 0.180 0.472 Google (Google DeepMind, 2025) gemini-3-flash-preview 0.849 0.977 0.912 0.448 0.255 0.581 Qwen3 (Yang et al., 2025) 235b-a22b-instruct-2507 0.686 0.971 0.722 0.363 0.212 0.472 32b 0.860 0.892 0.801 0.317 0.179 0.495 30b-a3b-instruct-2507 0.744 0.913 0.694 0.336 0.187 0.410 14b 0.686 0.807 0.707 0.316 0.178 0.453 8b 0.767 0.694 0.646 0.243 0.121 0.332 4b 0.651 0.326 0.285 0.127 0.058 0.181 DeepSeek (DeepSeek-AI et al., 2024) deepseek-v3.2 0.872 0.744 0.702 0.330 0.195 0.449 MoonshotAI (Kimi Team, 2025) Kimi-K2 0.872 0.976 0.898 0.389 0.235 0.585 Table 2. Main results under two evaluation paradigms (Direct and Code-Agent) updated with the latest metrics. Metrics follow our four-level evaluation: L1 surface compliance (Compliance, Server Execution), L2 semantic interface fidelity (Schema-F1), L3 functional correctness via unit tests (UTsoft, UThard), and L4 downstream task utility (Task Success Rate, SR).
|
| 126 |
+
|
| 127 |
+
[p. 6 | section: 5.2. Experimental Results | type: Text]
|
| 128 |
+
and can produce step-changes in end-to-end utility. Across most model families, Code-Agent improves functional correctness and task success beyond surface executability and schema fidelity. For Gemini-3-Flash, EXEC. increases from 0.140 to 0.977, Schema-F1 from 0.116 to 0.912, and UThard from 0.129 to 0.726, resulting in a large SRsoft jump (0.103 → 0.581). A similar effect is observed for Qwen3-235B (SRsoft: 0.193 → 0.622), indicating that execution feedback is effectively translated into verifiable correctness and downstream utility.(ii) High compliance and plausible schemas are necessary but insufficient, revealing a utility-conversion bottleneck. Strong upstream signals (L1/L2) do not guarantee downstream success (L4). Under Direct , Qwen3-32B achieves high EXEC. (0.938) and Schema-F1 (0.880), yet SRsoft remains 0.535. Conversely, when schema fidelity degrades (e.g., gpt-4.1 under Direct ), downstream utility collapses accordingly. These gaps sug-
|
| 129 |
+
|
| 130 |
+
[p. 6 | section: 5.2. Experimental Results | type: Text]
|
| 131 |
+
gest that failures increasingly arise from implementation robustness, boundary handling, and state discipline that are only exposed through execution.(iii) Repair benefits are scale-dependent and can reorder models within a family. Under Code-Agent , larger models achieve higher downstream utility (e.g., Qwen3 SRsoft: 0.336 for 4B vs. 0.622 for 235B). Notably, model rankings can flip across strategies: Qwen3-32B outperforms 235B under Direct , while 235B overtakes under Code-Agent . This indicates that closed-loop tool creation relies on an additional capability—the ability to exploit execution feedback for targeted repair—that is not captured by single-pass generation alone.
|
| 132 |
+
|
| 133 |
+
[p. 6 | section: 6. Analysis | type: Text]
|
| 134 |
+
Beyond aggregate success rates, we analyze tool creation along three axes that align with our lifecycle evaluation.
|
| 135 |
+
|
| 136 |
+
[p. 7 | section: 6. Analysis | type: FigureGroup]
|
| 137 |
+
Figure 5. Direct prompting vs. code-agent repair on Qwen3 scales: (a) Signal–Validation Alignment (SVA) of Schema-F1 and UT (soft/hard); (b) stage-wise cumulative pass-through across verification stages (Start, L1–L4) for selected scales, with solid/dashed lines denoting the two paradigms.
|
| 138 |
+
|
| 139 |
+
[p. 7 | section: 6. Analysis | type: Text]
|
| 140 |
+
(i) We measure whether intermediate verification signals are predictive of downstream trajectory validation, and how closed-loop repair changes this predictiveness across model scales (Sec. 6.1). (ii) We localize where failures concentrate along the verification cascade by reporting stage-wise cumulative pass-through from Start to L1–L4, contrasting Direct prompting with Code-Agent repair and identifying the dominant attrition stages (Sec. 6.2). (iii) We move from inference-time interventions to capability internalization via finetuning, and examine how training reshapes one-shot synthesis under Direct and patch effectiveness under Code-Agent (Sec. 6.3).
|
| 141 |
+
|
| 142 |
+
[p. 7 | section: 6.1. Signal-validation alignment under closed-loop | type: Text]
|
| 143 |
+
Figure 5(a) quantifies how indicative verification signals are of downstream trajectory validation via a Signal–Validation Alignment (SVA) score (App. D.1). Under direct prompting, SVA remains low across scales: even at Qwen3-235B, Schema SVA is 0.19 and UT<sub>hard</sub> is 0.14, while Qwen3-8B collapses toward zero (Schema \approx 0.01 , UT<sub>hard</sub> \approx 0.00 ). Without execution feedback, interface- and verification-level metrics are weak proxies for downstream utility; with closed-loop repair, signal–validation alignment strengthens substantially. At Qwen3-235B, SVA reaches 0.58, and the improvement is stage-wise with a threshold around 8B \rightarrow 14B: Schema increases from 0.32 to 0.51, and UT<sub>hard</sub> from 0.26 to 0.48.
|
| 144 |
+
|
| 145 |
+
[p. 7 | section: 6.2. Pass-through along the verification cascade | type: Text]
|
| 146 |
+
Figure 5(b) reports the cumulative pass-through (in %) across Start and L1–L4. Under direct prompting, Qwen3-8B drops to 1.11% at L1 and \approx 0.12\% by L2–L4; for Qwen3-14B/32B/235B, pass-through is 17.52/24.84/31.60% at L1 and 3.99/5.44/9.47% at L4. Closed-loop repair lifts early-stage pass-through (L1: 65.34%, 84.06%, 83.02%, 91.36% for 8B/14B/32B/235B) and improves late-stage retention
|
| 147 |
+
|
| 148 |
+
[p. 7 | section: 6.2. Pass-through along the verification cascade | type: FigureGroup]
|
| 149 |
+
Figure 6. Base vs. fine-tuned performance under Direct and Code-Agent evaluation, summarized across our four-layer metric suite (L1–L4).
|
| 150 |
+
|
| 151 |
+
[p. 7 | section: 6.2. Pass-through along the verification cascade | type: Text]
|
| 152 |
+
(L4: 8.85%, 7.97%, 15.69%, 30.01%), vs. 0.12%, 3.99%, 5.44%, and 9.47% under direct prompting. Once early stages are stabilized, the dominant attrition concentrates at L3/L4, and scaling mainly improves late-stage retention (e.g., L4: 7.97\% \rightarrow 15.69\% \rightarrow 30.01\% from 14B to 32B to 235B under code-agent). Overall, repair primarily reduces early structural failures, leaving deeper validation as the bottleneck.
|
| 153 |
+
|
| 154 |
+
[p. 7 | section: 6.3. Finetuning exploration: internalizing capability | type: Text]
|
| 155 |
+
Prompting and inference-time repair can improve tool creation by injecting demonstrations or execution feedback, but they do not necessarily strengthen the model's intrinsic ability to synthesize reusable tool assets. We therefore finetune models on TOOL GENESIS and evaluate whether training improves both intermediate verification and downstream task success. We defer training configurations and implementation details to Appendix E.
|
| 156 |
+
|
| 157 |
+
[p. 7 | section: 6.3. Finetuning exploration: internalizing capability | type: Text]
|
| 158 |
+
Finetuning on TOOL GENESIS yields consistent gains across all evaluation layers (Table 6), indicating that TOOL GEN-ESIS provides not only a diagnostic benchmark but also an effective training signal for requirement-driven tool cre-
|
| 159 |
+
|
| 160 |
+
[p. 8 | section: 6.3. Finetuning exploration: internalizing capability | type: Text]
|
| 161 |
+
ation. On Qwen3-8B, under the Direct setting, finetuning improves one-shot generation at the interface and schema level: Compliance increases from 0.686 to 0.826 (+0.140), while Exec. rises from 0.012 to 0.047 (+0.035) and Schema-F1 from 0.011 to 0.046 (+0.035). These early-stage gains translate into measurable (though still small) functional validation improvements, with UTsoft increasing from 0.001 to 0.017 (+0.016) and UThard from 0.001 to 0.007 (+0.006), and downstream success SR improving from 0.012 to 0.026 (+0.014). Notably, because the Direct baseline is near-zero on executability and testing, absolute gains are more informative than relative ratios in this regime.
|
| 162 |
+
|
| 163 |
+
[p. 8 | section: 6.3. Finetuning exploration: internalizing capability | type: Text]
|
| 164 |
+
Under the Code-Agent setting, finetuning strengthens closed-loop repair and improves how execution feedback is converted into downstream utility. For Qwen3-8B, Compliance increases from 0.718 to 0.906 (+0.188), Exec. from 0.694 to 0.777 (+0.083), and Schema-F1 from 0.653 to 0.736 (+0.083). Improvements also propagate to functional validation, with UTsoft increasing from 0.307 to 0.377 (+0.070) and UThard from 0.456 to 0.533 (+0.077), yielding a higher SR from 0.336 to 0.399 (+0.063). Compared to Direct, gains under Code-Agent are less concentrated at the earliest gates and more evenly reflected in UT and SR, consistent with the interpretation that finetuning improves bug localization and patch quality under a fixed repair budget.
|
| 165 |
+
|
| 166 |
+
[p. 8 | section: 6.3. Finetuning exploration: internalizing capability | type: Text]
|
| 167 |
+
Overall, finetuning complements inference-time repair: it improves one-shot interface/schema synthesis under Direct, and under Code-Agent it increases the effectiveness of execution-triggered debugging, thereby raising the rate at which intermediate verification improvements translate into downstream task success.
|
| 168 |
+
|
| 169 |
+
[p. 8 | section: 7. Related Work | type: Text]
|
| 170 |
+
Tool-augmented LLMs are commonly evaluated by whether an agent can correctly invoke external tools and APIs to accomplish tasks (Karpas et al., 2022; Yao et al., 2023; Schick et al., 2023; Patil et al., 2023; Li et al., 2023; Qin et al., 2023a; b; Guo et al., 2024; Berkeley Function Call ing Leaderboard (BFCL) Team, 2024; Wang et al., 2024a; Huang et al., 2024; Anonymous, 2025; Zhang et al., 2025c; Shen et al., 2024; Liu et al., 2024; Wang et al., 2024f; Liu et al., 2023b; Zhang et al., 2024; Wang et al., 2024e) . Within this broader line, early tool-creation benchmarks and systems largely treat creation as a task-scoped deliverable and score it with downstream success as a black-box signal (Cai et al., 2023; Qian et al., 2023a; Wölflein et al., 2025) ; while task-relevant, such outcome-only evaluation is diagnostically weak because failures conflate requirement misunderstanding, interface/spec errors, implementation bugs, and unsafe or incorrect usage policies. To reduce hallucinated specifications and better reflect real constraints, later
|
| 171 |
+
|
| 172 |
+
[p. 8 | section: 7. Related Work | type: Text]
|
| 173 |
+
work increasingly grounds creation in external references (API docs/specs/repos/knowledge bases) and adds contractfaithfulness signals (e.g., schema/parameter consistency) as intermediate checks, often still reported alongside end-task outcomes (Liu et al., 2025; Zhao et al., 2025; Qian et al., 2024; Wang et al., 2024d) . As evaluation moves closer to "real execution," a complementary trend adopts executable and test-driven verification to obtain reproducible correctness signals and clearer attribution (Zhang et al., 2025b; Wölflein et al., 2025; Jimenez et al., 2023; Chen et al., 2021; Austin et al., 2021; Hendrycks et al., 2021; Liu et al., 2023a; Zhuo et al., 2024) ; here, a stable execution environment and robust negative/boundary testing become essential to avoid flaky outcomes, prevent accidental overfitting to shallow success cases, and enable regression checking under tool evolution. More recently, tool creation is increasingly framed as building reusable toolsets/toolboxes that support retrieval, composition, maintenance, and updates across a task distribution—often serving knowledge access rather than a single one-off objective (Yuan et al., 2024; Wang et al., 2024c; Zhao et al., 2025; Huang et al., 2025; Qian et al., 2024) . Despite these advances, existing benchmarks remain fragmented: some emphasize task outcomes, others emphasize interface faithfulness or passing tests, and toolsetlevel reuse/maintenance is rarely evaluated together with executable correctness (including invalid/boundary cases) and downstream utility in a unified, reproducible protocol; in particular, oracle-normalized comparisons that quantify the utility gap between generated tools and ground-truth tools are still under-explored, motivating our benchmark and evaluation design.
|
| 174 |
+
|
| 175 |
+
[p. 8 | section: 8. Conclusion | type: Text]
|
| 176 |
+
We present Tool-Genesis, a diagnostic benchmark for evaluating tool creation as a first-class capability of self-evolving language agents. Tool-Genesis departs from spec-first settings by requiring agents to infer tool contracts from abstract requirements, generate machine-checkable schemas, and implement executable logic that can be reused as a scenarioclosed toolset. To avoid outcome-only "black box" evaluation, we introduce a full-lifecycle protocol that jointly measures interface compliance, executability, schema fidelity, and functional correctness with explicit negative/boundary unit tests, and we further report an oracle-normalized upper bound to quantify the utility gap between generated and reference tools under the same task distribution.Our empirical findings highlight a key bottleneck: even strong models often fail to produce precise interfaces or correct implementations in a one-shot setting, and these small early-stage defects are amplified through the downstream pipeline. We hope Tool-Genesis will help the community move beyond ad-hoc, disposable tool use toward persistent and maintain able tool assets, and enable more targeted progress on tool
|
| 177 |
+
|
| 178 |
+
[p. 9 | section: 8. Conclusion | type: Text]
|
| 179 |
+
induction, repair, and verification in realistic deployments.
|
| 180 |
+
|
| 181 |
+
[p. 9 | section: Impact Statement | type: Text]
|
| 182 |
+
"This paper presents work whose goal is to advance the field of Machine Learning. There are many potential societal consequences of our work, none which we feel must be specifically highlighted here."
|
| 183 |
+
|
| 184 |
+
[p. 9 | section: Impact Statement | type: Text]
|
| 185 |
+
The above statement can be used verbatim in such cases, but we encourage authors to think about whether there is content which does warrant further discussion, as this statement will be apparent if the paper is later flagged for ethics review.
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/paper.blocks.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/paper.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/parse_report.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0",
|
| 3 |
+
"pipeline": "marker_non_llm_v3",
|
| 4 |
+
"parser": "marker_single",
|
| 5 |
+
"formats": [
|
| 6 |
+
"markdown",
|
| 7 |
+
"chunks"
|
| 8 |
+
],
|
| 9 |
+
"llm_enabled": false,
|
| 10 |
+
"pdf_path": "/network/scratch/j/jianan.zhao/ReviewAgent/data/processed_papers/icml26_20260429_1952_duequeue/raw/640e44ec-91da-4d38-9b9a-4a3a20ad15d0.pdf",
|
| 11 |
+
"pdf_sha256": "6d1ba62449713c2ce2eafccd365659f524c30d55bcd43c3e35a09a3ac0b44873",
|
| 12 |
+
"bytes": 1873253,
|
| 13 |
+
"source": "https://koala.science/storage/pdfs/640e44ec-91da-4d38-9b9a-4a3a20ad15d0.pdf",
|
| 14 |
+
"page_count": 25,
|
| 15 |
+
"ok": true,
|
| 16 |
+
"elapsed_seconds": 155.75,
|
| 17 |
+
"paper2markdown_v3": {
|
| 18 |
+
"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0",
|
| 19 |
+
"pipeline": "Paper2Markdown-V3",
|
| 20 |
+
"ok": true,
|
| 21 |
+
"page_count": 25,
|
| 22 |
+
"chunk_count": 137,
|
| 23 |
+
"main_body_chunk_count": 62,
|
| 24 |
+
"appendix_chunk_count": 69,
|
| 25 |
+
"reference_chunk_count": 6,
|
| 26 |
+
"model_text_chars": 38054,
|
| 27 |
+
"raw_markdown_chars": 99874,
|
| 28 |
+
"sanitized_chars": 84120,
|
| 29 |
+
"page_provenance": {
|
| 30 |
+
"min_page": 1,
|
| 31 |
+
"max_page": 25,
|
| 32 |
+
"invalid_count": 0
|
| 33 |
+
},
|
| 34 |
+
"marker_block_type_counts": {
|
| 35 |
+
"Code": 15,
|
| 36 |
+
"Equation": 17,
|
| 37 |
+
"FigureGroup": 6,
|
| 38 |
+
"Footnote": 1,
|
| 39 |
+
"ListGroup": 7,
|
| 40 |
+
"PageFooter": 25,
|
| 41 |
+
"PageHeader": 26,
|
| 42 |
+
"SectionHeader": 47,
|
| 43 |
+
"Table": 3,
|
| 44 |
+
"TableGroup": 3,
|
| 45 |
+
"Text": 292
|
| 46 |
+
},
|
| 47 |
+
"asset_count_raw": 6,
|
| 48 |
+
"asset_count_model_kept": 6,
|
| 49 |
+
"asset_count_rejected": 0,
|
| 50 |
+
"asset_reject_reasons": {
|
| 51 |
+
"kept": 6
|
| 52 |
+
},
|
| 53 |
+
"artifact_leak_audit": {
|
| 54 |
+
"ok": true,
|
| 55 |
+
"hits": {
|
| 56 |
+
"Anonymous Authors": [],
|
| 57 |
+
"ACKNOWLEDGMENT": [],
|
| 58 |
+
"OpenReview": [],
|
| 59 |
+
"\"accept_label\"": [],
|
| 60 |
+
"\"decision\"": [],
|
| 61 |
+
"\"decision_tier\"": [],
|
| 62 |
+
"\"source_status\"": [],
|
| 63 |
+
"Meta-review": [],
|
| 64 |
+
"Official Review": [],
|
| 65 |
+
"official_reviews": [],
|
| 66 |
+
"meta_reviews": [],
|
| 67 |
+
"suggested_verdict_score": []
|
| 68 |
+
},
|
| 69 |
+
"artifact_count": 2
|
| 70 |
+
},
|
| 71 |
+
"default_model_input": "model_text_v3.txt",
|
| 72 |
+
"appendix_input": "appendix_text_v3.txt",
|
| 73 |
+
"reference_input": "reference_text_v3.txt"
|
| 74 |
+
}
|
| 75 |
+
}
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/reference_chunks.jsonl
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0062", "section": "References", "page_start": 9, "page_end": 9, "type": "ListGroup", "text": "Cai, T., Wang, Z., Chen, Y., Ma, R., Li, Z., Zhu, L., Chen, W., Jiang, Y., Sun, M., and Liu, Z. Large language models as tool makers, 2023. URL 2305.17126 . Cai, Z., Liu, Y., Zhang, W., and Wang, Y. Latm: A benchmark for latent tool creation. Proceedings of the 2024 International Conference on Machine Learning (ICML) , pp. 234–245, 2024. Chen, M., Tworek, J., Jun, H., Yuan, Q., Pinto, H. P. d. O., Kaplan, J., Edwards, H., et al. Evaluating large language models trained on code, 2021. URL abs/2107.03374 . DeepSeek-AI et al. Deepseek-v3 technical report, 2024. URL . Google DeepMind. Gemini 3 flash: Model card, December 2025. URL googleapis.com/deepmind-media/Model-Cards/ Gemini-3-Flash-Model-Card.pdf . Model card (PDF). Accessed: 2026-01-22. Guo, Z., Cheng, S., Wang, H., Liang, S., Qin, Y., Li, P., Liu, Z., Sun, M., and Liu, Y. StableToolBench: Towards stable large-scale benchmarking on tool learning of large language models, 2024. URL 2403.07714 . Hendrycks, D., Basart, S., Kadavath, S., Mazeika, M., Arora, A., Guo, E., Burns, C., Puranik, S., He, H., Song, D., and Steinhardt, J. Measuring coding challenge competence with apps, 2021. URL 09938 . Huang, S., Zhong, W., Lu, J., Zhu, Q., Gao, J., Liu, W., Hou, Y., Zeng, X., Wang, Y., Shang, L., Jiang, X., Xu, R., and Liu, Q. Planning, creation, usage: Benchmarking llms for comprehensive tool utilization in real-world complex scenarios, 2024. URL 17167 . Huang, W., Zhuang, S., Wang, H., Guo, Z., Liu, Z., Sun, M., and Liu, Y. Toollibgen: Automated tool library generation with large language models, 2025. URL org/abs/2505.16956 . Jimenez, C. E., Yang, J., Wettig, A., Yao, S., Pei, K., Press, O., and Narasimhan, K. SWE-bench: Can language models resolve real-world github issues?, 2023. URL . Karpas, E., Shuster, K., Geva, M., Schick, T., Gupta, R., Eisenstein, J., and Berant, J. MRKL systems: A modular, neuro-symbolic architecture that combines large language models, external knowledge sources and discrete reasoning, 2022. URL .", "source": "marker_v2", "marker_block_id": "/page/8/ListGroup/521"}
|
| 2 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0063", "section": "References", "page_start": 10, "page_end": 10, "type": "Text", "text": "495 496 Kimi Team. Kimi k2: Open agentic intelligence, 2025. URL .", "source": "marker_v2", "marker_block_id": "/page/9/Text/494"}
|
| 3 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0064", "section": "References", "page_start": 10, "page_end": 10, "type": "ListGroup", "text": "Landis, J. R. and Koch, G. G. The measurement of observer agreement for categorical data. Biometrics , 33(1):159– 174, 1977. Langley, P. Crafting papers on machine learning. In Langley, P. (ed.), Proceedings of the 17th International Conference on Machine Learning (ICML 2000) , pp. 1207–1216, Stanford, CA, 2000. Morgan Kaufmann. Li, Z., Huang, Q., Xu, H., Zhang, Z., Wang, J., and Li, J. API-Bank: A benchmark for tool-augmented LLMs, 2023. URL . Liu, J., Xia, C., Zhang, L., et al. Is your code generated by chatgpt really correct? rigorous evaluation of large language models for code generation, 2023a. URL https: //arxiv.org/abs/2305.01210 . Liu, T. et al. Agentbench: Evaluating llms as agents, 2023b. URL . Liu, X., Yin, D., Wu, Z., and Feng, Y. Reftool: Enhancing model reasoning with reference-guided tool creation, 2025. URL . Liu, X. et al. τ -bench: A benchmark for tool-agent user interaction in real-world scenarios, 2024. URL https: //arxiv.org/abs/2406.12045 . Lu, Y., Li, Z., Li, G., Ding, B., Wang, J., Liu, X., and Zhang, R. Toolsandbox: A state-of-the-art evaluation framework for tool-use robustness in large language models. arXiv preprint arXiv:2408.04684 , 2024. OpenAI. Update to GPT-5 system card: GPT-5.2, December 2025. URL 3a4153c8-c748-4b71-8e31-aecbde944f8d/oai_5_2_ system-card.pdf . System card (PDF). Accessed: 2026-01-22. Patil, S., Zhang, T., Wang, X., and Gonzalez, J. E. Gorilla: Large language model connected with massive APIs, 2023. URL . Qian, C., Han, C., Fung, Y., Qin, Y., Liu, Z., and Ji, H. CREATOR: Tool creation for disentangling abstract and concrete reasoning of large language models. In Findings of the Association for Computational Linguis tics: EMNLP 2023 , pp. 6922–6939, Singapore, December 2023a. Association for Computational Linguistics. doi: 10.18653/v1/2023.findings-emnlp.462. URL https: //aclanthology.org/2023.findings-emnlp.462/ . Qian, C., Xiong, C., Liu, Z., and Liu, Z. Toolink: Linking toolkit creation and using through chain-of-solving on", "source": "marker_v2", "marker_block_id": "/page/9/ListGroup/492"}
|
| 4 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0065", "section": "References", "page_start": 10, "page_end": 10, "type": "ListGroup", "text": "open-source model. In Proceedings of the 2024 Confer ence of the North American Chapter of the Association for Computational Linguistics: Human Language Tech nologies (Volume 1: Long Papers) , pp. 831–854, Mexico City, Mexico, June 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.naacl-long.48. URL . Qian, X., Zhang, Y., Li, Z., and Wang, L. Creator: A benchmark for tool creation and execution. Journal of Artificial Intelligence Research , 69:1–23, 2023b. Qin, Y., Liang, S., Ye, Y., Zhu, K., Yan, L., Lu, Y., Lin, Y., Cong, X., Tang, X., Qian, B., Zhao, S., Hong, L., Tian, R., Xie, R., Zhou, J., Gerstein, M., Li, D., Liu, Z., and Sun, M. ToolLLM: Facilitating large language models to master 16000+ real-world APIs, 2023a. URL . Qin, Y., Liang, S., Ye, Y., Zhu, K., Yan, L., Lu, Y., Lin, Y., Cong, X., Tang, X., et al. Toolbench: Towards benchmarking large language models on tool use, 2023b. URL . Schick, T., Dwivedi-Yu, J., Dessì, R., Raileanu, R., Lombrozo, T., Zettlemoyer, L., Cancedda, N., and Scialom, T. Toolformer: Language models can teach themselves to use tools, 2023. URL 04761 . Shen, H., Li, Y., et al. Shortcutsbench: A large-scale realworld benchmark for api-based agents, 2024. URL https: //arxiv.org/abs/2407.00132 . Shi, Z., Gao, S., Yan, L., Feng, Y., Chen, X., Chen, Z., Yin, D., Verberne, S., and Ren, Z. Tool learning in the wild: Empowering language models as automatic tool agents. arXiv preprint arXiv:2405.16533 , 2024. Tan, W., Ding, Z., Zhang, W., Li, B., Zhou, B., Yue, J., et al. Cradle: Empowering foundation agents towards general computer control. arXiv preprint arXiv:2403.03186 , 2024. Wang, H., Wang, R., Xue, B., Xia, H., Cao, J., Liu, Z., Pan, J. Z., and Wong, K.-F. AppBench: Planning of multiple APIs from various APPs for complex user instruction. In Al-Onaizan, Y., Bansal, M., and Chen, Y.-N. (eds.), Proceedings of the 2024 Conference on Empirical Methods in Natural Language Process ing , pp. 15322–15336, Miami, Florida, USA, November 2024a. Association for Computational Linguistics. doi: 10.18653/v1/2024.emnlp-main.856. URL https: //aclanthology.org/2024.emnlp-main.856/ . Wang, X., Chen, Y., Yuan, L., Zhang, Y., Li, Y., Peng, H., and Ji, H. Executable code actions elicit better llm agents.", "source": "marker_v2", "marker_block_id": "/page/9/ListGroup/493"}
|
| 5 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0066", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "550 In Forty-first International Conference on Machine Learn ing (ICML) , 2024b.", "source": "marker_v2", "marker_block_id": "/page/10/Text/374"}
|
| 6 |
+
{"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0", "chunk_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0:0067", "section": "References", "page_start": 11, "page_end": 11, "type": "ListGroup", "text": "Wang, Y., Zhang, Y., Liu, H., and Zhang, Y. Trove: A verifiable and efficient framework for toolset creation, 2024c. URL . Wang, Y. et al. APIGen: Automated pipeline for API function calling data generation, 2024d. URL https: //arxiv.org/abs/2409.01406 . Wang, Y. et al. Sciagent: Tool-augmented language models for scientific reasoning, 2024e. URL org/abs/2402.11451 . Wang, Z. et al. Wtu-eval: A unified evaluation framework for tool use, 2024f. URL 12823 . Wölflein, G., Schneider, J., and Krenn, M. Llm agents making agent tools, 2025. URL 2502.11705 . Introduces TM-BENCH and the ToolMaker framework. Wu, Z., Han, C., Ding, Z., Weng, Z., Liu, Z., Yao, S., Yu, T., and Kong, L. Os-copilot: Towards generalist computer agents with self-improvement. arXiv preprint arXiv:2402.07456 , 2024. Xu, Z., Meza Soria, A., Tan, S., Roy, A., Agrawal, A. S., Poovendran, R., and Panda, R. Toucan: Synthesizing 1.5m tool-agentic data from real-world mcp environments, 2025. URL . Yang, A. et al. Qwen3 technical report, 2025. URL https: //arxiv.org/abs/2505.09388 . Yao, S., Zhao, J., Yu, D., Du, N., Shafran, I., Narasimhan, K., and Cao, Y. React: Synergizing reasoning and acting in language models. In International Confer ence on Learning Representations (ICLR) , 2023. URL . Yuan, S., Chen, Y., Chen, Y., Chen, J., and Liu, Z. CRAFT: Customizing LLMs by creating and retrieving from specialized toolsets, 2024. URL 2401.04052 . Zhang, Y., Liu, H., Huang, T., and Chen, Q. Scievo: A benchmark for scientific evolution of tools. arXiv preprint arXiv:2601.07641 , 2025a. Zhang, Y. et al. Scienceagentbench: Benchmarking language agents for scientific problem solving, 2024. URL . Zhang, Z., Liu, H., Chen, Y., Li, Z., Wang, J., and Li, J. Toolcoder: A holistic benchmark for tool creation, 2025b. URL .", "source": "marker_v2", "marker_block_id": "/page/10/ListGroup/372"}
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/reference_text_v3.txt
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[p. 9 | section: References | type: ListGroup]
|
| 2 |
+
Cai, T., Wang, Z., Chen, Y., Ma, R., Li, Z., Zhu, L., Chen, W., Jiang, Y., Sun, M., and Liu, Z. Large language models as tool makers, 2023. URL 2305.17126 . Cai, Z., Liu, Y., Zhang, W., and Wang, Y. Latm: A benchmark for latent tool creation. Proceedings of the 2024 International Conference on Machine Learning (ICML) , pp. 234–245, 2024. Chen, M., Tworek, J., Jun, H., Yuan, Q., Pinto, H. P. d. O., Kaplan, J., Edwards, H., et al. Evaluating large language models trained on code, 2021. URL abs/2107.03374 . DeepSeek-AI et al. Deepseek-v3 technical report, 2024. URL . Google DeepMind. Gemini 3 flash: Model card, December 2025. URL googleapis.com/deepmind-media/Model-Cards/ Gemini-3-Flash-Model-Card.pdf . Model card (PDF). Accessed: 2026-01-22. Guo, Z., Cheng, S., Wang, H., Liang, S., Qin, Y., Li, P., Liu, Z., Sun, M., and Liu, Y. StableToolBench: Towards stable large-scale benchmarking on tool learning of large language models, 2024. URL 2403.07714 . Hendrycks, D., Basart, S., Kadavath, S., Mazeika, M., Arora, A., Guo, E., Burns, C., Puranik, S., He, H., Song, D., and Steinhardt, J. Measuring coding challenge competence with apps, 2021. URL 09938 . Huang, S., Zhong, W., Lu, J., Zhu, Q., Gao, J., Liu, W., Hou, Y., Zeng, X., Wang, Y., Shang, L., Jiang, X., Xu, R., and Liu, Q. Planning, creation, usage: Benchmarking llms for comprehensive tool utilization in real-world complex scenarios, 2024. URL 17167 . Huang, W., Zhuang, S., Wang, H., Guo, Z., Liu, Z., Sun, M., and Liu, Y. Toollibgen: Automated tool library generation with large language models, 2025. URL org/abs/2505.16956 . Jimenez, C. E., Yang, J., Wettig, A., Yao, S., Pei, K., Press, O., and Narasimhan, K. SWE-bench: Can language models resolve real-world github issues?, 2023. URL . Karpas, E., Shuster, K., Geva, M., Schick, T., Gupta, R., Eisenstein, J., and Berant, J. MRKL systems: A modular, neuro-symbolic architecture that combines large language models, external knowledge sources and discrete reasoning, 2022. URL .
|
| 3 |
+
|
| 4 |
+
[p. 10 | section: References | type: Text]
|
| 5 |
+
495 496 Kimi Team. Kimi k2: Open agentic intelligence, 2025. URL .
|
| 6 |
+
|
| 7 |
+
[p. 10 | section: References | type: ListGroup]
|
| 8 |
+
Landis, J. R. and Koch, G. G. The measurement of observer agreement for categorical data. Biometrics , 33(1):159– 174, 1977. Langley, P. Crafting papers on machine learning. In Langley, P. (ed.), Proceedings of the 17th International Conference on Machine Learning (ICML 2000) , pp. 1207–1216, Stanford, CA, 2000. Morgan Kaufmann. Li, Z., Huang, Q., Xu, H., Zhang, Z., Wang, J., and Li, J. API-Bank: A benchmark for tool-augmented LLMs, 2023. URL . Liu, J., Xia, C., Zhang, L., et al. Is your code generated by chatgpt really correct? rigorous evaluation of large language models for code generation, 2023a. URL https: //arxiv.org/abs/2305.01210 . Liu, T. et al. Agentbench: Evaluating llms as agents, 2023b. URL . Liu, X., Yin, D., Wu, Z., and Feng, Y. Reftool: Enhancing model reasoning with reference-guided tool creation, 2025. URL . Liu, X. et al. τ -bench: A benchmark for tool-agent user interaction in real-world scenarios, 2024. URL https: //arxiv.org/abs/2406.12045 . Lu, Y., Li, Z., Li, G., Ding, B., Wang, J., Liu, X., and Zhang, R. Toolsandbox: A state-of-the-art evaluation framework for tool-use robustness in large language models. arXiv preprint arXiv:2408.04684 , 2024. OpenAI. Update to GPT-5 system card: GPT-5.2, December 2025. URL 3a4153c8-c748-4b71-8e31-aecbde944f8d/oai_5_2_ system-card.pdf . System card (PDF). Accessed: 2026-01-22. Patil, S., Zhang, T., Wang, X., and Gonzalez, J. E. Gorilla: Large language model connected with massive APIs, 2023. URL . Qian, C., Han, C., Fung, Y., Qin, Y., Liu, Z., and Ji, H. CREATOR: Tool creation for disentangling abstract and concrete reasoning of large language models. In Findings of the Association for Computational Linguis tics: EMNLP 2023 , pp. 6922–6939, Singapore, December 2023a. Association for Computational Linguistics. doi: 10.18653/v1/2023.findings-emnlp.462. URL https: //aclanthology.org/2023.findings-emnlp.462/ . Qian, C., Xiong, C., Liu, Z., and Liu, Z. Toolink: Linking toolkit creation and using through chain-of-solving on
|
| 9 |
+
|
| 10 |
+
[p. 10 | section: References | type: ListGroup]
|
| 11 |
+
open-source model. In Proceedings of the 2024 Confer ence of the North American Chapter of the Association for Computational Linguistics: Human Language Tech nologies (Volume 1: Long Papers) , pp. 831–854, Mexico City, Mexico, June 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.naacl-long.48. URL . Qian, X., Zhang, Y., Li, Z., and Wang, L. Creator: A benchmark for tool creation and execution. Journal of Artificial Intelligence Research , 69:1–23, 2023b. Qin, Y., Liang, S., Ye, Y., Zhu, K., Yan, L., Lu, Y., Lin, Y., Cong, X., Tang, X., Qian, B., Zhao, S., Hong, L., Tian, R., Xie, R., Zhou, J., Gerstein, M., Li, D., Liu, Z., and Sun, M. ToolLLM: Facilitating large language models to master 16000+ real-world APIs, 2023a. URL . Qin, Y., Liang, S., Ye, Y., Zhu, K., Yan, L., Lu, Y., Lin, Y., Cong, X., Tang, X., et al. Toolbench: Towards benchmarking large language models on tool use, 2023b. URL . Schick, T., Dwivedi-Yu, J., Dessì, R., Raileanu, R., Lombrozo, T., Zettlemoyer, L., Cancedda, N., and Scialom, T. Toolformer: Language models can teach themselves to use tools, 2023. URL 04761 . Shen, H., Li, Y., et al. Shortcutsbench: A large-scale realworld benchmark for api-based agents, 2024. URL https: //arxiv.org/abs/2407.00132 . Shi, Z., Gao, S., Yan, L., Feng, Y., Chen, X., Chen, Z., Yin, D., Verberne, S., and Ren, Z. Tool learning in the wild: Empowering language models as automatic tool agents. arXiv preprint arXiv:2405.16533 , 2024. Tan, W., Ding, Z., Zhang, W., Li, B., Zhou, B., Yue, J., et al. Cradle: Empowering foundation agents towards general computer control. arXiv preprint arXiv:2403.03186 , 2024. Wang, H., Wang, R., Xue, B., Xia, H., Cao, J., Liu, Z., Pan, J. Z., and Wong, K.-F. AppBench: Planning of multiple APIs from various APPs for complex user instruction. In Al-Onaizan, Y., Bansal, M., and Chen, Y.-N. (eds.), Proceedings of the 2024 Conference on Empirical Methods in Natural Language Process ing , pp. 15322–15336, Miami, Florida, USA, November 2024a. Association for Computational Linguistics. doi: 10.18653/v1/2024.emnlp-main.856. URL https: //aclanthology.org/2024.emnlp-main.856/ . Wang, X., Chen, Y., Yuan, L., Zhang, Y., Li, Y., Peng, H., and Ji, H. Executable code actions elicit better llm agents.
|
| 12 |
+
|
| 13 |
+
[p. 11 | section: References | type: Text]
|
| 14 |
+
550 In Forty-first International Conference on Machine Learn ing (ICML) , 2024b.
|
| 15 |
+
|
| 16 |
+
[p. 11 | section: References | type: ListGroup]
|
| 17 |
+
Wang, Y., Zhang, Y., Liu, H., and Zhang, Y. Trove: A verifiable and efficient framework for toolset creation, 2024c. URL . Wang, Y. et al. APIGen: Automated pipeline for API function calling data generation, 2024d. URL https: //arxiv.org/abs/2409.01406 . Wang, Y. et al. Sciagent: Tool-augmented language models for scientific reasoning, 2024e. URL org/abs/2402.11451 . Wang, Z. et al. Wtu-eval: A unified evaluation framework for tool use, 2024f. URL 12823 . Wölflein, G., Schneider, J., and Krenn, M. Llm agents making agent tools, 2025. URL 2502.11705 . Introduces TM-BENCH and the ToolMaker framework. Wu, Z., Han, C., Ding, Z., Weng, Z., Liu, Z., Yao, S., Yu, T., and Kong, L. Os-copilot: Towards generalist computer agents with self-improvement. arXiv preprint arXiv:2402.07456 , 2024. Xu, Z., Meza Soria, A., Tan, S., Roy, A., Agrawal, A. S., Poovendran, R., and Panda, R. Toucan: Synthesizing 1.5m tool-agentic data from real-world mcp environments, 2025. URL . Yang, A. et al. Qwen3 technical report, 2025. URL https: //arxiv.org/abs/2505.09388 . Yao, S., Zhao, J., Yu, D., Du, N., Shafran, I., Narasimhan, K., and Cao, Y. React: Synergizing reasoning and acting in language models. In International Confer ence on Learning Representations (ICLR) , 2023. URL . Yuan, S., Chen, Y., Chen, Y., Chen, J., and Liu, Z. CRAFT: Customizing LLMs by creating and retrieving from specialized toolsets, 2024. URL 2401.04052 . Zhang, Y., Liu, H., Huang, T., and Chen, Q. Scievo: A benchmark for scientific evolution of tools. arXiv preprint arXiv:2601.07641 , 2025a. Zhang, Y. et al. Scienceagentbench: Benchmarking language agents for scientific problem solving, 2024. URL . Zhang, Z., Liu, H., Chen, Y., Li, Z., Wang, J., and Li, J. Toolcoder: A holistic benchmark for tool creation, 2025b. URL .
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/sanitization_report.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "640e44ec-91da-4d38-9b9a-4a3a20ad15d0",
|
| 3 |
+
"pipeline": "Paper2Markdown-V3",
|
| 4 |
+
"ok": true,
|
| 5 |
+
"page_count": 25,
|
| 6 |
+
"chunk_count": 137,
|
| 7 |
+
"main_body_chunk_count": 62,
|
| 8 |
+
"appendix_chunk_count": 69,
|
| 9 |
+
"reference_chunk_count": 6,
|
| 10 |
+
"model_text_chars": 38054,
|
| 11 |
+
"raw_markdown_chars": 99874,
|
| 12 |
+
"sanitized_chars": 84120,
|
| 13 |
+
"page_provenance": {
|
| 14 |
+
"min_page": 1,
|
| 15 |
+
"max_page": 25,
|
| 16 |
+
"invalid_count": 0
|
| 17 |
+
},
|
| 18 |
+
"marker_block_type_counts": {
|
| 19 |
+
"Code": 15,
|
| 20 |
+
"Equation": 17,
|
| 21 |
+
"FigureGroup": 6,
|
| 22 |
+
"Footnote": 1,
|
| 23 |
+
"ListGroup": 7,
|
| 24 |
+
"PageFooter": 25,
|
| 25 |
+
"PageHeader": 26,
|
| 26 |
+
"SectionHeader": 47,
|
| 27 |
+
"Table": 3,
|
| 28 |
+
"TableGroup": 3,
|
| 29 |
+
"Text": 292
|
| 30 |
+
},
|
| 31 |
+
"asset_count_raw": 6,
|
| 32 |
+
"asset_count_model_kept": 6,
|
| 33 |
+
"asset_count_rejected": 0,
|
| 34 |
+
"asset_reject_reasons": {
|
| 35 |
+
"kept": 6
|
| 36 |
+
},
|
| 37 |
+
"artifact_leak_audit": {
|
| 38 |
+
"ok": true,
|
| 39 |
+
"hits": {
|
| 40 |
+
"Anonymous Authors": [],
|
| 41 |
+
"ACKNOWLEDGMENT": [],
|
| 42 |
+
"OpenReview": [],
|
| 43 |
+
"\"accept_label\"": [],
|
| 44 |
+
"\"decision\"": [],
|
| 45 |
+
"\"decision_tier\"": [],
|
| 46 |
+
"\"source_status\"": [],
|
| 47 |
+
"Meta-review": [],
|
| 48 |
+
"Official Review": [],
|
| 49 |
+
"official_reviews": [],
|
| 50 |
+
"meta_reviews": [],
|
| 51 |
+
"suggested_verdict_score": []
|
| 52 |
+
},
|
| 53 |
+
"artifact_count": 2
|
| 54 |
+
},
|
| 55 |
+
"default_model_input": "model_text_v3.txt",
|
| 56 |
+
"appendix_input": "appendix_text_v3.txt",
|
| 57 |
+
"reference_input": "reference_text_v3.txt"
|
| 58 |
+
}
|
icml26/640e44ec-91da-4d38-9b9a-4a3a20ad15d0/sanitized_v3.txt
ADDED
|
@@ -0,0 +1,851 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{0}
|
| 2 |
+
# Abstract
|
| 3 |
+
Research on self-evolving language agents progresses, increasing attention has focused on their ability to create, adapt, and maintain tools from task requirements.However, existing benchmarks predominantly rely on pre-defined specifications, which limits scalability and hinders true autonomous evolution. While recent studies attempt to dynamically generate tools, they primarily focus on downstream performance, creating a "black box" evaluation that makes it difficult to accurately attribute the causes of failure.To address this, we propose Tool-Genesis, a diagnostic benchmark designed to quantify agent capabilities across multiple dimensions—from interface compliance and functional correctness to downstream utility. It evaluates the ability of agents to construct task-relevant tools solely from abstract requirements (without pre-set specifications) and solve realistic problems.Crucially, we find that even state-of-the-art models struggle to construct precise tool interfaces or executable logic in a one-shot setting. These minor initial flaws are amplified through the pipeline, leading to a precipitous drop in downstream metrics. We hope this benchmark will guide future research toward steering models to synthesize persistent, general-purpose tools capable of addressing broader real-world challenges.Project page: <
|
| 4 |
+
# 1. Introduction
|
| 5 |
+
Prior work has established a "reason–call–execute" paradigm, typically assuming reliable tool interfaces and schemas, where tools are treated as callable functions with well-defined inputs/outputs and stable semantics.(e.g.,
|
| 6 |
+

|
| 7 |
+
*Figure 1.* Comparison of tool creation paradigms: (a) Outcome-Driven: Ad-hoc solving with disposable scripts; (b) Code-Centric: Spec-based translation with limited safety; (c) Tool-Genesis(Ours): Inductive design for verified, reusable assets.
|
| 8 |
+
[\(Karpas et al., 2022;](#page-8-0) [Yao et al., 2023;](#page-10-0) [Schick et al., 2023\)](#page-9-0)), with benchmarks further standardizing the evaluation (e.g., [\(Patil et al., 2023;](#page-9-1) [Qin et al., 2023a;](#page-9-2) [Li et al., 2023;](#page-9-3) [Anony](#page-8-1)[mous, 2023;](#page-8-1) [Guo et al., 2024;](#page-8-2) [Berkeley Function Call](#page-8-3)[ing Leaderboard \(BFCL\) Team, 2024;](#page-8-3) [Wang et al., 2024a;](#page-9-4) [Huang et al., 2024;](#page-8-4) [Zhang et al., 2025c;](#page-10-1) [Shi et al., 2024;](#page-9-5) [Wang et al., 2024b\)](#page-9-6)). In this paradigm, tool use is largely reduced to selecting an API, filling arguments, and executing calls under a fixed contract, while success is measured by answer correctness or call-level validity. In realistic deployments, however, this assumption often breaks due to missing specifications, evolving APIs, uncovered long-tail needs, or execution failures caused by bugs. Even small interface ambiguities (e.g., optional fields, implicit constraints, undocumented edge cases) can cascade into repeated execution errors and brittle agent behaviors, especially when the task requires multi-step composition across tools. As a result, agents must evolve from merely *using* tools to *creating*, *adapting*, and *repairing* tools from abstract requirements, and to distilling reusable pipelines into maintainable tool assets—a core mechanism of self-evolving language agents
|
| 9 |
+
{1}------------------------------------------------
|
| 10 |
+
| 055 | |
|
| 11 |
+
|-----|--|
|
| 12 |
+
| 056 | |
|
| 13 |
+
| 057 | |
|
| 14 |
+
| 058 | |
|
| 15 |
+
| 059 | |
|
| 16 |
+
| 060 | |
|
| 17 |
+
| 061 | |
|
| 18 |
+
| 062 | |
|
| 19 |
+
| 063 | |
|
| 20 |
+
| 064 | |
|
| 21 |
+
| 065 | |
|
| 22 |
+
| | |
|
| 23 |
+
| Benchmark | Scale (Reported) | | I. Artifacts Required | | | | II. Verification Signals | | | |
|
| 24 |
+
|----------------------------------|------------------|--------------|-----------------------|-----------|---------------|---------------|--------------------------|-----------------------|--------------|-------------|
|
| 25 |
+
| | Tool<br>Sets | Avg<br>Tools | #<br>Domains | No<br>Doc | Schema<br>Gen | Reuse<br>Tool | Toolset<br>(≥ 2) | Held-out<br>UnitTests | Neg<br>Tests | GT<br>Tools |
|
| 26 |
+
| CREATOR (Qian et al., 2023b) | 2K | 1 | 9 | ✗ | ✗ | ✓ | ✓ | ✗ | ✗ | ✗ |
|
| 27 |
+
| LATM (Cai et al., 2024) | 6 | 1 | 6 | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
|
| 28 |
+
| CRAFT (Yuan et al., 2024) | 150 | 3 | 3 | ✗ | ✗ | ✓ | ✓ | ✗ | ✗ | ✗ |
|
| 29 |
+
| TM-Bench (Wölflein et al., 2025) | 15 | 1 | 4 | ✓ | ✗ | ✓ | ✗ | ✓ | ✗ | ✗ |
|
| 30 |
+
| SciEvo (Zhang et al., 2025a) | 925 | 6 | 25 | ✓ | ✗ | ✓ | ✗ | ✓ | ✗ | ✗ |
|
| 31 |
+
| TOOL-GENESIS (Ours) | 86 | 6 | 24 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| 32 |
+
*Table 1.* Feature-wise comparison of representative *tool-creation* benchmarks under a strict binary rubric. Held-out UnitTests indicates tests/invocations are *not* available during tool creation and used strictly for evaluation (e.g., TM-Bench).
|
| 33 |
+
that improve over long-horizon task distributions [\(Wu et al.,](#page-10-5) [2024;](#page-10-5) [Tan et al., 2024\)](#page-9-8).
|
| 34 |
+
Despite steady progress, when the goal is to evaluate this self-evolving capability along the tool dimension under deployment-like constraints, existing benchmarks exhibit three practical disconnects. First, most evaluations remain spec-first: they assume that interfaces or schemas are directly available, or implicitly rely on high-quality reference specifications. This emphasizes correctness under predefined contracts, while the end-to-end capability of inferring interface contracts from requirements and producing machine-checkable schemas is not systematically measured. Second, regarding tool organization, many settings primarily evaluate the scale or diversity of tool collections rather than the construction of a scenario-closed toolbox. They often overlook the agent's ability to distill capabilities into a cohesive, maintainable toolset that covers key sub-processes of a specific real-world scenario (e.g., [Yuan et al., 2024;](#page-10-2) [Wang et al., 2024c;](#page-10-6) [Zhao et al., 2025;](#page-10-7) [Huang et al., 2025;](#page-8-6) [Qian et al., 2024\)](#page-9-9). Third, and most critically, evaluation signals are often outcome-centric, creating a "black box" dilemma. Benchmarks frequently rely on final answers or coarse call-level checks. Even when unit tests are used, their coverage and attribution granularity vary widely. This makes it difficult to disentangle whether a failure stems from defective tool construction (e.g., invalid schemas, logic bugs) or suboptimal tool utilization strategies, obscuring the specific stage where the error occurred (e.g., [Zhang et al.,](#page-10-8) [2025b;](#page-10-8) [Wölflein et al., 2025;](#page-10-3) [Guo et al., 2024;](#page-8-2) [Anonymous,](#page-8-7) [2024;](#page-8-7) [Lu et al., 2024\)](#page-9-10).
|
| 35 |
+
To address these deployment-facing gaps, we introduce Tool-Genesis, a diagnostic benchmark designed to decouple tool generation from tool utilization. Unlike spec-first settings, Tool-Genesis evaluates agents under missing or underspecified interfaces, requiring them to infer contracts from abstract requirements, generate machine-checkable schemas, and produce executable implementations that satisfy criteria for reuse and maintenance. Crucially, our protocol serves as a diagnostic probe: it reveals that even state-ofthe-art models struggle to construct precise tool interfaces
|
| 36 |
+
or logic in a one-shot setting. These minor initial flaws are amplified through the pipeline, leading to precipitous drops in downstream metrics. By shifting the target from one-off scripts to reusable tool assets, Tool-Genesis evaluates whether agents can continuously distill capabilities to cover a scenario's task distribution. Finally, we provide a unified, full-lifecycle evaluation protocol that jointly measures compliance, server executability, schema consistency, and functional validation (via explicit negative/boundary tests). We also introduce an oracle-normalized upper bound to quantify the utility gap between generated tool assets and reference tools.
|
| 37 |
+
- Benchmark setting. We formalize a requirement-driven tool-creation setting that elevates toolsets as reusable assets. It evaluates creation under missing specifications, focusing on the agent's ability to infer schemas and implement executable logic from abstract requirements.
|
| 38 |
+
- Diagnostic evaluation protocol. We provide a fulllifecycle, execution-grounded protocol designed to disentangle failure causes. By incorporating multi-level signals—including compliance, schema fidelity, and explicit negative/boundary unit tests—we enable precise attribution of errors to either tool quality or usage strategy, addressing the "black box" issue.
|
| 39 |
+
- Oracle-normalized utility gap. We introduce an oraclenormalized upper-bound comparison to quantify the utility gap between generated tool assets and reference tools under the same task distribution, providing a clearer measure of practical self-evolution capability.
|
| 40 |
+
# 2. Problem Formalization
|
| 41 |
+
### 2.1. Task Definition
|
| 42 |
+
We formalize TOOL GENESIS as a conditional generation problem over Model Context Protocol (MCP) interfaces. Let X denote the natural-language task description, S the space of valid MCP interface schemas, and E the space of
|
| 43 |
+
{2}------------------------------------------------
|
| 44 |
+
<span id="page-2-1"></span>
|
| 45 |
+
*Figure 2.* Dataset construction pipeline of TOOL GENESIS.
|
| 46 |
+
executable server implementations. An MCP schema s ∈ S is represented as an ordered list of atomic tool definitions, s = [t1, . . . , tK], where each tool t<sup>k</sup> = ⟨ηk, ϕk, δk⟩ consists of a unique invocation identifier ηk, a parameter interface ϕ<sup>k</sup> specified by a JSON-schema-like typed signature with constraints, and a natural-language description δ<sup>k</sup> grounding its intended semantics and usage.
|
| 47 |
+
We decompose the tool creation process into two coupled prediction phases: Tool Interface Prediction and Tool Materialization. Formally, the joint probability of producing a schema s and an implementation e given requirement x is factorized as:
|
| 48 |
+
$$P_{\theta}(s, e \mid x) = \underbrace{P_{\theta}(s \mid x)}_{\text{Interface Prediction}} \cdot \underbrace{P_{\theta}(e \mid s)}_{\text{Materialization}}. \tag{1}$$
|
| 49 |
+
In the first phase, the model predicts an interface schema sˆ = arg maxs∈S Pθ(s | x), specifying the structured tool signatures. In the second phase, conditioned on a schema scond, the model materializes an executable server implementation via eˆ = arg maxe∈E Pθ(e | scond). We evaluate this materialization under two settings: *Oracle Materialization*, where scond = s ∗ (ground truth) to isolate engineering capability, and *Cascaded Materialization*, where scond = ˆs (predicted schema) to assess end-to-end performance.
|
| 50 |
+
### <span id="page-2-2"></span>2.2. Metrics
|
| 51 |
+
> We evaluate tool creation with a four-level metric suite (Appendix [A\)](#page-11-0): (i) Level 1 (Surface Compliance) reports Compliance Rate and Server Execution Rate. Compliance Rate measures whether list\_tools returns a parseable, MCPcompliant registry, while Server Execution Rate measures whether the server launches and remains responsive under fixed timeouts. (ii) Level 2 (Semantic Interface Fidelity)
|
| 52 |
+
reports Schema-F1, quantifying schema-level fidelity by aligning predicted and reference tools via bipartite matching and computing an F1 score over tool interfaces. (iii) Level 3 (Functional Correctness) reports UTsoft and UThard, which measure the fraction of tools passing predefined Unit Tests under relaxed and strict (boundary/negative) criteria, respectively. (iv) Level 4 (Downstream Task Utility) assesses the end-to-end practical efficacy by employing a fixed proxy agent (qwen3-14b-instruct) to solve benchmark tasks equipped with the generated tools. To rigorously isolate tool quality from solver capability, we conduct a parallel control experiment using ground-truth reference tools, with all final outcomes evaluated by an LLM-as-a-Judge. This comparative setup allows us to report an Oracle-Normalized Success Rate (SR), which quantifies the utility of the synthesized tools relative to the upper-bound performance achieved by the optimal reference implementation under the same experimental conditions.
|
| 53 |
+
# 3. Dataset Construction
|
| 54 |
+
This section describes the dataset construction pipeline of TOOL GENESIS. It covers *Compliant MCP-server Data Collection* ([§3.1\)](#page-2-0), *High-Quality Task & Trajectory Generation* ([§3.2\)](#page-3-0), *Comprehensive Unit Test Generation* ([§3.3\)](#page-3-1), and *Manual Quality Inspection* ([§3.4\)](#page-3-2). The overall procedure is illustrated in Figure [2.](#page-2-1) Detailed prompts, rubrics, thresholds, and implementation specifics are provided in Appendix [B.](#page-12-0)
|
| 55 |
+
### <span id="page-2-0"></span>3.1. Compliant MCP-server Data Collection
|
| 56 |
+
*MCP Crawling:* We collect MCP servers from web sources: (i) MCP aggregators (GLMA, Smithery), (ii) GitHub search and curated lists, and (iii) HuggingFace (e.g., Toucan) in
|
| 57 |
+
{3}------------------------------------------------
|
| 58 |
+
Aug–Sep 2025. We keep source links and server metadata (server\_name, description), without mirroring repositories. We obtain tool registries by launching servers and calling list\_tools, falling back to static registries/specifications when needed. Schemas are normalized using server\_name and tool\_name as server/tool IDs.
|
| 59 |
+
218 219 *MCP-server Filtering.* We apply a four-stage filtering pipeline to construct a high-quality MCP-server dataset. (i) Structure Validation enforces that each server exposes a parseable tool registry with well-formed tool names, descriptions, and input schemas. (ii) Executable Validation removes servers that cannot be reliably launched or invoked in a sandboxed environment. (iii) Deduplication & Clustering reduces redundancy by grouping servers with similar schema-level interfaces and retaining a single representative per group. (iv) LLM Semantic Validation filters servers that require external credentials or exhibit high sandbox requirements, ensuring safe and self-contained execution. The remaining servers form the MCP-server Dataset Dsrv (86 servers).
|
| 60 |
+
### <span id="page-3-0"></span>3.2. High-Quality Task & Trajectory Generation
|
| 61 |
+
*Task generation and filtering.* We follow a Toucan-style LLM-driven pipeline [\(Xu et al., 2025\)](#page-10-9) to synthesize tasks. For each server, an LLM is prompted with tool schemas (and docs, if any) to generate tasks, expanded along breadth (distinct scenarios and tool subsets) and depth (multi-step tasks with more tool calls).To ensure high data diversity, we further employ a rejection sampling strategy that penalizes redundant tool combinations, forcing the LLM to explore edge cases and rare parameter configurations. An LLM-as-judge scores candidates on a fixed 1–5 Likert rubric (quality, realism, verifiability, stability) and assesses *solvability*; we retain only tasks with all dimensions > 3 and solvable=true.
|
| 62 |
+
*Trajectory generation and filtering.* For each retained task, we generate execution trajectories by running an agent in a sandbox(to support servers requiring network access).This sandbox execution ensures that each trajectory is grounded in real-time tool feedback, allowing us to filter out "hallucinated" successful executions that do not reflect actual API behaviors. We apply lightweight rule-based checks (parseable calls, valid responses) and employ LLM-as-ajudge to verify consistency and *completion* and penalize redundancy; we retain trajectories with completion and conciseness > 3 and complete=true, with solvability and completion judged by the LLM.
|
| 63 |
+
### <span id="page-3-1"></span>3.3. Comprehensive Unit Test Generation
|
| 64 |
+
*Unit test generation.* We extract unit tests from Dtraj by converting replayable tool-call steps (executable in the sandbox) into a unified format (tool\_name, inputs, expected
|
| 65 |
+
<span id="page-3-3"></span>
|
| 66 |
+
*Figure 3.* Comparison of benchmarks in terms of task reasoning depth and tool compositionality.
|
| 67 |
+
outputs), retaining up to 100 tests per server for coverage. When extraction provides insufficient coverage for a tool, we synthesize additional tests with an LLM conditioned on the tool schema, targeting diverse valid calls.
|
| 68 |
+
*Unit test filtering.* We apply two post-filters for quality and deduplication. (i) Parameter-based filtering removes tests with invalid inputs, type errors, or disallowed dependencies. (ii) We cluster tests per tool to merge near-duplicates and keep representatives, embedding normalized (input, output) pairs and merging those with cosine similarity ≥ 0.9.
|
| 69 |
+
### <span id="page-3-2"></span>3.4. Manual Quality Inspection
|
| 70 |
+
*Manual Annotation:* (i) MCP-server Data Consistency Check—verify schema/version consistency, stable unique IDs, split integrity, and formatting rules; (ii) Task Tool Functionality Match—confirm that referenced tools exist in the registry, required arguments are schema-compatible, and the task intent aligns with documented tool functionality; (iii) Trajectory Validity Check—ensure trajectories satisfy task constraints with coherent ordering, contain no malformed tool calls, and have no forbidden dependencies; (iv) Unit Test Coverage Check—check that tests cover diverse tools and parameter regimes, meet per-server coverage targets, and avoid redundancy.
|
| 71 |
+
*Manual Review.* All instances are manually re-checked by *graduate-level* reviewers (3 annotators over two weeks) in multiple passes. Reviewers conduct both *instance-level* inspection (task statement, referenced tools, trajectories, and unit tests) and *cross-file* consistency checks (registry ↔ task ↔ trajectory ↔ tests), correcting minor issues when possible and removing samples that violate any requirement. In particular, they (a) verify that each task is solvable using only the declared toolset and does not rely on hidden assumptions; (b) validate that every tool call conforms to the declared schema (argument names/types, required fields, and return usage); (c) check that trajectories are coherent and free of malformed calls, missing steps, or forbidden ex-
|
| 72 |
+
{4}------------------------------------------------
|
| 73 |
+
<span id="page-4-0"></span>
|
| 74 |
+
| Foundation &<br>Core Tech | Data Intelligence &<br>Automation | Productivity &<br>Workflow | Creative & Digital<br>Life | Services &<br>Emerging Fields | General & Others |
|
| 75 |
+
|----------------------------------------------------------|---------------------------------------------|--------------------------------------------------------|----------------------------------------------|----------------------------------------------------|------------------------------------------------------|
|
| 76 |
+
| Operating<br>System<br>Core software<br>platform | AI/ML Tools<br>Intelligent<br>algorithms | Daily<br>Productivity<br>Task<br>management | Content<br>Creation<br>Media<br>generation | Financial<br>Services<br>Banking &<br>finance | Web Search<br>& Research<br>Information<br>retrieval |
|
| 77 |
+
| Memory<br>Management<br>System resource<br>optimization | Data Analysis<br>Insights from data | Time &<br>Calendar<br>Scheduling &<br>planning | Social Media<br>Networking<br>platforms | Health &<br>Fitness<br>Wellness tracking | Education<br>Learning<br>resources |
|
| 78 |
+
| Database<br>Operations<br>Data storage &<br>management | Browser<br>Automation<br>Web task scripting | Communication<br>Tools<br>Messaging &<br>collaboration | Gaming<br>Interactive<br>entertainment | Travel &<br>Maps<br>Navigation & trips | Weather<br>Forecast services |
|
| 79 |
+
| Security &<br>Authentication<br>Protection &<br>identity | Development<br>Tools<br>Software building | File<br>Management<br>Organization &<br>storage | API<br>Integration<br>Connecting<br>services | Crypto &<br>Blockchain<br>Decentralized<br>finance | Others<br>Miscellaneous<br>categories |
|
| 80 |
+
| Statistic | Number |
|
| 81 |
+
|---------------------------|--------|
|
| 82 |
+
| MCP-servers | 86 |
|
| 83 |
+
| Total Tools | 508 |
|
| 84 |
+
| Domain classes | 24 |
|
| 85 |
+
| Label classes | 18 |
|
| 86 |
+
| Unit test | 9441 |
|
| 87 |
+
| Total tasks | 2150 |
|
| 88 |
+
| Average task length | 53 |
|
| 89 |
+
| Average step length | 6 |
|
| 90 |
+
| Average tool-using length | 3 |
|
| 91 |
+
*Figure 4.* Overview statistics of TOOL GENESIS. Left: functional domain coverage of MCP servers across 24 domain classes. Right: dataset scale and task/trajectory structure statistics.
|
| 92 |
+
ternal dependencies; and (d) inspect unit tests to ensure they include both positive and negative/boundary cases, span representative parameter regimes, and do not leak answers or duplicate existing tests. We retain an instance only when at least two annotators independently agree on accept/reject, and the inter-annotator agreement on accept/reject decisions reaches a Cohen's κ of 0.85 [\(Landis & Koch, 1977\)](#page-9-11). Finally, after edits and removals, we perform a final end-to-end recheck on the finalized dataset to ensure each retained instance meets all constraints and yields a coherent tool-use process.
|
| 93 |
+
# 4. Data Analysis
|
| 94 |
+
*Overall scale.* Figure [4](#page-4-0) summarizes the scale of TOOL GEN-ESIS. After filtering and manual inspection, the dataset contains 86 executable MCP servers with 508 tools, spanning 24 domain classes. We collect 2,150 tasks and 9,441 unit tests, covering 18 task label classes. These statistics provide a concise overview of the benchmark size across servers, tools, tasks, and tests.
|
| 95 |
+
*Domain coverage.* The retained MCP servers span a diverse set of functional domains. The 24 domain classes are grouped into six high-level categories, covering foundational system tools, data intelligence and automation, productivity and workflow utilities, creative and digital-life applications, service-oriented domains (e.g., finance, health, travel), and general-purpose tools. The distribution includes both commonly used domains and a long tail of more specialized categories.
|
| 96 |
+
*Execution structure.* We further examine the execution structure of task trajectories. Tasks have an average length of 53 tokens, while trajectories involve 6 execution steps on average and invoke 3 distinct tools per task. This indicates that many instances require sequential tool invocation rather than single-step execution. As shown in Figure [3,](#page-3-3) the
|
| 97 |
+
dataset covers task structures ranging from simple singletool interactions to multi-step, multi-tool compositions.
|
| 98 |
+
# 5. Experiments
|
| 99 |
+
### 5.1. Experimental Setup
|
| 100 |
+
Models. We evaluate a broad suite of frontier and opensource LLMs, covering closed-source families—OpenAI GPT models (gpt-4o, gpt-4.1-mini, gpt-4.1, gpt-5.1; [\(Ope](#page-9-12)[nAI, 2025\)](#page-9-12)), Anthropic Claude (claude-sonnet-4; [\(An](#page-8-8)[thropic, 2025\)](#page-8-8)), and Google Gemini (gemini-3-flash; [\(Google DeepMind, 2025\)](#page-8-9))—as well as open-source families including Qwen3 (4B/8B/14B/30B-A3B/32B/235B-A22B; [\(Yang et al., 2025\)](#page-10-10)), DeepSeek (deepseek-v3.2; [\(DeepSeek-AI et al., 2024\)](#page-8-10)), and MoonshotAI Kimi (Kimi-K2(-Instruct); [\(Kimi Team, 2025\)](#page-9-13)).
|
| 101 |
+
Inference Strategy. On top of this model suite, we run a unified evaluation harness with two inference strategies: (i) Direct, which performs single-pass generation of TI and TM outputs; and (ii) Code-Agent, which wraps the same LLM in a ReAct-style agent loop [\(Yao et al., 2023\)](#page-10-0). Specifically, Code-Agent follows a "think → act (tool) → observe" procedure for up to 10 steps, and can invoke sandboxed execution tools to run and validate generated artifacts.
|
| 102 |
+
Implementation Details. All models are queried through their standard chat APIs using a shared prompt template and fixed decoding settings (max tokens = 40,960, temperature = 0, top\_p = 1). For Code-Agent, sandboxed execution is performed under fixed resource limits and timeouts to support automated artifact validation and downstream task execution.
|
| 103 |
+
### 5.2. Experimental Results
|
| 104 |
+
Several conclusions can be drawn from TableTable [2:](#page-5-0)(i) Closed-loop repair yields consistent multi-layer gains
|
| 105 |
+
{5}------------------------------------------------
|
| 106 |
+
| 275 | |
|
| 107 |
+
|-----|--|
|
| 108 |
+
| 276 | |
|
| 109 |
+
| 277 | |
|
| 110 |
+
| 278 | |
|
| 111 |
+
| 279 | |
|
| 112 |
+
| 280 | |
|
| 113 |
+
| 281 | |
|
| 114 |
+
| 282 | |
|
| 115 |
+
| 283 | |
|
| 116 |
+
| 284 | |
|
| 117 |
+
| 285 | |
|
| 118 |
+
| 286 | |
|
| 119 |
+
| 287 | |
|
| 120 |
+
| 288 | |
|
| 121 |
+
| 289 | |
|
| 122 |
+
| 290 | |
|
| 123 |
+
| 291 | |
|
| 124 |
+
| 292 | |
|
| 125 |
+
| | |
|
| 126 |
+
| 293 | |
|
| 127 |
+
| 294 | |
|
| 128 |
+
| 295 | |
|
| 129 |
+
| 296 | |
|
| 130 |
+
| 297 | |
|
| 131 |
+
| 298 | |
|
| 132 |
+
| 299 | |
|
| 133 |
+
| 300 | |
|
| 134 |
+
| 301 | |
|
| 135 |
+
| 302 | |
|
| 136 |
+
| 303 | |
|
| 137 |
+
| 304 | |
|
| 138 |
+
| 305 | |
|
| 139 |
+
| 306 | |
|
| 140 |
+
| 307 | |
|
| 141 |
+
| 308 | |
|
| 142 |
+
| 309 | |
|
| 143 |
+
| | |
|
| 144 |
+
<span id="page-5-0"></span>
|
| 145 |
+
| Model Family | Version | L1 | | L2 | L3 | | L4 | | |
|
| 146 |
+
|-------------------------------------|-------------------------|--------------|--------|------------|----------|----------|-------|--|--|
|
| 147 |
+
| | | Compliance ↑ | Exec.↑ | Schema-F1↑ | UTsoft ↑ | UThard ↑ | SR↑ | | |
|
| 148 |
+
| Direct | | | | | | | | | |
|
| 149 |
+
| | gpt-4o | 0.779 | 0.209 | 0.175 | 0.089 | 0.049 | 0.153 | | |
|
| 150 |
+
| | gpt-4.1-mini | 0.686 | 0.318 | 0.293 | 0.127 | 0.088 | 0.199 | | |
|
| 151 |
+
| OpenAI (OpenAI, 2025) | gpt-4.1 | 0.860 | 0.738 | 0.675 | 0.261 | 0.129 | 0.330 | | |
|
| 152 |
+
| | gpt-5.1 | 0.826 | 0.759 | 0.688 | 0.281 | 0.161 | 0.372 | | |
|
| 153 |
+
| Anthropic (Anthropic, 2025) | claude-haiku-3.5 | 0.744 | 0.012 | 0.012 | 0.007 | 0.000 | 0.012 | | |
|
| 154 |
+
| Google (Google DeepMind, 2025) | gemini-3-flash-preview | 0.872 | 0.140 | 0.116 | 0.084 | 0.037 | 0.103 | | |
|
| 155 |
+
| | 235b-a22b-instruct-2507 | 0.884 | 0.333 | 0.320 | 0.143 | 0.108 | 0.287 | | |
|
| 156 |
+
| | 32b | 0.791 | 0.282 | 0.258 | 0.176 | 0.078 | 0.178 | | |
|
| 157 |
+
| | 30b-a3b-instruct-2507 | 0.884 | 0.256 | 0.250 | 0.093 | 0.025 | 0.218 | | |
|
| 158 |
+
| Qwen3 (Yang et al., 2025) | 14b | 0.791 | 0.186 | 0.175 | 0.154 | 0.075 | 0.128 | | |
|
| 159 |
+
| | 8b | 0.686 | 0.012 | 0.011 | 0.001 | 0.001 | 0.012 | | |
|
| 160 |
+
| | 4b | 0.651 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | | |
|
| 161 |
+
| DeepSeek (DeepSeek-AI et al., 2024) | deepseek-v3.2 | 0.826 | 0.400 | 0.365 | 0.195 | 0.129 | 0.224 | | |
|
| 162 |
+
| MoonshotAI (Kimi Team, 2025) | Kimi-K2-Instruct | 0.860 | 0.372 | 0.342 | 0.144 | 0.087 | 0.215 | | |
|
| 163 |
+
| Code-Agent | | | | | | | | | |
|
| 164 |
+
| | gpt-4o | 0.802 | 0.531 | 0.456 | 0.237 | 0.117 | 0.226 | | |
|
| 165 |
+
| | gpt-4.1-mini | 0.651 | 0.906 | 0.640 | 0.278 | 0.144 | 0.344 | | |
|
| 166 |
+
| OpenAI (OpenAI, 2025) | gpt-4.1 | 0.884 | 0.756 | 0.691 | 0.288 | 0.145 | 0.433 | | |
|
| 167 |
+
| | gpt-5.1 | 0.895 | 0.941 | 0.867 | 0.421 | 0.246 | 0.604 | | |
|
| 168 |
+
| Anthropic (Anthropic, 2025) | claude-haiku-3.5 | 0.733 | 0.964 | 0.821 | 0.342 | 0.180 | 0.472 | | |
|
| 169 |
+
| Google (Google DeepMind, 2025) | gemini-3-flash-preview | 0.849 | 0.977 | 0.912 | 0.448 | 0.255 | 0.581 | | |
|
| 170 |
+
| Qwen3 (Yang et al., 2025) | 235b-a22b-instruct-2507 | 0.686 | 0.971 | 0.722 | 0.363 | 0.212 | 0.472 | | |
|
| 171 |
+
| | 32b | 0.860 | 0.892 | 0.801 | 0.317 | 0.179 | 0.495 | | |
|
| 172 |
+
| | 30b-a3b-instruct-2507 | 0.744 | 0.913 | 0.694 | 0.336 | 0.187 | 0.410 | | |
|
| 173 |
+
| | 14b | 0.686 | 0.807 | 0.707 | 0.316 | 0.178 | 0.453 | | |
|
| 174 |
+
| | 8b | 0.767 | 0.694 | 0.646 | 0.243 | 0.121 | 0.332 | | |
|
| 175 |
+
| | 4b | 0.651 | 0.326 | 0.285 | 0.127 | 0.058 | 0.181 | | |
|
| 176 |
+
| DeepSeek (DeepSeek-AI et al., 2024) | deepseek-v3.2 | 0.872 | 0.744 | 0.702 | 0.330 | 0.195 | 0.449 | | |
|
| 177 |
+
| MoonshotAI (Kimi Team, 2025) | Kimi-K2 | 0.872 | 0.976 | 0.898 | 0.389 | 0.235 | 0.585 | | |
|
| 178 |
+
*Table 2.* Main results under two evaluation paradigms (Direct and Code-Agent) updated with the latest metrics. Metrics follow our four-level evaluation: *L1* surface compliance (Compliance, Server Execution), *L2* semantic interface fidelity (Schema-F1), *L3* functional correctness via unit tests (UTsoft, UThard), and *L4* downstream task utility (Task Success Rate, SR).
|
| 179 |
+
and can produce step-changes in end-to-end utility. Across most model families, *Code-Agent* improves functional correctness and task success beyond surface executability and schema fidelity. For Gemini-3-Flash, EXEC. increases from 0.140 to 0.977, Schema-F1 from 0.116 to 0.912, and UThard from 0.129 to 0.726, resulting in a large SRsoft jump (0.103 → 0.581). A similar effect is observed for Qwen3-235B (SRsoft: 0.193 → 0.622), indicating that execution feedback is effectively translated into verifiable correctness and downstream utility.(ii) High compliance and plausible schemas are necessary but insufficient, revealing a utility-conversion bottleneck. Strong upstream signals (L1/L2) do not guarantee downstream success (L4). Under *Direct*, Qwen3-32B achieves high EXEC. (0.938) and Schema-F1 (0.880), yet SRsoft remains 0.535. Conversely, when schema fidelity degrades (e.g., gpt-4.1 under *Direct*), downstream utility collapses accordingly. These gaps suggest that failures increasingly arise from implementation robustness, boundary handling, and state discipline that are only exposed through execution.(iii) Repair benefits are scale-dependent and can reorder models within a family. Under *Code-Agent*, larger models achieve higher downstream utility (e.g., Qwen3 SRsoft: 0.336 for 4B vs. 0.622 for 235B). Notably, model rankings can flip across strategies: Qwen3-32B outperforms 235B under *Direct*, while 235B overtakes under *Code-Agent*. This indicates that closed-loop tool creation relies on an additional capability—the ability to exploit execution feedback for targeted repair—that is not captured by single-pass generation alone.
|
| 180 |
+
# 6. Analysis
|
| 181 |
+
Beyond aggregate success rates, we analyze tool creation along three axes that align with our lifecycle evaluation.
|
| 182 |
+
{6}------------------------------------------------
|
| 183 |
+
<span id="page-6-3"></span>
|
| 184 |
+
Figure 5. Direct prompting vs. code-agent repair on Qwen3 scales: (a) Signal–Validation Alignment (SVA) of Schema-F1 and UT (soft/hard); (b) stage-wise cumulative pass-through across verification stages (Start, L1–L4) for selected scales, with solid/dashed lines denoting the two paradigms.
|
| 185 |
+
(i) We measure whether intermediate verification signals are predictive of downstream trajectory validation, and how closed-loop repair changes this predictiveness across model scales (Sec. 6.1). (ii) We localize where failures concentrate along the verification cascade by reporting stage-wise cumulative pass-through from Start to L1–L4, contrasting Direct prompting with Code-Agent repair and identifying the dominant attrition stages (Sec. 6.2). (iii) We move from inference-time interventions to capability internalization via finetuning, and examine how training reshapes one-shot synthesis under Direct and patch effectiveness under Code-Agent (Sec. 6.3).
|
| 186 |
+
#### <span id="page-6-0"></span>6.1. Signal-validation alignment under closed-loop
|
| 187 |
+
Figure 5(a) quantifies how *indicative* verification signals are of downstream trajectory validation via a Signal–Validation Alignment (SVA) score (App. D.1). Under direct prompting, SVA remains low across scales: even at Qwen3-235B, Schema SVA is 0.19 and UT<sub>hard</sub> is 0.14, while Qwen3-8B collapses toward zero (Schema $\approx 0.01$ , UT<sub>hard</sub> $\approx 0.00$ ). Without execution feedback, interface- and verification-level metrics are weak proxies for downstream utility; with closed-loop repair, signal–validation alignment strengthens substantially. At Qwen3-235B, SVA reaches 0.58, and the improvement is stage-wise with a threshold around 8B $\rightarrow$ 14B: Schema increases from 0.32 to 0.51, and UT<sub>hard</sub> from 0.26 to 0.48.
|
| 188 |
+
#### <span id="page-6-1"></span>6.2. Pass-through along the verification cascade
|
| 189 |
+
Figure 5(b) reports the *cumulative pass-through* (in %) across Start and L1–L4. Under direct prompting, Qwen3-8B drops to 1.11% at L1 and $\approx 0.12\%$ by L2–L4; for Qwen3-14B/32B/235B, pass-through is 17.52/24.84/31.60% at L1 and 3.99/5.44/9.47% at L4. Closed-loop repair lifts early-stage pass-through (L1: 65.34%, 84.06%, 83.02%, 91.36% for 8B/14B/32B/235B) and improves late-stage retention
|
| 190 |
+
<span id="page-6-4"></span>
|
| 191 |
+
Figure 6. Base vs. fine-tuned performance under **Direct** and **Code-Agent** evaluation, summarized across our four-layer metric suite (L1–L4).
|
| 192 |
+
(L4: 8.85%, 7.97%, 15.69%, 30.01%), vs. 0.12%, 3.99%, 5.44%, and 9.47% under direct prompting. Once early stages are stabilized, the dominant attrition concentrates at L3/L4, and scaling mainly improves late-stage retention (e.g., L4: $7.97\% \rightarrow 15.69\% \rightarrow 30.01\%$ from 14B to 32B to 235B under code-agent). Overall, repair primarily reduces early structural failures, leaving deeper validation as the bottleneck.
|
| 193 |
+
### <span id="page-6-2"></span>6.3. Finetuning exploration: internalizing capability
|
| 194 |
+
Prompting and inference-time repair can improve tool creation by injecting demonstrations or execution feedback, but they do not necessarily strengthen the model's intrinsic ability to synthesize reusable tool assets. We therefore finetune models on TOOL GENESIS and evaluate whether training improves both intermediate verification and downstream task success. We defer training configurations and implementation details to Appendix E.
|
| 195 |
+
Finetuning on TOOL GENESIS yields consistent gains across all evaluation layers (Table 6), indicating that TOOL GEN-ESIS provides not only a diagnostic benchmark but also an effective training signal for requirement-driven tool cre
|
| 196 |
+
{7}------------------------------------------------
|
| 197 |
+
ation. On Qwen3-8B, under the Direct setting, finetuning improves one-shot generation at the interface and schema level: Compliance increases from 0.686 to 0.826 (+0.140), while Exec. rises from 0.012 to 0.047 (+0.035) and Schema-F1 from 0.011 to 0.046 (+0.035). These early-stage gains translate into measurable (though still small) functional validation improvements, with UTsoft increasing from 0.001 to 0.017 (+0.016) and UThard from 0.001 to 0.007 (+0.006), and downstream success SR improving from 0.012 to 0.026 (+0.014). Notably, because the Direct baseline is near-zero on executability and testing, absolute gains are more informative than relative ratios in this regime.
|
| 198 |
+
Under the Code-Agent setting, finetuning strengthens closed-loop repair and improves how execution feedback is converted into downstream utility. For Qwen3-8B, Compliance increases from 0.718 to 0.906 (+0.188), Exec. from 0.694 to 0.777 (+0.083), and Schema-F1 from 0.653 to 0.736 (+0.083). Improvements also propagate to functional validation, with UTsoft increasing from 0.307 to 0.377 (+0.070) and UThard from 0.456 to 0.533 (+0.077), yielding a higher SR from 0.336 to 0.399 (+0.063). Compared to Direct, gains under Code-Agent are less concentrated at the earliest gates and more evenly reflected in UT and SR, consistent with the interpretation that finetuning improves bug localization and patch quality under a fixed repair budget.
|
| 199 |
+
Overall, finetuning complements inference-time repair: it improves one-shot interface/schema synthesis under Direct, and under Code-Agent it increases the effectiveness of execution-triggered debugging, thereby raising the rate at which intermediate verification improvements translate into downstream task success.
|
| 200 |
+
# 7. Related Work
|
| 201 |
+
Tool-augmented LLMs are commonly evaluated by whether an agent can correctly invoke external tools and APIs to accomplish tasks [\(Karpas et al., 2022;](#page-8-0) [Yao et al., 2023;](#page-10-0) [Schick et al., 2023;](#page-9-0) [Patil et al., 2023;](#page-9-1) [Li et al., 2023;](#page-9-3) [Qin](#page-9-2) [et al., 2023a;](#page-9-2)[b;](#page-9-14) [Guo et al., 2024;](#page-8-2) [Berkeley Function Call](#page-8-3)[ing Leaderboard \(BFCL\) Team, 2024;](#page-8-3) [Wang et al., 2024a;](#page-9-4) [Huang et al., 2024;](#page-8-4) [Anonymous, 2025;](#page-8-11) [Zhang et al., 2025c;](#page-10-1) [Shen et al., 2024;](#page-9-15) [Liu et al., 2024;](#page-9-16) [Wang et al., 2024f;](#page-10-11) [Liu](#page-9-17) [et al., 2023b;](#page-9-17) [Zhang et al., 2024;](#page-10-12) [Wang et al., 2024e\)](#page-10-13). Within this broader line, early tool-creation benchmarks and systems largely treat creation as a task-scoped deliverable and score it with downstream success as a black-box signal [\(Cai et al., 2023;](#page-8-12) [Qian et al., 2023a;](#page-9-18) [Wölflein et al., 2025\)](#page-10-3); while task-relevant, such outcome-only evaluation is diagnostically weak because failures conflate requirement misunderstanding, interface/spec errors, implementation bugs, and unsafe or incorrect usage policies. To reduce hallucinated specifications and better reflect real constraints, later
|
| 202 |
+
work increasingly grounds creation in external references (API docs/specs/repos/knowledge bases) and adds contractfaithfulness signals (e.g., schema/parameter consistency) as intermediate checks, often still reported alongside end-task outcomes [\(Liu et al., 2025;](#page-9-19) [Zhao et al., 2025;](#page-10-7) [Qian et al.,](#page-9-9) [2024;](#page-9-9) [Wang et al., 2024d\)](#page-10-14). As evaluation moves closer to "real execution," a complementary trend adopts executable and test-driven verification to obtain reproducible correctness signals and clearer attribution [\(Zhang et al., 2025b;](#page-10-8) [Wölflein et al., 2025;](#page-10-3) [Jimenez et al., 2023;](#page-8-13) [Chen et al., 2021;](#page-8-14) [Austin et al., 2021;](#page-8-15) [Hendrycks et al., 2021;](#page-8-16) [Liu et al., 2023a;](#page-9-20) [Zhuo et al., 2024\)](#page-10-15); here, a stable execution environment and robust negative/boundary testing become essential to avoid flaky outcomes, prevent accidental overfitting to shallow success cases, and enable regression checking under tool evolution. More recently, tool creation is increasingly framed as building reusable toolsets/toolboxes that support retrieval, composition, maintenance, and updates across a task distribution—often serving knowledge access rather than a single one-off objective [\(Yuan et al., 2024;](#page-10-2) [Wang](#page-10-6) [et al., 2024c;](#page-10-6) [Zhao et al., 2025;](#page-10-7) [Huang et al., 2025;](#page-8-6) [Qian](#page-9-9) [et al., 2024\)](#page-9-9). Despite these advances, existing benchmarks remain fragmented: some emphasize task outcomes, others emphasize interface faithfulness or passing tests, and toolsetlevel reuse/maintenance is rarely evaluated together with executable correctness (including invalid/boundary cases) and downstream utility in a unified, reproducible protocol; in particular, oracle-normalized comparisons that quantify the utility gap between generated tools and ground-truth tools are still under-explored, motivating our benchmark and evaluation design.
|
| 203 |
+
# 8. Conclusion
|
| 204 |
+
We present Tool-Genesis, a diagnostic benchmark for evaluating tool creation as a first-class capability of self-evolving language agents. Tool-Genesis departs from spec-first settings by requiring agents to infer tool contracts from abstract requirements, generate machine-checkable schemas, and implement executable logic that can be reused as a scenarioclosed toolset. To avoid outcome-only "black box" evaluation, we introduce a full-lifecycle protocol that jointly measures interface compliance, executability, schema fidelity, and functional correctness with explicit negative/boundary unit tests, and we further report an oracle-normalized upper bound to quantify the utility gap between generated and reference tools under the same task distribution.Our empirical findings highlight a key bottleneck: even strong models often fail to produce precise interfaces or correct implementations in a one-shot setting, and these small early-stage defects are amplified through the downstream pipeline. We hope Tool-Genesis will help the community move beyond ad-hoc, disposable tool use toward *persistent* and *maintainable* tool assets, and enable more targeted progress on tool
|
| 205 |
+
{8}------------------------------------------------
|
| 206 |
+
induction, repair, and verification in realistic deployments.
|
| 207 |
+
# Impact Statement
|
| 208 |
+
"This paper presents work whose goal is to advance the field of Machine Learning. There are many potential societal consequences of our work, none which we feel must be specifically highlighted here."
|
| 209 |
+
The above statement can be used verbatim in such cases, but we encourage authors to think about whether there is content which does warrant further discussion, as this statement will be apparent if the paper is later flagged for ethics review.
|
| 210 |
+
# References
|
| 211 |
+
- <span id="page-8-1"></span>Anonymous. Toolbench: Benchmarking large language models for tool manipulation. arXiv preprint, 2023. Replace with official BibTeX (arXiv / official page).
|
| 212 |
+
- <span id="page-8-7"></span>Anonymous. SWE-bench: Can language models resolve real-world github issues? arXiv preprint, 2024. Replace with official BibTeX (arXiv / official page).
|
| 213 |
+
- <span id="page-8-11"></span>Anonymous. Toolhop: A query-driven benchmark for multihop tool use, 2025. URL [ [02506](
|
| 214 |
+
- <span id="page-8-8"></span>Anthropic. Claude opus 4 & claude sonnet 4: System card, July 2025. URL [ [claude-4-system-card]( System card (PDF). Accessed: 2026-01-22.
|
| 215 |
+
- <span id="page-8-15"></span>Austin, J., Odena, A., Nye, M., Bosma, M., Michalewski, H., Dohan, D., Jiang, E., Cai, C., Terry, M., et al. Program synthesis with large language models, 2021. URL < Introduces MBPP (Mostly Basic Python Problems).
|
| 216 |
+
- <span id="page-8-12"></span>Cai, T., Wang, Z., Chen, Y., Ma, R., Li, Z., Zhu, L., Chen, W., Jiang, Y., Sun, M., and Liu, Z. Large language models as tool makers, 2023. URL [ [2305.17126](
|
| 217 |
+
- <span id="page-8-5"></span>Cai, Z., Liu, Y., Zhang, W., and Wang, Y. Latm: A benchmark for latent tool creation. *Proceedings of the 2024 International Conference on Machine Learning (ICML)*, pp. 234–245, 2024.
|
| 218 |
+
- <span id="page-8-14"></span>Chen, M., Tworek, J., Jun, H., Yuan, Q., Pinto, H. P. d. O., Kaplan, J., Edwards, H., et al. Evaluating large language models trained on code, 2021. URL [ [abs/2107.03374](
|
| 219 |
+
- <span id="page-8-10"></span>DeepSeek-AI et al. Deepseek-v3 technical report, 2024. URL <
|
| 220 |
+
- <span id="page-8-9"></span>Google DeepMind. Gemini 3 flash: Model card, December 2025. URL [ [googleapis.com/deepmind-media/Model-Cards/]( [Gemini-3-Flash-Model-Card.pdf]( Model card (PDF). Accessed: 2026-01-22.
|
| 221 |
+
- <span id="page-8-2"></span>Guo, Z., Cheng, S., Wang, H., Liang, S., Qin, Y., Li, P., Liu, Z., Sun, M., and Liu, Y. StableToolBench: Towards stable large-scale benchmarking on tool learning of large language models, 2024. URL [ [2403.07714](
|
| 222 |
+
- <span id="page-8-16"></span>Hendrycks, D., Basart, S., Kadavath, S., Mazeika, M., Arora, A., Guo, E., Burns, C., Puranik, S., He, H., Song, D., and Steinhardt, J. Measuring coding challenge competence with apps, 2021. URL [ [09938](
|
| 223 |
+
- <span id="page-8-4"></span>Huang, S., Zhong, W., Lu, J., Zhu, Q., Gao, J., Liu, W., Hou, Y., Zeng, X., Wang, Y., Shang, L., Jiang, X., Xu, R., and Liu, Q. Planning, creation, usage: Benchmarking llms for comprehensive tool utilization in real-world complex scenarios, 2024. URL [ [17167](
|
| 224 |
+
- <span id="page-8-6"></span>Huang, W., Zhuang, S., Wang, H., Guo, Z., Liu, Z., Sun, M., and Liu, Y. Toollibgen: Automated tool library generation with large language models, 2025. URL [ [org/abs/2505.16956](
|
| 225 |
+
- <span id="page-8-13"></span>Jimenez, C. E., Yang, J., Wettig, A., Yao, S., Pei, K., Press, O., and Narasimhan, K. SWE-bench: Can language models resolve real-world github issues?, 2023. URL <
|
| 226 |
+
- <span id="page-8-0"></span>Karpas, E., Shuster, K., Geva, M., Schick, T., Gupta, R., Eisenstein, J., and Berant, J. MRKL systems: A modular, neuro-symbolic architecture that combines large language models, external knowledge sources and discrete reasoning, 2022. URL <
|
| 227 |
+
{9}------------------------------------------------
|
| 228 |
+
<span id="page-9-13"></span>495 496 Kimi Team. Kimi k2: Open agentic intelligence, 2025. URL <
|
| 229 |
+
<span id="page-9-17"></span>513 514
|
| 230 |
+
<span id="page-9-19"></span>516
|
| 231 |
+
<span id="page-9-10"></span>524 525 526
|
| 232 |
+
<span id="page-9-12"></span>528 529 530
|
| 233 |
+
<span id="page-9-1"></span>534
|
| 234 |
+
- <span id="page-9-11"></span>Landis, J. R. and Koch, G. G. The measurement of observer agreement for categorical data. *Biometrics*, 33(1):159– 174, 1977.
|
| 235 |
+
- Langley, P. Crafting papers on machine learning. In Langley, P. (ed.), *Proceedings of the 17th International Conference on Machine Learning (ICML 2000)*, pp. 1207–1216, Stanford, CA, 2000. Morgan Kaufmann.
|
| 236 |
+
- <span id="page-9-3"></span>Li, Z., Huang, Q., Xu, H., Zhang, Z., Wang, J., and Li, J. API-Bank: A benchmark for tool-augmented LLMs, 2023. URL <
|
| 237 |
+
- <span id="page-9-20"></span>Liu, J., Xia, C., Zhang, L., et al. Is your code generated by chatgpt really correct? rigorous evaluation of large language models for code generation, 2023a. URL [https:]( [//arxiv.org/abs/2305.01210](
|
| 238 |
+
- Liu, T. et al. Agentbench: Evaluating llms as agents, 2023b. URL <
|
| 239 |
+
- Liu, X., Yin, D., Wu, Z., and Feng, Y. Reftool: Enhancing model reasoning with reference-guided tool creation, 2025. URL <
|
| 240 |
+
- <span id="page-9-16"></span>Liu, X. et al. τ -bench: A benchmark for tool-agent user interaction in real-world scenarios, 2024. URL [https:]( [//arxiv.org/abs/2406.12045](
|
| 241 |
+
- Lu, Y., Li, Z., Li, G., Ding, B., Wang, J., Liu, X., and Zhang, R. Toolsandbox: A state-of-the-art evaluation framework for tool-use robustness in large language models. *arXiv preprint arXiv:2408.04684*, 2024.
|
| 242 |
+
- OpenAI. Update to GPT-5 system card: GPT-5.2, December 2025. URL [ [3a4153c8-c748-4b71-8e31-aecbde944f8d/oai\\_5\\_2\\_]( [system-card.pdf]( System card (PDF). Accessed: 2026-01-22.
|
| 243 |
+
- Patil, S., Zhang, T., Wang, X., and Gonzalez, J. E. Gorilla: Large language model connected with massive APIs, 2023. URL <
|
| 244 |
+
- <span id="page-9-18"></span>Qian, C., Han, C., Fung, Y., Qin, Y., Liu, Z., and Ji, H. CREATOR: Tool creation for disentangling abstract and concrete reasoning of large language models. In *Findings of the Association for Computational Linguistics: EMNLP 2023*, pp. 6922–6939, Singapore, December 2023a. Association for Computational Linguistics. doi: 10.18653/v1/2023.findings-emnlp.462. URL [https:]( [//aclanthology.org/2023.findings-emnlp.462/](
|
| 245 |
+
- <span id="page-9-9"></span>Qian, C., Xiong, C., Liu, Z., and Liu, Z. Toolink: Linking toolkit creation and using through chain-of-solving on
|
| 246 |
+
- open-source model. In *Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers)*, pp. 831–854, Mexico City, Mexico, June 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.naacl-long.48. URL <
|
| 247 |
+
- <span id="page-9-7"></span>Qian, X., Zhang, Y., Li, Z., and Wang, L. Creator: A benchmark for tool creation and execution. *Journal of Artificial Intelligence Research*, 69:1–23, 2023b.
|
| 248 |
+
- <span id="page-9-2"></span>Qin, Y., Liang, S., Ye, Y., Zhu, K., Yan, L., Lu, Y., Lin, Y., Cong, X., Tang, X., Qian, B., Zhao, S., Hong, L., Tian, R., Xie, R., Zhou, J., Gerstein, M., Li, D., Liu, Z., and Sun, M. ToolLLM: Facilitating large language models to master 16000+ real-world APIs, 2023a. URL <
|
| 249 |
+
- <span id="page-9-14"></span>Qin, Y., Liang, S., Ye, Y., Zhu, K., Yan, L., Lu, Y., Lin, Y., Cong, X., Tang, X., et al. Toolbench: Towards benchmarking large language models on tool use, 2023b. URL <
|
| 250 |
+
- <span id="page-9-0"></span>Schick, T., Dwivedi-Yu, J., Dessì, R., Raileanu, R., Lombrozo, T., Zettlemoyer, L., Cancedda, N., and Scialom, T. Toolformer: Language models can teach themselves to use tools, 2023. URL [ [04761](
|
| 251 |
+
- <span id="page-9-15"></span>Shen, H., Li, Y., et al. Shortcutsbench: A large-scale realworld benchmark for api-based agents, 2024. URL [https:]( [//arxiv.org/abs/2407.00132](
|
| 252 |
+
- <span id="page-9-5"></span>Shi, Z., Gao, S., Yan, L., Feng, Y., Chen, X., Chen, Z., Yin, D., Verberne, S., and Ren, Z. Tool learning in the wild: Empowering language models as automatic tool agents. *arXiv preprint arXiv:2405.16533*, 2024.
|
| 253 |
+
- <span id="page-9-8"></span>Tan, W., Ding, Z., Zhang, W., Li, B., Zhou, B., Yue, J., et al. Cradle: Empowering foundation agents towards general computer control. *arXiv preprint arXiv:2403.03186*, 2024.
|
| 254 |
+
- <span id="page-9-4"></span>Wang, H., Wang, R., Xue, B., Xia, H., Cao, J., Liu, Z., Pan, J. Z., and Wong, K.-F. AppBench: Planning of multiple APIs from various APPs for complex user instruction. In Al-Onaizan, Y., Bansal, M., and Chen, Y.-N. (eds.), *Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing*, pp. 15322–15336, Miami, Florida, USA, November 2024a. Association for Computational Linguistics. doi: 10.18653/v1/2024.emnlp-main.856. URL [https:]( [//aclanthology.org/2024.emnlp-main.856/](
|
| 255 |
+
- <span id="page-9-6"></span>Wang, X., Chen, Y., Yuan, L., Zhang, Y., Li, Y., Peng, H., and Ji, H. Executable code actions elicit better llm agents.
|
| 256 |
+
{10}------------------------------------------------
|
| 257 |
+
550 In *Forty-first International Conference on Machine Learning (ICML)*, 2024b.
|
| 258 |
+
<span id="page-10-14"></span>556
|
| 259 |
+
<span id="page-10-9"></span>576
|
| 260 |
+
<span id="page-10-4"></span>594
|
| 261 |
+
- <span id="page-10-6"></span>Wang, Y., Zhang, Y., Liu, H., and Zhang, Y. Trove: A verifiable and efficient framework for toolset creation, 2024c. URL <
|
| 262 |
+
- Wang, Y. et al. APIGen: Automated pipeline for API function calling data generation, 2024d. URL [https:]( [//arxiv.org/abs/2409.01406](
|
| 263 |
+
- <span id="page-10-13"></span>Wang, Y. et al. Sciagent: Tool-augmented language models for scientific reasoning, 2024e. URL [ [org/abs/2402.11451](
|
| 264 |
+
- <span id="page-10-11"></span>Wang, Z. et al. Wtu-eval: A unified evaluation framework for tool use, 2024f. URL [ [12823](
|
| 265 |
+
- <span id="page-10-3"></span>Wölflein, G., Schneider, J., and Krenn, M. Llm agents making agent tools, 2025. URL [ [2502.11705]( Introduces TM-BENCH and the ToolMaker framework.
|
| 266 |
+
- <span id="page-10-5"></span>Wu, Z., Han, C., Ding, Z., Weng, Z., Liu, Z., Yao, S., Yu, T., and Kong, L. Os-copilot: Towards generalist computer agents with self-improvement. *arXiv preprint arXiv:2402.07456*, 2024.
|
| 267 |
+
- Xu, Z., Meza Soria, A., Tan, S., Roy, A., Agrawal, A. S., Poovendran, R., and Panda, R. Toucan: Synthesizing 1.5m tool-agentic data from real-world mcp environments, 2025. URL <
|
| 268 |
+
- <span id="page-10-10"></span>Yang, A. et al. Qwen3 technical report, 2025. URL [https:]( [//arxiv.org/abs/2505.09388](
|
| 269 |
+
- <span id="page-10-0"></span>Yao, S., Zhao, J., Yu, D., Du, N., Shafran, I., Narasimhan, K., and Cao, Y. React: Synergizing reasoning and acting in language models. In *International Conference on Learning Representations (ICLR)*, 2023. URL <
|
| 270 |
+
- <span id="page-10-2"></span>Yuan, S., Chen, Y., Chen, Y., Chen, J., and Liu, Z. CRAFT: Customizing LLMs by creating and retrieving from specialized toolsets, 2024. URL [ [2401.04052](
|
| 271 |
+
- Zhang, Y., Liu, H., Huang, T., and Chen, Q. Scievo: A benchmark for scientific evolution of tools. *arXiv preprint arXiv:2601.07641*, 2025a.
|
| 272 |
+
- <span id="page-10-12"></span>Zhang, Y. et al. Scienceagentbench: Benchmarking language agents for scientific problem solving, 2024. URL <
|
| 273 |
+
- <span id="page-10-8"></span>Zhang, Z., Liu, H., Chen, Y., Li, Z., Wang, J., and Li, J. Toolcoder: A holistic benchmark for tool creation, 2025b. URL <
|
| 274 |
+
- <span id="page-10-7"></span>Zhao, C., Wang, Z., Li, J., Li, P., Zhang, J., Zhu, Q., Wang, J., Yuan, Y., Gao, Q., and Li, J. Knowledge-grounded tool creation with evolution, 2025. URL [ [org/abs/2501.06914](
|
| 275 |
+
- <span id="page-10-15"></span>Zhuo, T. Y. et al. Bigcodebench: Benchmarking code generation with diverse function calls and complex instructions, 2024. URL <
|
| 276 |
+
{11}------------------------------------------------
|
| 277 |
+
### <span id="page-11-0"></span>A. Evaluation Methodology Details
|
| 278 |
+
We provide mathematical formulations and implementation details for the metrics in Section 2.2. We evaluate N generated MCP-server implementations $\{\hat{e}_i\}_{i=1}^N$ . Each server is expected to expose a list\_tools endpoint returning a tool registry (a list of tool schemas).
|
| 279 |
+
#### A.1. Layer 1: Surface Compliance and Server Execution
|
| 280 |
+
Compliance (OpenAI tool-calling format). We treat compliance as a strict format check: whether the returned tool registry is parseable and satisfies the OpenAI tool-calling specification. Let $\mathcal{V}_{OpenAI}$ denote the corresponding JSON Schema validator, and let parse(·) return a parsed JSON object if successful (otherwise $\bot$ ). We define the per-instance compliance indicator:
|
| 281 |
+
$$compliant(\hat{e}_i) = \mathbb{I}[parse(list\_tools(\hat{e}_i)) \neq \bot \land parse(list\_tools(\hat{e}_i)) \models \mathcal{V}_{OpenAI}], \tag{2}$$
|
| 282 |
+
and report the dataset-level score:
|
| 283 |
+
Compliance =
|
| 284 |
+
$$\frac{1}{N} \sum_{i=1}^{N} \text{compliant}(\hat{e}_i)$$
|
| 285 |
+
. (3)
|
| 286 |
+
Server execution (3 independent launches). We attempt to start each server R=3 times under fixed timeouts. Let $\operatorname{run}(\hat{e}_i,r)\in\{0,1\}$ indicate whether the r-th launch succeeds and the server remains responsive (e.g., responds to list\_tools) within the timeout. We define the per-instance execution score:
|
| 287 |
+
$$\operatorname{exec}(\hat{e}_i) = \frac{1}{R} \sum_{r=1}^{R} \operatorname{run}(\hat{e}_i, r), \qquad R = 3,$$
|
| 288 |
+
(4)
|
| 289 |
+
and report the dataset-level score:
|
| 290 |
+
ServerExecution =
|
| 291 |
+
$$\frac{1}{N} \sum_{i=1}^{N} \operatorname{exec}(\hat{e}_i)$$
|
| 292 |
+
. (5)
|
| 293 |
+
#### A.2. Layer 2: Semantic Interface Fidelity (Schema-F1)
|
| 294 |
+
Layer 2 evaluates whether the predicted *tool interfaces* match the reference interfaces, independent of code execution. For instance i, let $\hat{s}_i$ be the predicted tool set and $s_i^*$ the reference tool set. Each tool schema is represented as $t = \langle \eta, \phi \rangle$ , where $\eta$ is function\_name and $\phi$ is the JSON-schema-like argument definition.
|
| 295 |
+
Embedding-based similarity on function\_name + args. We define a canonical serialization $g(t) = \eta \oplus \operatorname{canon}(\phi)$ , where $\oplus$ denotes concatenation and $\operatorname{canon}(\cdot)$ produces a deterministic string form (e.g., JSON dump with sorted keys). We embed g(t) using sentence-transformers/all-MiniLM-L6-v2, denoted by $\mathbf{E}(\cdot)$ , and define cosine similarity:
|
| 296 |
+
$$w(u,v) = \cos(\mathbf{E}(g(u)), \mathbf{E}(g(v))). \tag{6}$$
|
| 297 |
+
**Maximum-weight matching and F1.** We construct a bipartite graph between $\hat{s}_i$ and $s_i^*$ with edge weights $w(\cdot,\cdot)$ , and compute a maximum-weight matching $M_i$ . A matched pair is counted as correct if $w(u,v) \geq \tau$ for a fixed threshold $\tau$ . Let $m_i = |\{(u,v) \in M_i : w(u,v) \geq \tau\}|$ . Then
|
| 298 |
+
$$P_i = \frac{m_i}{|\hat{s}_i|}, \qquad R_i = \frac{m_i}{|s_i^*|}, \qquad \text{SchemaF1}_i = \frac{2P_i R_i}{P_i + R_i + \epsilon}, \tag{7}$$
|
| 299 |
+
where $\epsilon$ is a small constant for numerical stability, and we report:
|
| 300 |
+
$$SchemaF1 = \frac{1}{N} \sum_{i=1}^{N} SchemaF1_{i}.$$
|
| 301 |
+
(8)
|
| 302 |
+
**Note.** Schema-F1 compares *tool interfaces* (names and argument schemas), and is distinct from the *structured score* in Layer 3, which compares *tool outputs* via key-path overlap.
|
| 303 |
+
{12}------------------------------------------------
|
| 304 |
+
### A.3. Layer 3: Functional Correctness via Unit Tests (UT)
|
| 305 |
+
(i) Structured score (JSON key-path overlap). We consider the common case where y ∗ is JSON (or parseable as JSON). Let parse(·) parse JSON successfully or return ⊥. If parse(ˆy) = ⊥, we set the structured score to 0. Otherwise, we extract a set of key-path strings from a JSON object, denoted by paths(·) (e.g., a.b[0].c). Define
|
| 306 |
+
$$P_{\text{path}} = \frac{|\text{paths}(\hat{y}) \cap \text{paths}(y^*)|}{|\text{paths}(\hat{y})| + \epsilon}, \qquad R_{\text{path}} = \frac{|\text{paths}(\hat{y}) \cap \text{paths}(y^*)|}{|\text{paths}(y^*)| + \epsilon}, \tag{9}$$
|
| 307 |
+
and the structured score (F1 over key paths):
|
| 308 |
+
$$struct(\hat{y}, y^*) = \frac{2P_{path}R_{path}}{P_{path} + R_{path} + \epsilon}.$$
|
| 309 |
+
(10)
|
| 310 |
+
(ii) Embedding similarity of outputs. We canonicalize outputs via canon(·) (stable JSON dump if parseable; otherwise raw text), embed using sentence-transformers/all-MiniLM-L6-v2 (denoted by E(·)), and compute:
|
| 311 |
+
$$\operatorname{emb}(\hat{y}, y^*) = \max \Big( 0, \cos \left( \mathbf{E}(\operatorname{canon}(\hat{y})), \mathbf{E}(\operatorname{canon}(y^*)) \right) \Big). \tag{11}$$
|
| 312 |
+
UT score (equal-weight combination). For a single test case:
|
| 313 |
+
$$UT(\hat{y}, y^*) = \frac{1}{2} struct(\hat{y}, y^*) + \frac{1}{2} emb(\hat{y}, y^*).$$
|
| 314 |
+
(12)
|
| 315 |
+
Aggregating across tests (standard vs. boundary). Let T std be the set of standard (positive) tests and T bnd include additional boundary/negative tests. For S ∈ {std, bnd}, we report:
|
| 316 |
+
$$UT_{S} = \frac{1}{|\mathcal{T}^{S}|} \sum_{\langle \eta, \mathbf{x}, y^{*} \rangle \in \mathcal{T}^{S}} UT(\hat{y}(\eta, \mathbf{x}), y^{*}).$$
|
| 317 |
+
(13)
|
| 318 |
+
### A.4. Layer 4: Downstream Task Utility (Oracle-normalized SR)
|
| 319 |
+
To evaluate end-to-end utility, we run a fixed agent based on Qwen3-14B on benchmark trajectories under two tool environments: (i) the generated MCP server eˆ and (ii) the ground-truth MCP server e ∗ . For each task instance j, an LLM judge produces two scores in [0, 1]:
|
| 320 |
+
$$s_j^{\text{gen}} = \mathcal{J}(\text{trajectory produced with } \hat{e}), \qquad s_j^{\text{gt}} = \mathcal{J}(\text{trajectory produced with } e^*).$$
|
| 321 |
+
(14)
|
| 322 |
+
We compute the per-task oracle-normalized score:
|
| 323 |
+
$$SR_j = \frac{1 - s_j^{\text{gt}}}{1 - s_j^{\text{gen}} + \epsilon},\tag{15}$$
|
| 324 |
+
and report the dataset-level score:
|
| 325 |
+
$$SR = \frac{1}{|\mathcal{D}_{task}|} \sum_{j \in \mathcal{D}_{task}} SR_j.$$
|
| 326 |
+
(16)
|
| 327 |
+
# <span id="page-12-0"></span>B. More Dataset Construction Details
|
| 328 |
+
This appendix provides implementation details for the four-stage construction pipeline in Figure [2,](#page-2-1) including crawling, schema standardization, executable validation, clustering/deduplication, LLM-as-judge rubrics, task/trajectory generation filters, unit-test synthesis, and final release policies.
|
| 329 |
+
{13}------------------------------------------------
|
| 330 |
+
<span id="page-13-0"></span>
|
| 331 |
+
*Figure 7.* Data flow and attrition in MCP-server collection. Sankey diagram summarizing the sequential filtering stages for constructing Dsrv, reporting the number of servers retained (and discarded) at each stage. *Placeholder: will be replaced by the final figure.*
|
| 332 |
+
### B.1. Examples
|
| 333 |
+
### Example 1: MCP-server schema instance (Dsrv).
|
| 334 |
+
```
|
| 335 |
+
{
|
| 336 |
+
"metadata": {
|
| 337 |
+
"server_name": "Airbnb Search and Listing Details Server",
|
| 338 |
+
"mode": "smithery",
|
| 339 |
+
"timestamp": 1751938055,
|
| 340 |
+
"remote_server_response": {
|
| 341 |
+
"url": "
|
| 342 |
+
"is_success": true,
|
| 343 |
+
"error": null,
|
| 344 |
+
"tools": [
|
| 345 |
+
{
|
| 346 |
+
"name": "airbnb_search",
|
| 347 |
+
"description": "Search for Airbnb listings with various filters and pagination. Provide direct links
|
| 348 |
+
,→ to the user",
|
| 349 |
+
"input_schema": {
|
| 350 |
+
"type": "object",
|
| 351 |
+
"properties": {
|
| 352 |
+
"location": {
|
| 353 |
+
"type": "string",
|
| 354 |
+
"description": "Location to search for (city, state, etc.)"
|
| 355 |
+
},
|
| 356 |
+
"placeId": {
|
| 357 |
+
"type": "string",
|
| 358 |
+
"description": "Google Maps Place ID (overrides the location parameter)"
|
| 359 |
+
},
|
| 360 |
+
"checkin": {
|
| 361 |
+
"type": "string",
|
| 362 |
+
"description": "Check-in date (YYYY-MM-DD)"
|
| 363 |
+
},
|
| 364 |
+
"checkout": {
|
| 365 |
+
"type": "string",
|
| 366 |
+
"description": "Check-out date (YYYY-MM-DD)"
|
| 367 |
+
},
|
| 368 |
+
"adults": {
|
| 369 |
+
"type": "number",
|
| 370 |
+
"description": "Number of adults"
|
| 371 |
+
},
|
| 372 |
+
"children": {
|
| 373 |
+
"type": "number",
|
| 374 |
+
"description": "Number of children"
|
| 375 |
+
},
|
| 376 |
+
"infants": {
|
| 377 |
+
"type": "number",
|
| 378 |
+
"description": "Number of infants"
|
| 379 |
+
},
|
| 380 |
+
```
|
| 381 |
+
{14}------------------------------------------------
|
| 382 |
+
```
|
| 383 |
+
"pets": {
|
| 384 |
+
"type": "number",
|
| 385 |
+
"description": "Number of pets"
|
| 386 |
+
},
|
| 387 |
+
"minPrice": {
|
| 388 |
+
"type": "number",
|
| 389 |
+
"description": "Minimum price for the stay"
|
| 390 |
+
},
|
| 391 |
+
"maxPrice": {
|
| 392 |
+
"type": "number",
|
| 393 |
+
"description": "Maximum price for the stay"
|
| 394 |
+
},
|
| 395 |
+
"cursor": {
|
| 396 |
+
"type": "string",
|
| 397 |
+
"description": "Base64-encoded string used for Pagination"
|
| 398 |
+
},
|
| 399 |
+
"ignoreRobotsText": {
|
| 400 |
+
"type": "boolean",
|
| 401 |
+
"description": "Ignore robots.txt rules for this request"
|
| 402 |
+
}
|
| 403 |
+
},
|
| 404 |
+
"required": [
|
| 405 |
+
"location"
|
| 406 |
+
]
|
| 407 |
+
},
|
| 408 |
+
"annotations": null
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"name": "airbnb_listing_details",
|
| 412 |
+
"description": "Get detailed information about a specific Airbnb listing. Provide direct links to the
|
| 413 |
+
,→ user",
|
| 414 |
+
"input_schema": {
|
| 415 |
+
"type": "object",
|
| 416 |
+
"properties": {
|
| 417 |
+
"id": {
|
| 418 |
+
"type": "string",
|
| 419 |
+
"description": "The Airbnb listing ID"
|
| 420 |
+
},
|
| 421 |
+
"checkin": {
|
| 422 |
+
"type": "string",
|
| 423 |
+
"description": "Check-in date (YYYY-MM-DD)"
|
| 424 |
+
},
|
| 425 |
+
"checkout": {
|
| 426 |
+
"type": "string",
|
| 427 |
+
"description": "Check-out date (YYYY-MM-DD)"
|
| 428 |
+
},
|
| 429 |
+
"adults": {
|
| 430 |
+
"type": "number",
|
| 431 |
+
"description": "Number of adults"
|
| 432 |
+
},
|
| 433 |
+
"children": {
|
| 434 |
+
"type": "number",
|
| 435 |
+
"description": "Number of children"
|
| 436 |
+
},
|
| 437 |
+
"infants": {
|
| 438 |
+
"type": "number",
|
| 439 |
+
"description": "Number of infants"
|
| 440 |
+
},
|
| 441 |
+
"pets": {
|
| 442 |
+
"type": "number",
|
| 443 |
+
"description": "Number of pets"
|
| 444 |
+
},
|
| 445 |
+
"ignoreRobotsText": {
|
| 446 |
+
"type": "boolean",
|
| 447 |
+
"description": "Ignore robots.txt rules for this request"
|
| 448 |
+
```
|
| 449 |
+
{15}------------------------------------------------
|
| 450 |
+
```
|
| 451 |
+
}
|
| 452 |
+
},
|
| 453 |
+
"required": [
|
| 454 |
+
"id"
|
| 455 |
+
},
|
| 456 |
+
"annotations": null
|
| 457 |
+
}
|
| 458 |
+
],
|
| 459 |
+
"tool_count": 2,
|
| 460 |
+
"tool_names": [
|
| 461 |
+
"airbnb_search",
|
| 462 |
+
"airbnb_listing_details"
|
| 463 |
+
]
|
| 464 |
+
},
|
| 465 |
+
"processed_timestamp": 1753731940,
|
| 466 |
+
"processing_mode": "smithery",
|
| 467 |
+
"rank": 556
|
| 468 |
+
}
|
| 469 |
+
}
|
| 470 |
+
```
|
| 471 |
+
### Example 2: Task instance (Dtraj ).
|
| 472 |
+
```
|
| 473 |
+
{
|
| 474 |
+
"question_id":12413,
|
| 475 |
+
"question": "I am trying to determine the launch angles for a projectile that must travel 30 m horizontally and
|
| 476 |
+
,→ reach a height of 5 m at that point.#"
|
| 477 |
+
}
|
| 478 |
+
```
|
| 479 |
+
### Example 3: Unit test instance (Dut).
|
| 480 |
+
```
|
| 481 |
+
{
|
| 482 |
+
"function_name": "listProviders",
|
| 483 |
+
"arguments": {},
|
| 484 |
+
"function_output_content": "{\n \"ollama\": {\n \"models\": [\n \"llama2\",\n \"mistral\",\n
|
| 485 |
+
,→ \"mixtral\",\n \"nous-hermes\",\n \"neural-chat\",\n \"vicuna\",\n
|
| 486 |
+
,→ \"codellama\",\n \"phi\"\n ],\n \"supportsReasoning\": false\n }\n}"
|
| 487 |
+
}
|
| 488 |
+
```
|
| 489 |
+
### B.2. MCP-server Filtering Details
|
| 490 |
+
We provide implementation details of the four-stage MCP-server filtering pipeline summarized in the main text.
|
| 491 |
+
Stage I: Structure Validation. We require each candidate server to expose a parseable MCP tool registry with valid tool\_name and description fields, as well as JSON schemas for tool inputs (and outputs when available). Servers with missing, malformed, or non-parseable registries are removed.
|
| 492 |
+
Stage II: Executable Validation. We launch each server in a sandboxed environment with resource and network isolation, and attempt to invoke its tools under fixed timeouts. Servers that fail to start or cannot be successfully invoked within 3 retries are discarded, ensuring basic executability and robustness.
|
| 493 |
+
Stage III: Deduplication and Clustering. To reduce redundancy, we first remove exact duplicates based on server\_name/tool\_name. We then construct a schema text for each server from its server\_name and tool name/description, and embed these texts using sentence-transformers/all-MiniLM-L6-v2. Servers are clustered using *complete-link* hierarchical clustering with cosine similarity threshold 0.9, i.e., a server joins a cluster only if it is at least 0.9 similar to all existing members. We retain one representative per cluster, preferring servers with (i) fully parseable registries, (ii) clearer tool descriptions, and (iii) fewer external dependencies. This stage yields 121 servers.
|
| 494 |
+
{16}------------------------------------------------
|
| 495 |
+
Stage IV: LLM Semantic Validation. We apply an LLM-based auditor to analyze each server's tool descriptions and schemas. The auditor labels servers as stateless or stateful, flags whether external API credentials are required (requires\_api), and assigns a sandbox requirement level (L0–L5). We discard servers that require external credentials or whose sandbox requirement level is L3–L5, ensuring safe execution under our benchmark setting.
|
| 496 |
+
Appendix Figure [7](#page-13-0) summarizes the end-to-end filtering pipeline and per-stage attrition.
|
| 497 |
+
### B.3. LLM-as-Judge Prompt for Server Semantic Validation
|
| 498 |
+
```
|
| 499 |
+
LLM-as-Judge Mcp-server
|
| 500 |
+
You are an AI assistant. I will give you a tool-scheme JSON for a single server.
|
| 501 |
+
Please output ONLY one JSON object (no array, no markdown fences) with exactly these fields:
|
| 502 |
+
- server_name (string): the name of the server
|
| 503 |
+
- clarity_score (integer 1--10): overall clarity of all tool descriptions
|
| 504 |
+
- 1 = completely unclear, jargon-filled
|
| 505 |
+
- 5 = generally understandable but some omissions or ambiguities
|
| 506 |
+
- 10 = crystal-clear, concise, no ambiguity
|
| 507 |
+
- clarity_comment (string): brief rationale, e.g. which parts were ambiguous or exemplary
|
| 508 |
+
- usefulness_score (integer 1--10): overall usefulness of descriptions for a developer
|
| 509 |
+
- 1 = almost no practical guidance, missing parameters/examples
|
| 510 |
+
- 5 = some guidance present but lacks examples or edge-case notes
|
| 511 |
+
- 10 = highly practical, with examples, parameter hints, and usage notes
|
| 512 |
+
- usefulness_comment (string): brief rationale, e.g. missing examples or strong guidance
|
| 513 |
+
- risk_level ("low"/"medium"/"high"):
|
| 514 |
+
Assess overall risk as low for read-only tools, medium for write/modify operations with safeguards, and
|
| 515 |
+
,→ high for
|
| 516 |
+
destructive or privileged actions (e.g. file deletion, shell execution) or known malicious patterns.
|
| 517 |
+
- risk_reason (string): explanation for the chosen risk level
|
| 518 |
+
- domain (string): choose one of the existing domains or invent a new one if none fit
|
| 519 |
+
- complexity_avg (number 1--10): average complexity across tools
|
| 520 |
+
- 1 = trivial single-parameter lookup
|
| 521 |
+
- 5 = moderate (several parameters, optional flags)
|
| 522 |
+
- 10 = very complex (multiple steps, nested structures)
|
| 523 |
+
- complexity_comment (string): brief note on what drove the complexity up or down
|
| 524 |
+
- api_type (string): choose exactly one from the list below
|
| 525 |
+
Here is the list of existing domains:
|
| 526 |
+
{', '.join(existing_domains) if existing_domains else '[no existing domains]'}
|
| 527 |
+
Here is the list of acceptable API types:
|
| 528 |
+
{', '.join(api_types)}
|
| 529 |
+
Here is the raw tool-scheme JSON:
|
| 530 |
+
{json.dumps(data, ensure_ascii=False)}
|
| 531 |
+
Ensure the returned JSON object uses one–and only one–value for both "domain" and "api_type",
|
| 532 |
+
and includes all fields above with concise but clear comments.
|
| 533 |
+
```
|
| 534 |
+
{17}------------------------------------------------
|
| 535 |
+
### B.4. Task Generation and Filtering
|
| 536 |
+
```
|
| 537 |
+
Task Generate
|
| 538 |
+
### Task Objective
|
| 539 |
+
Generate a Tool Use Question based on the provided MCP Server and its tool descriptions.
|
| 540 |
+
### Goal
|
| 541 |
+
Analyze the provided MCP Server and its available tools, then create a realistic user question that would
|
| 542 |
+
,→ naturally require the use of one of these tools to solve.
|
| 543 |
+
### Guidelines
|
| 544 |
+
#### Question Realism
|
| 545 |
+
* Create questions that represent real-world scenarios where users would need to interact with the MCP
|
| 546 |
+
,→ Server's tools.
|
| 547 |
+
* The question should sound natural and authentic, as if asked by someone genuinely needing to accomplish
|
| 548 |
+
,→ a task.
|
| 549 |
+
* Consider common use cases, problems, or workflows that would require the functionality provided by the
|
| 550 |
+
,→ MCP Server's tools.
|
| 551 |
+
#### Tool Selection
|
| 552 |
+
* Focus on ONE specific tool from the MCP Server that would be most appropriate to answer the question.
|
| 553 |
+
* Choose tools based on the core functionality they provide and how they would solve real user problems.
|
| 554 |
+
* Consider each tool's description and purpose when crafting the question.
|
| 555 |
+
#### Question Complexity
|
| 556 |
+
* Create questions that are clear and specific enough to warrant tool usage.
|
| 557 |
+
* Avoid overly simple questions that could be answered without tools.
|
| 558 |
+
* Include relevant context or constraints that make the tool usage necessary.
|
| 559 |
+
* Do not include the tool's name directly in the question.
|
| 560 |
+
#### Output Format
|
| 561 |
+
Your response should include the following:
|
| 562 |
+
1. Tool Analysis: Briefly analyze the MCP Server's available tools and their main functionalities.
|
| 563 |
+
2. Target Tool: The specific tool name from the MCP Server that should be used to answer this question.
|
| 564 |
+
3. Question: A clear, realistic user question that requires tool usage.
|
| 565 |
+
### MCP Server Description
|
| 566 |
+
{{ MCP_SERVER_NAME }}: {{ MCP_SERVER_DESCRIPTION }}
|
| 567 |
+
Available Tools:
|
| 568 |
+
{{ TOOL_LIST }}
|
| 569 |
+
Initial State:
|
| 570 |
+
{{ INIT_STATE }}
|
| 571 |
+
### Ideas
|
| 572 |
+
{{ CONSTRUCTIVE_IDEAS }}
|
| 573 |
+
### Output Example
|
| 574 |
+
Please provide your response in the following JSON format:
|
| 575 |
+
```
|
| 576 |
+
{18}------------------------------------------------
|
| 577 |
+
```
|
| 578 |
+
```json
|
| 579 |
+
{
|
| 580 |
+
"tool_analysis": "Briefly analyze the MCP Server's available tools and their main functionalities.",
|
| 581 |
+
"target_tool": "The specific tool name from the MCP Server that should be used to answer this
|
| 582 |
+
,→ question.",
|
| 583 |
+
"question": "A clear, realistic user question that requires tool usage."
|
| 584 |
+
}
|
| 585 |
+
```
|
| 586 |
+
Task filtering (LLM-as-judge)
|
| 587 |
+
### Task
|
| 588 |
+
Conduct a Question Quality Assessment of a tool use question across six key dimensions to ensure it meets
|
| 589 |
+
,→ high standards for realistic tool usage scenarios.
|
| 590 |
+
### Objective
|
| 591 |
+
Analyze the provided tool use question and assess its quality across six primary dimensions:
|
| 592 |
+
1. Tool Selection Difficulty - How challenging it is to determine which tools to use from all available
|
| 593 |
+
,→ tools.
|
| 594 |
+
2. Tool Selection Uniqueness - How unique and necessary the selected tools are for this specific task
|
| 595 |
+
,→ among the available tools.
|
| 596 |
+
3. Question Quality - Overall clarity, specificity, and effectiveness of the question.
|
| 597 |
+
4. Scenario Realism - How authentic and believable the scenario is.
|
| 598 |
+
5. Verifiability - How easy it is to verify the correctness of the final model's answer.
|
| 599 |
+
6. Stability - How stable the answer will be when requested under different time and geolocation.
|
| 600 |
+
7. Completeness - Whether the question provides sufficient information to solve the problem without
|
| 601 |
+
,→ requiring additional clarification.
|
| 602 |
+
### Assessment Criteria
|
| 603 |
+
#### 1. Tool Selection Difficulty
|
| 604 |
+
What to Evaluate: How difficult it would be for a user to determine which specific tools are needed to
|
| 605 |
+
,→ solve the question.
|
| 606 |
+
Rating Guidelines:
|
| 607 |
+
* very easy: Question explicitly mentions tool names or makes tool selection obvious.
|
| 608 |
+
* easy: Tool selection is straightforward with clear indicators.
|
| 609 |
+
* medium: Requires some reasoning, but tool needs are fairly apparent.
|
| 610 |
+
* hard: Requires careful analysis to determine appropriate tools.
|
| 611 |
+
* very hard: Requires extensive expertise and deep reasoning to identify the correct tools.
|
| 612 |
+
#### 2. Tool Selection Uniqueness
|
| 613 |
+
What to Evaluate: How unique and necessary the selected tools are for completing this task, and whether
|
| 614 |
+
,→ the task can only be solved with these tools in the specified sequence.
|
| 615 |
+
Rating Guidelines:
|
| 616 |
+
* not unique: Many alternative tool combinations could achieve the same task.
|
| 617 |
+
* somewhat unique: Some alternative approaches exist, but selected tools offer advantages.
|
| 618 |
+
* moderately unique: Selected tools are well-suited, with limited alternatives.
|
| 619 |
+
* quite unique: Selected tools are particularly well-matched to the task requirements.
|
| 620 |
+
* highly unique: Task can only be accomplished effectively with these specific tools in this sequence.
|
| 621 |
+
#### 3. Question Quality
|
| 622 |
+
```
|
| 623 |
+
{19}------------------------------------------------
|
| 624 |
+
```
|
| 625 |
+
What to Evaluate: Overall clarity, specificity, and effectiveness of the question as a realistic user
|
| 626 |
+
,→ query.
|
| 627 |
+
Rating Guidelines:
|
| 628 |
+
* very poor: Unclear, ambiguous, or poorly constructed question.
|
| 629 |
+
* poor: Some clarity issues, missing important context.
|
| 630 |
+
* average: Clear and understandable, but could be more specific or engaging.
|
| 631 |
+
* good: Well-constructed, clear, specific, and realistic.
|
| 632 |
+
* excellent: Exceptionally clear, detailed, engaging, and professionally written.
|
| 633 |
+
#### 4. Scenario Realism
|
| 634 |
+
What to Evaluate: How authentic, believable, and true-to-life the described scenario is.
|
| 635 |
+
Rating Guidelines:
|
| 636 |
+
* unrealistic: Artificial, contrived, or implausible scenario.
|
| 637 |
+
* somewhat unrealistic: Some realistic elements, but feels forced or unlikely.
|
| 638 |
+
* moderately realistic: Believable scenario with minor authenticity issues.
|
| 639 |
+
* realistic: Authentic scenario that represents genuine use cases.
|
| 640 |
+
* highly realistic: Completely natural, authentic scenario indistinguishable from real user needs.
|
| 641 |
+
#### 5. Verifiability
|
| 642 |
+
What to Evaluate: How easy it is to verify the correctness of the final model answer.
|
| 643 |
+
Rating Guidelines:
|
| 644 |
+
* hard to verify: Fully free-form answer that requires extensive human judgment.
|
| 645 |
+
* somewhat hard: Mostly subjective answer with some verifiable elements.
|
| 646 |
+
* moderately verifiable: Short sentence that can be verified by LLM comparison.
|
| 647 |
+
* mostly verifiable: Answer with clear, objective components and some subjective elements.
|
| 648 |
+
* easy to verify: Answer can be verified by simple rules, exact matches, or clear success criteria.
|
| 649 |
+
#### 6. Stability (1-5 Scale)
|
| 650 |
+
What to Evaluate: How stable and consistent the answer will be when the question is asked under different
|
| 651 |
+
,→ environmental conditions and system contexts. Consider factors like temporal dependency,
|
| 652 |
+
,→ geographical variations, operating system differences, network environments, and software version
|
| 653 |
+
,→ variations.
|
| 654 |
+
Rating Guidelines:
|
| 655 |
+
* highly unstable: Answer changes significantly across different conditions (real-time data,
|
| 656 |
+
,→ location-specific, system-dependent).
|
| 657 |
+
* somewhat unstable: Answer may vary moderately based on environmental or system factors.
|
| 658 |
+
* moderately stable: Answer mostly consistent with minor variations due to context.
|
| 659 |
+
* mostly stable: Answer remains largely consistent across different conditions.
|
| 660 |
+
* highly stable: Answer is completely independent of environmental and system factors.
|
| 661 |
+
#### 7. Completeness
|
| 662 |
+
What to Evaluate: Whether the question contains all necessary information (parameters, constraints,
|
| 663 |
+
,→ context) for the tool to successfully execute the task without needing to ask the user for more
|
| 664 |
+
,→ details.
|
| 665 |
+
Rating Guidelines:
|
| 666 |
+
* incomplete: Missing critical information required by the tool (e.g., missing destination for a trip).
|
| 667 |
+
* somewhat complete: Missing some non-critical information, might require assumption or default values.
|
| 668 |
+
* complete: Contains all necessary information to execute the task.
|
| 669 |
+
```
|
| 670 |
+
{20}------------------------------------------------
|
| 671 |
+
```
|
| 672 |
+
### Question Analysis
|
| 673 |
+
#### All Available Tools
|
| 674 |
+
```
|
| 675 |
+
{{ ALL_SERVER_AND_TOOL_INFORMATION }}
|
| 676 |
+
```
|
| 677 |
+
#### Question Content
|
| 678 |
+
```
|
| 679 |
+
{{ QUESTION_CONTENT }}
|
| 680 |
+
```
|
| 681 |
+
#### Intended Tool for This Question
|
| 682 |
+
```
|
| 683 |
+
{{ INTENDED_TOOL }}
|
| 684 |
+
```
|
| 685 |
+
#### Previous Feedback (if any)
|
| 686 |
+
```
|
| 687 |
+
{{ FEEDBACK }}
|
| 688 |
+
```
|
| 689 |
+
### Output Requirements
|
| 690 |
+
Provide a detailed analysis with reasoning BEFORE scores for each of the seven metrics.
|
| 691 |
+
If the question is rated as incomplete or somewhat complete, provide specific Constructive Feedback on
|
| 692 |
+
,→ what information is missing and how to improve the question.
|
| 693 |
+
### Output
|
| 694 |
+
Provide your response in the following JSON format:
|
| 695 |
+
```json
|
| 696 |
+
{
|
| 697 |
+
"tool_selection_difficulty": {
|
| 698 |
+
"reasoning": "Detailed explanation including ambiguity level, domain knowledge required, and
|
| 699 |
+
,→ alternative solutions giving all available tools.",
|
| 700 |
+
"rating": "Rating: very easy, easy, medium, hard, very hard"
|
| 701 |
+
},
|
| 702 |
+
"tool_selection_uniqueness": {
|
| 703 |
+
"reasoning": "Detailed explanation of tool necessity, sequential dependencies, and alternative tool
|
| 704 |
+
,→ viability giving all available tools.",
|
| 705 |
+
"rating": "Rating: not unique, somewhat unique, moderately unique, quite unique, highly unique"
|
| 706 |
+
},
|
| 707 |
+
"question_quality": {
|
| 708 |
+
"reasoning": "Detailed explanation covering linguistic quality, information architecture, and
|
| 709 |
+
,→ actionability.",
|
| 710 |
+
"rating": "Rating: very poor, poor, average, good, excellent"
|
| 711 |
+
},
|
| 712 |
+
"scenario_realism": {
|
| 713 |
+
"reasoning": "Detailed explanation of industry authenticity, workflow accuracy, and stakeholder
|
| 714 |
+
,→ behavior.",
|
| 715 |
+
"rating": "Rating: unrealistic, somewhat unrealistic, moderately realistic, realistic, highly
|
| 716 |
+
,→ realistic"
|
| 717 |
+
},
|
| 718 |
+
```
|
| 719 |
+
{21}------------------------------------------------
|
| 720 |
+
```
|
| 721 |
+
"verifiability": {
|
| 722 |
+
"reasoning": "Detailed explanation of answer format, objective criteria, and ground truth
|
| 723 |
+
,→ availability.",
|
| 724 |
+
"rating": "Rating: hard to verify, somewhat hard, moderately verifiable, mostly verifiable, easy to
|
| 725 |
+
,→ verify"
|
| 726 |
+
},
|
| 727 |
+
"stability": {
|
| 728 |
+
"reasoning": "Detailed explanation of temporal/geographical/system dependencies and environmental
|
| 729 |
+
,→ factors.",
|
| 730 |
+
"rating": "Rating: highly unstable, somewhat unstable, moderately stable, mostly stable, highly stable"
|
| 731 |
+
},
|
| 732 |
+
"completeness": {
|
| 733 |
+
"reasoning": "Detailed explanation of whether all necessary parameters are present.",
|
| 734 |
+
"rating": "Rating: incomplete, somewhat complete, complete"
|
| 735 |
+
},
|
| 736 |
+
"feedback": "Specific instructions on how to improve the question if it failed any criteria, especially
|
| 737 |
+
,→ completeness. Leave empty if all good."
|
| 738 |
+
}
|
| 739 |
+
```
|
| 740 |
+
```
|
| 741 |
+
### B.5. Trajectory Generation and Filtering
|
| 742 |
+
Trajectory Filtering(LLM-as-judge).
|
| 743 |
+
```
|
| 744 |
+
Deep Researcher
|
| 745 |
+
### Task
|
| 746 |
+
You are given:
|
| 747 |
+
1. the user's request (QUESTION_CONTENT)
|
| 748 |
+
2. the full conversation history (CONVERSATION_HISTORY), including all assistant turns and any tool
|
| 749 |
+
,→ outputs.
|
| 750 |
+
Your task is to assess whether the assistant has ultimately delivered a usable, end-to-end outcome by the
|
| 751 |
+
,→ end of the conversation.
|
| 752 |
+
Completeness is the ONLY evaluation dimension. Ignore verbosity, writing quality, politeness, and
|
| 753 |
+
,→ intermediate mistakes.
|
| 754 |
+
### Core Principle
|
| 755 |
+
At the end of the conversation, if the user stops right there, can they achieve their goal without any
|
| 756 |
+
,→ essential follow-up?
|
| 757 |
+
* If YES -> higher completeness score.
|
| 758 |
+
* If NO -> you must identify the missing element that prevents success.
|
| 759 |
+
### What Counts as "Complete"
|
| 760 |
+
The assistant is complete only if it satisfies the user's goal end-to-end, which typically requires:
|
| 761 |
+
* The must-have deliverable is provided (e.g., final answer, file, code patch, plan, table, steps).
|
| 762 |
+
* If actions depend on tools/files, the assistant either:
|
| 763 |
+
* successfully uses them and delivers results, or
|
| 764 |
+
* if blocked (tool failure / missing access), provides a working fallback (clear manual steps,
|
| 765 |
+
,→ alternative method, or minimal viable deliverable).
|
| 766 |
+
* Includes any essential "last-mile" details: paths, commands, file links, or instructions needed to use
|
| 767 |
+
```
|
| 768 |
+
{22}------------------------------------------------
|
| 769 |
+
```
|
| 770 |
+
,→ the output.
|
| 771 |
+
Do NOT reward partial attempts unless the outcome is still usable.
|
| 772 |
+
### Rating (1-5)
|
| 773 |
+
Assign exactly one integer score:
|
| 774 |
+
1 – very incomplete: No usable outcome; major must-haves missing.
|
| 775 |
+
2 – incomplete: Some progress, but the user still cannot accomplish the goal.
|
| 776 |
+
3 – partially complete: Core work attempted; usable only with significant user effort or a key missing
|
| 777 |
+
,→ piece.
|
| 778 |
+
4 – mostly complete: Meets most must-haves; only minor omissions or small usability issues remain.
|
| 779 |
+
5 – fully complete: Fully meets must-haves end-to-end with a usable outcome delivered.
|
| 780 |
+
### NEVER Do
|
| 781 |
+
* NEVER score tool-call accuracy or penalize "wrong tool usage" unless it directly prevents completion.
|
| 782 |
+
* NEVER judge style/verbosity/formatting elegance.
|
| 783 |
+
* NEVER give credit for intentions ("I will do X later") unless the deliverable is actually present.
|
| 784 |
+
* NEVER assume external actions happened without evidence in the transcript.
|
| 785 |
+
## Inputs
|
| 786 |
+
### Question Content
|
| 787 |
+
```json
|
| 788 |
+
{QUESTION_CONTENT}
|
| 789 |
+
```
|
| 790 |
+
### Conversation History
|
| 791 |
+
```json
|
| 792 |
+
{CONVERSATION_HISTORY}
|
| 793 |
+
```
|
| 794 |
+
## Output
|
| 795 |
+
Provide your response in the following JSON format:
|
| 796 |
+
```json
|
| 797 |
+
{
|
| 798 |
+
"completeness": {
|
| 799 |
+
"reasoning": "Evaluate if the assistant delivered an end-to-end usable outcome, addressed all
|
| 800 |
+
,→ requirements, handled tool failures with alternatives, and provided necessary
|
| 801 |
+
,→ confirmations/paths.",
|
| 802 |
+
"rating": "Rating: very incomplete, incomplete, partially complete, mostly complete, fully complete"
|
| 803 |
+
}
|
| 804 |
+
}
|
| 805 |
+
```
|
| 806 |
+
```
|
| 807 |
+
### B.6. Unit Test Prompts
|
| 808 |
+
```
|
| 809 |
+
Unit test synthesis
|
| 810 |
+
You are given:
|
| 811 |
+
(1) one tool schema (name/description/JSON schema for inputs/outputs).
|
| 812 |
+
Generate K unit tests that improve parameter coverage, including:
|
| 813 |
+
- boundary-value inputs,
|
| 814 |
+
```
|
| 815 |
+
{23}------------------------------------------------
|
| 816 |
+
```
|
| 817 |
+
- invalid or missing required fields,
|
| 818 |
+
- rare branches implied by the description.
|
| 819 |
+
Output a JSON list. Each test:
|
| 820 |
+
"test_id": "...",
|
| 821 |
+
"tool_name": "...",
|
| 822 |
+
"inputs": { ... },
|
| 823 |
+
"expected": {
|
| 824 |
+
"type": "output" | "error",
|
| 825 |
+
"value": ...,
|
| 826 |
+
"error_type": "..." // optional
|
| 827 |
+
"source": "llm_synth"
|
| 828 |
+
}
|
| 829 |
+
Constraints:
|
| 830 |
+
- Inputs must be schema-valid for output-type tests.
|
| 831 |
+
- For invalid tests, violate exactly one constraint and specify the expected error_type.
|
| 832 |
+
- Avoid any dependence on private accounts, API keys, or hidden external state.
|
| 833 |
+
```
|
| 834 |
+
# C. More Details on Experiments
|
| 835 |
+
### D. More Details on Analysis
|
| 836 |
+
#### <span id="page-23-0"></span>D.1. Signal-Validation Alignment (SVA) score
|
| 837 |
+
**Verification signals.** We use three automated verification signals computed from the produced MCP server artifact: (i) **Schema-F1**, measuring interface match quality between predicted and reference tool signatures; (ii) $UT_{soft}$ and (iii) $UT_{hard}$ , measuring tool-call verification pass rates under a permissive (soft) versus strict (hard) matching criterion.
|
| 838 |
+
**Downstream validation target.** For each instance i, we denote the downstream validation value as $r_i \in [0, 1]$ , instantiated in our experiments as the trajectory-level validation rate (soft).
|
| 839 |
+
**Definition.** Given a verification signal $s_i \in [0,1]$ and downstream validation $r_i$ , we define the **Signal-Validation** Alignment (SVA) score as
|
| 840 |
+
$$SVA(s,r) = \frac{\sum_{i:s_i>0} s_i r_i}{\sum_{i:s_i>0} s_i + |\{i:s_i \le 0\}|}.$$
|
| 841 |
+
(17)
|
| 842 |
+
Unlike correlation, SVA evaluates whether *high* verification-signal values concentrate on instances with high downstream validation, and it additionally penalizes *zero-signal* cases through the term $|\{i: s_i \leq 0\}|$ , capturing signal coverage (i.e., how often a signal collapses to zero or becomes uninformative). Higher SVA therefore indicates a verification signal that is both more indicative of downstream validation and more consistently defined across instances.
|
| 843 |
+
### <span id="page-23-1"></span>E. More Details on Exploration
|
| 844 |
+
#### E.1. Finetuning Exploration
|
| 845 |
+
We study **finetuning** on TOOL GENESIS as a simple and reproducible adaptation mechanism.
|
| 846 |
+
**Data construction.** We construct an executable supervision signal by collecting successful tool-creation trajectories from a held-out pool of MCP servers. Concretely, we run our **Code-Agent** pipeline (generate-execute-repair) with **DeepSeek-V3.2** as the backbone model and synthesize approximately **1,000** tool-creation trajectories. Each trajectory records the requirement, the generated MCP tool registry (schema), the materialized implementation artifact (server code), and optional execution/verification feedback produced during the loop (e.g., launch errors and unit-test summaries). We then apply strict filtering to retain only high-quality instances whose final artifacts are (i) MCP-compliant and parseable, (ii) executable under our sandbox, and (iii) verifiable by our automated checks (unit tests when available). We further remove trajectories
|
| 847 |
+
{24}------------------------------------------------
|
| 848 |
+
that require external credentials or unstable external state, and drop samples with malformed registries, non-deterministic outcomes, or excessively long logs. After filtering, we retain 500 high-quality trajectories as our finetuning training set. Unless otherwise stated, training and evaluation are server-disjoint to avoid leakage.
|
| 849 |
+
Functioning (supervision formatting). We convert each retained trajectory into instruction–response examples aligned with the TI+TM lifecycle. Specifically, we include: (i) Direct examples mapping a requirement to a single-pass output (schema plus implementation), and (ii) Repair examples unrolled from the generate–execute–repair loop, where the input additionally contains truncated executable feedback and the target is a corrected patch or revised implementation. Each repair iteration is treated as an independent example, enabling the model to learn bug localization and correction conditioned on execution signals.
|
| 850 |
+
Finetuning configuration. We fine-tune Qwen3-8B on the curated finetuning set using teacher-forcing maximum likelihood. We train for 3 epochs and keep the rest of the evaluation pipeline unchanged (prompting, decoding, tool-call parsing, runtime sandbox, and verification), ensuring an apples-to-apples comparison. We use AdamW with cosine learning-rate scheduling and warmup, gradient clipping, and mixed-precision training. The learning rate is selected within 1e-5–5e-5 on a server-disjoint development split; in our runs, the best checkpoint typically uses a learning rate around 2e-5. Unless otherwise specified, we use a max sequence length of 4k–8k tokens with packing, and gradient accumulation to match the target effective batch size under fixed hardware constraints. We report the best checkpoint on the development split and evaluate on held-out test servers.
|
| 851 |
+
Results. Finetuning on TOOL GENESIS leads to better performance. Table [6](#page-6-4) shows that finetuning yields consistent gains across evaluation layers, demonstrating that TOOL GENESIS can serve not only as an evaluation benchmark but also as an effective training signal for tool creation. Under the Direct setting, finetuning improves one-shot schema generation quality and increases downstream task success, suggesting that finetuning internalizes MCP-compliant interface patterns and reduces schema-level failures in single-pass TI+TM. Under the Code-Agent setting, finetuning further strengthens closed-loop repair: the fine-tuned model more reliably fixes execution-triggered implementation bugs, increasing unit-test pass rates (UT) and improving task success (SR). Overall, finetuning primarily strengthens one-shot generation under Direct, while under Code-Agent it improves bug localization and correction, translating executable feedback into measurable downstream utility.
|