Skip to main content
Glama

FarmDash Agent OS

simulate_swap_execution

Idempotent

Simulate a legacy EVM swap using the firm quote response simulationRequirements.intent_id and its original wallet. Inspect the returned ok, simulation_id, and decision before continuing. The quote intent carries commercial admission for this simulation. It does not sign or submit. Use simulate_intent for a durable FarmDashIntent.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "intentId": "<intentId>",
      "walletAddress": "<walletAddress>"
    },
    "name": "simulate_swap_execution"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentIdYesfd_intent_* value from simulationRequirements.intent_id. The top-level qi_* quote ID is rejected.
walletAddressYesEVM wallet bound to the original firm quote.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / intentId / description
      Added value: +"fd_intent_* value from simulationRequirements.intent_id. The top-level qi_* quote ID is rejected."
    • addedInput schema / properties / walletAddress / description
      Added value: +"EVM wallet bound to the original firm quote."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Adds real behavior beyond annotations: although readOnlyHint=false, it clarifies the call neither signs nor submits, and that authorization comes from the quote intent's "commercial admission" rather than a separate auth step. It also instructs the agent to inspect ok, simulation_id, and decision before continuing, which matters because there is no output schema. It omits details such as whether simulations persist or expire and any rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four front-loaded sentences that each carry content: what it does, what to inspect, what authorization exists, and the alternative tool. Slight density of internal jargon ("commercial admission," "legacy EVM") costs a point but no sentence is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description correctly fills the gap by naming the returned fields to check (ok, simulation_id, decision) and by stating the prerequisite intent source. It leaves minor gaps around failure modes and whether a simulation must be re-run after quote expiry.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and already documents both parameters, including the fd_intent_* vs qi_* rejection rule and the address pattern. The description only reinforces the source of intent_id and adds "its original wallet," so it sits at the baseline for a fully documented schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Simulate a legacy EVM swap") plus the exact input source (simulationRequirements.intent_id and its original wallet), and explicitly separates itself from simulate_intent for durable FarmDashIntents. An agent can distinguish it from get_swap_quote or execute_swap without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear condition of use (a legacy EVM swap derived from a firm quote response) and names one concrete alternative — simulate_intent for a durable FarmDashIntent. It stops short of enumerating when this tool should not be used (e.g., Solana or non-quote flows), so it is clear but not exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources