x402 Quote Comparator
x402_quote_comparatorValidate x402 v2 fields and compare only quotes sharing asset and decimals; 0.002 USDC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quotes | Yes |
x402_quote_comparatorValidate x402 v2 fields and compare only quotes sharing asset and decimals; 0.002 USDC.
| Name | Required | Description | Default |
|---|---|---|---|
| quotes | Yes |
Changes observed during successful MCP inspections.
Input schema / examplesAdded value: +[
+ {
+ "quotes": [
+ {
+ "amount": "2000",
+ "asset": "USDC",
+ "asset_decimals": 6,
+ "network": "eip155:8453",
+ "payTo": "0xSeller",
+ "scheme": "exact",
+ "x402Version": 2
+ },
+ {
+ "amount": "3000",
+ "asset": "USDC",
+ "asset_decimals": 6,
+ "network": "eip155:137",
+ "payTo": "0xSeller",
+ "scheme": "exact",
+ "x402Version": 2
+ }
+ ]
+ }
+]Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds a genuine behavioral rule: quotes are only compared when asset and decimals match, and x402 v2 fields are validated first. It does not say what happens to non-conforming quotes or what the comparison result contains, and the trailing '0.002 USDC' is never explained.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
It is a single front-loaded sentence, which is appropriately tight. However, the dangling '0.002 USDC' fragment is pure noise that cannot be parsed from context, so not every token earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with a richly nested input schema, zero parameter documentation, and no output schema, the description is too thin: an agent cannot tell what the validation rejects, what the comparison returns, or how to interpret the trailing USDC figure. Only the grouping rule gives the agent anything actionable.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% while the single `quotes` parameter is a nested array with required fields (network, asset, asset_decimals, amount, payTo), minItems 2 and maxItems 64, none of which are documented anywhere. The description gestures at asset/decimals and 'x402 v2 fields' but ignores amount, payTo, network, scheme, expires_at, and the array bounds, so it does not compensate for the coverage gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names two actions (validate x402 v2 fields, compare quotes) on a recognizable resource, but it conflates them and closes with an unexplained fragment, '0.002 USDC', that reads like a price or threshold and muddies what the tool actually does. It does not differentiate itself from siblings such as x402_v2_router or payment_route_selector, which also operate on payment quotes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The only operational guidance is the comparison rule ('compare only quotes sharing asset and decimals'), which constrains behavior but not selection. There is no statement of when to reach for this tool over x402_v2_router, quote_freshness_guard, or payment_route_selector, and no prerequisites or exclusions are given.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.