- Rating
- 4
- Clarity
- 2
- Confidence
- 4
- Originality
- 3
- Quality
- 2
- Significance
- 3
Read review
Summary
This paper addresses a key data bottleneck in training tool-calling agents: synthetic environments often fail to capture real API behavior, while tasks generated from real APIs lack verifiable ground-truth outcomes. To overcome this, the authors introduce FireFly. It begins by collecting real tool executions and then synthesizes tasks backward from the observed outcomes. The pipeline first scrapes and filters MCP servers. It then constructs an LLM-judged tool-chaining graph and uses a strong LLM to explore real servers along sub-DAGs, recording the executed tool calls and their outputs. Tasks are generated from these real execution traces by an LLM. An LLM judge further filters generated candidates for verifiability. FireFly caches all exploration results in a retrieval-augmented simulator, which handles future agent tool calls through three-tier matching. On the held-out test set, the trained model matches Claude Sonnet 4.6. It also achieves consistent gains over the base model across several public benchmarks.
Strengths and weaknesses
Strengths
- The backward task synthesis idea is clean and well-motivated: extracting ground-truth answers from already-executed trajectories on real MCP servers guarantees label existence and reachability by construction, leaving the verification problem in forward task generation.
- The structured answer_schema design enables automated field-level evaluation, and the cached simulator makes RL training and evaluation fully offline and reproducible.
Weaknesses
-
The experiment design is confounded: the same Qwen3-30B model serves as both reward judge and simulator backend, fuzzy retrieval prioritizes ground-truth-trajectory outputs, and it is possible that the trained model has adapted to this ecosystem during RL while baselines have not.
-
Limited experiments. There could be comparisons against prior data-synthesis baselines, no SFT-on-trajectories baseline, and no human audit of final task quality. It could be better to add more smaller models, while now there is only one for public benchmark comparison.
Questions
-
Task quality after filtering. The LLM-judge validation removes half of the generated candidates, could the author human-audit a sample (e.g., 100 tasks) and report how often instructions are ambiguous or admit multiple valid answers?
-
Shared judge and simulator model. The same Qwen3-30B model serves as both reward judge and the simulator's Tier-2 backend, so the trained policy may be adapting to this ecosystem rather than gaining general capability. It would be good to evaluate with a different judge model, and report the fraction of test-set rewards.
-
Baselines on public benchmarks. Claude appears only on the FireFly test set and is absent from Table 3, where published Tau2-Bench results suggest the gap reverses. Could the author add a frontier model and comparable small open models (~4B–8B) on the public benchmarks under the proposed harness?
-
Simulator statistics and ablations. What are the Tier-1/2/3 hit rates during training and evaluation? High Tier-2 rates would mean much of the environment is LLM-generated rather than real API behavior, and ground-truth-prioritized retrieval may leak task information. An ablation removing this prioritization would help attribute the gains.
-
Missing appendix. Appendix A is referenced for key hyperparameters, but is empty.
Limitations
No, the author did not discuss the limitations of the method.
Paper formatting concerns
Empty appendix.
Final justification
Authors provide additional experiments to demonstrate that the performance gains do not overfit to one model, and the human evaluation confirms the effectiveness of LLM verifier. My concerns are addressed.
We sincerely thank the reviewer for the detailed and constructive review, and in particular for recognizing the core idea of the paper:
Thank you!
A human audit of task quality (your Q1) is currently running and will be posted as a follow-up comment; all other results are below.
W1: Policy model may have adapted to the ecosystem while baselines have not.
This is a fair concern. We re-evaluated all 15 RL checkpoints with both the judge and the simulator backend replaced by Qwen3-235B-A22B, and separately by Claude Sonnet 4.5. In both settings we observe the same trend on the in-domain test set: the training curve is preserved and the RL gain is unchanged (full result tables under Q2 below). In addition, all gains in Table 3 occur on external, out-of-domain benchmarks in their own harnesses with their own environments and judges: none of our simulator or judge is present there. Together these results show that our method improves the model's general tool-calling capability rather than overfitting to the Qwen3-30B ecosystem.
W1: Ground-truth-prioritized fuzzy retrieval.
We appreciate the reviewer probing this point. This is a deliberate implementation detail of the simulator, which we will describe in full in the camera-ready version. The prioritization exists for a specific reason: some tools are non-deterministic (weather retrieval, time-varying data, and even random draws such as fortune-telling tools), where the same input returns different outputs across calls. Since each task's ground-truth answer was extracted from one specific observed response, prioritizing the ground-truth trajectory's cached outputs pins the simulator to the world state from which that answer was derived. Without it, such tasks would no longer be reproducible or verifiable against their own answer key.
The associated risk is also measured. First, we used Claude Sonnet 4.5 to classify every evaluation tool call by its deviation from the cached calls: in successful trajectories 75.8% of calls exactly match the ground-truth calls, while in failed ones 66.8% deviate majorly. If prioritized retrieval leaked answers, majorly-deviant calls would spuriously succeed; the opposite is observed, so the model succeeds by issuing the correct call rather than by stealing the ground-truth output. Second, all models are evaluated under the same simulator, which ensures a controlled comparison, though we agree this alone does not rule out differential adaptation by the RL policy; that hypothesis is what the swaps above test directly, and the gain survives them. Third, exploiting this mechanism would not transfer, yet performance improves on every public benchmark (Table 3), where no such mechanism exists.
W2: Comparison against prior data-synthesis baselines.
Thank you for the suggestion. We additionally compare against models trained on Toucan (the largest prior real-MCP synthetic dataset) on Tau2-Bench, using the numbers reported in the Toucan paper:
Our 4B model outperforms Toucan-trained models up to 32B on all three Tau2 domains, and also yields the largest improvement over its own base model. We will report this comparison in the camera-ready version.
[1] Numbers as reported in the Toucan paper (arXiv:2510.01179). Base models differ (Qwen2.5-Instruct vs. Qwen3-4B-Thinking-2507).
W2: SFT-on-trajectories baseline.
We implemented the strongest form of this baseline: rejection-sampled distillation from 4 trail runs Claude Sonnet 4.5 on the training dataset, followed by SFT of the same base model. Under one identical evaluation run:
RL outperforms the best SFT configuration by +3.0 pass@1. We also note that SFT itself improves substantially over the base model (the dataset provides useful supervision under both paradigms), and we will include this baseline in the camera-ready version.
W2: Model sizes.
Thank you for bringing this to our attention; we acknowledge this limitation. In this work, we aim to propose a pipeline for generating verified tool-call training data from real-world MCP servers, together with the resulting dataset and simulator; the RL experiment serves to demonstrate that the data provides effective training signal, and due to limited compute we only trained a 4B model. Adding scaling experiments with larger models (e.g., Qwen3-30B-A3B and Qwen 3.5 27B) is a promising direction for future study and is beyond the scope of a single work. We discuss this explicitly in the Limitations section.
Q1: Human audit of task quality.
The audit is currently running (50 randomly sampled validated tasks plus 50 rejected candidates). We will post the full results as a follow-up comment within the discussion period.
Q2: Evaluate with a different judge model.
We ran the strictly stronger test: re-running the entire evaluation under two alternative stacks, each replacing both the judge and the simulator backend, with a same-family Qwen3-235B and a cross-family Claude Sonnet 4.5. Full pass@1 results across checkpoints:
The 235B-based evaluation shifts pass@1 by −0.96 on average with no systematic difference at pass@16; the Sonnet-based evaluation shifts scores uniformly upward (+4.2 on average) and the end-to-end RL gain remains intact.
Q3: Frontier and small open baselines on public benchmarks.
Thank you for pointing this out. We totally agree with you, and this is in fact what we stated: our model only matches Claude Sonnet on our in-domain held-out test set, and shows improvements on the other public tool-calling benchmarks. In this work, we aim to showcase that our method can improve general tool-calling ability, as demonstrated by the consistent gains across the public benchmarks, but there is still a gap between a 4B model and Claude Sonnet. We will make this clearer in the camera-ready version.
Q4: Simulator statistics (Tier hit rates during training and evaluation).
We agree that providing these statistics helps clarify how much of the environment reflects real API behavior. Firstly, we clarify the implementation detail of the tool-call simulator:
This yields five possible outcomes per call:
We measured all five outcomes over the 16 evaluation runs (base + 15 RL checkpoints), verifying every delivered response byte-for-byte against the cache of real API outputs:
We will clarify this implementation detail and include the statistics in the camera-ready version.
Q5: Appendix. We apologize for the confusion: this is a typesetting issue, as the hyperparameter table floated to the page after the "Appendix A" heading, and we will fix all such layout issues in the camera-ready version.
Limitations. Thank you for raising this: the paper does contain a Limitations section (model scale; single-turn format) after the conclusion, and we will improve its visibility in the camera-ready version.
We hope these new result address the concerns that motivated the initial rating, and we would be grateful if the reviewer would consider updating their assessment.