Skip to main content
Glama

verify_agent_contract

Compare an advertised agent contract with its live x402 challenge.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesPublic HTTP or HTTPS agent/API URL. An origin URL may be resolved through discovery metadata.
methodNoOptional method to probe. If omitted, the advertised method is used, then GET as a fallback.
expected_hashNoOptional previous contract_hash. A mismatch proves the public contract changed.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions the comparison concept and that an expected_hash mismatch proves a contract changed, but it does not disclose whether the tool makes network requests, whether it has side effects, whether authentication is needed, or what a successful or failed verification returns.

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 sentence with no filler, and the verb and primary objects are front-loaded. Every word contributes to conveying the purpose.

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?

With no output schema and no annotations, the description should explain what the tool returns, what failure conditions exist, and whether network access is involved; none of that is present. 'Advertised agent contract' and 'x402 challenge' are left undefined, leaving an agent to guess how to operationalize the verification.

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 each parameter has a meaningful description in the schema, so the baseline is 3. The description adds domain context around 'advertised contract' and 'live x402 challenge' but does not add operational detail beyond what the schema already provides.

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?

The description uses a specific verb ('Compare') and identifies both resources ('advertised agent contract' and 'live x402 challenge'), going beyond a restatement of the tool name. It is clear enough to know the core operation, though the x402 jargon may be opaque to agents unfamiliar with the domain.

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?

There is no explicit guidance on when to use this tool, what prerequisites exist, or when it should not be used. No sibling tools are present to distinguish against, and the description provides no operational context such as needing discovery metadata or an advertised contract source.

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.

TDQS

B3.3/5.0
Disambiguation5/5

With only one tool, there is no possibility of overlap or misselection. The tool's purpose is clear and unambiguous.

Naming Consistency5/5

The single tool uses a clear verb_noun pattern ('verify_agent_contract'). With only one tool, consistency is trivially perfect.

Tool Count3/5

A single tool is on the thin side per the calibration, but the server's narrow purpose—verifying an agent contract against a live challenge—makes it borderline acceptable. It is not excessive, but the surface feels minimal.

Completeness4/5

The tool covers the core verification action for the stated domain, and repeated calls can handle multiple contracts. Minor gaps exist, such as no ability to retrieve or list contracts separately, but agents can work around this within the narrow scope.

Resources