Skip to main content
Glama

Compare previous and current x402 payment terms

compare_payment_terms
Read-only

Free comparison of two supplied unsigned payment challenges for the same resource and method. Exact EVM v1/v2 only. Shows changed amounts, recipients, assets and supported terms, with stable digests. Captures are caller declarations; no origin authentication, signatures, fetching or payment. Unknown profiles remain non-comparable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currentYes
baselineYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only cover readOnlyHint/openWorldHint, yet the description adds substantial non-structured behavior: it is free, operates on unsigned challenges, performs no origin authentication, signatures, fetching or payment, and treats captures as caller declarations. The non-comparable-profile caveat further sets expectations, well beyond what the annotations convey.

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?

Five compact sentences, front-loaded with the core purpose and then the constraints/limits. Dense jargon costs some readability, but nearly every sentence contributes a distinct fact and nothing is padded.

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 usefully previews the return content (changed amounts, recipients, assets, extra supported terms, stable digests) and flags input limits and preconditions. It is largely complete for a nested-parameter comparison tool, missing only finer return-shape detail.

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

Parameters4/5

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

Reported schema description coverage is 0% for two required, nested parameters, so the description carries extra burden. It clarifies that the inputs are two supplied unsigned payment challenges constrained to the same resource and method and that captures are caller declarations, adding meaning beyond the raw schema keys, though it does not spell out per-parameter format details.

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 (compare) plus resource (two unsigned x402 payment challenges) and even names the outputs it produces (changed amounts, recipients, assets, stable digests). An agent can distinguish this read/comparison tool from siblings like check_payment_terms or test_payment without opening a 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 clear operating context and constraints: the two challenges must be for the same resource and method, and 'Unknown profiles remain non-comparable' implies when the tool will not produce a result. It does not, however, explicitly route the agent to an alternative sibling for the cases it excludes.

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