Skip to main content
Glama

PHION Payments

x402 Quote Comparator

x402_quote_comparator
Read-onlyIdempotent

Validate x402 v2 fields and compare only quotes sharing asset and decimals; 0.002 USDC.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quotesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds that x402 v2 fields are validated and only same-asset/same-decimals quotes are compared, but it omits failure behavior, output shape, and what '0.002 USDC' represents.

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

Conciseness3/5

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

One sentence is concise and front-loads the validate/compare actions. However, the unexplained '; 0.002 USDC' fragment adds confusion rather than clarity, and the description is too terse for a nested 64-item schema. It is not verbose, but structure is weakened by the stray fragment.

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?

The input is high complexity: nested quote objects, five required fields per quote, and min/max item bounds, with no output schema and annotations only covering safety. The description does not explain validation rules, comparison output, error cases, or the 0.002 USDC figure. An agent lacks enough context to invoke this confidently.

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

Parameters2/5

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

Schema description coverage is 0% and the single parameter is a nested array with five required fields, minItems 2, and maxItems 64. The description generically mentions asset, decimals, and x402 v2 fields but leaves network, payTo, amount, item shape, requiredness, and bounds undocumented. It does not compensate for the absent schema descriptions.

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

Purpose4/5

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

States specific verbs 'Validate' and 'compare' with the resource 'quotes'. It constrains comparison to quotes sharing asset and decimals, but does not differentiate this tool from sibling comparators or payment tools. The trailing '0.002 USDC' is unexplained and does not clarify purpose.

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 when-to-use, when-not, or alternative tool is named. The only guidance is an internal correctness constraint ('only quotes sharing asset and decimals'), not selection guidance against sibling tools such as signed_result_comparator or payment_route_selector.

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