Skip to main content
Glama

preflight_transaction

Decode and simulate approved Base ERC-20 calldata or SafeRoute's exact official ERC-8004 registration. Costs $0.05 USDC.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
intentIdNo
transactionYes
referralCodeNo
sourceAgentIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description should disclose side effects, safety, and permissions. It only mentions the $0.05 USDC cost. 'Decode and simulate' implies no execution but does not explicitly state whether the tool is read-only, whether it modifies state, or if special approvals are needed. The 'approved' calldata hint is too vague.

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

Conciseness5/5

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

The description is a single, concise sentence covering the core action and input types, plus a separate short sentence for cost. No redundant phrases or filler; every word adds information.

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

Completeness2/5

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

Despite having a nested transaction object and no output schema, the description offers no details about return values, parameter relationships, or error conditions. It does not compensate for the absent annotations and low schema coverage, making the tool incomplete for safe invocation.

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

Parameters1/5

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

Schema description coverage is 0%, and the description does not mention any property names (intentId, transaction, referralCode, sourceAgentId). It does not explain how the transaction object maps to 'calldata' or what 'ERC-8004 registration' means for the input, leaving agents to guess parameter usage.

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?

The description uses specific verbs 'Decode and simulate' and names two precise input types: 'approved Base ERC-20 calldata' and 'SafeRoute's exact official ERC-8004 registration'. This clearly distinguishes the tool from sibling verification tools like verify_swap_execution, as it focuses on preflight simulation rather than execution verification.

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

Usage Guidelines2/5

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

No guidance is provided about when to use this tool versus alternatives. The description does not mention any exclusions, prerequisites, or scenarios where a different sibling tool would be more appropriate. It only lists the cost, which cannot help an agent decide.

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