Skip to main content
Glama

mainstreet_verify_settlement

Verify a CLAIMED x402 settlement actually happened onchain. Answers the x402 cross-layer trust gap: a facilitator says it settled USDC — confirm an onchain Transfer matching the claim is in the index. Pass tx (required) + optional to/from/amount to cross-check. Absence = not in coverage, not proof of fraud.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoClaimed payee.
txYesSettlement tx hash.
fromNoClaimed payer.
amountNoClaimed USDC amount (human, e.g. 0.05).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are present, so the description carries full burden. It discloses the verification behavior and limitations of the result, which is sufficient for a read-only verification tool.

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?

Three sentences: purpose, context, usage. Front-loaded and every sentence adds value with no waste.

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

Completeness5/5

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

For a verification tool with fully described parameters and no output schema, the description adequately covers purpose, usage context, and interpretation of results.

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 description coverage is 100%, so baseline is 3. The description adds minimal value ('to cross-check') beyond restating required/optional parameters.

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 clearly states the specific verb 'verify' and resource 'x402 settlement', distinguishing it from siblings like mainstreet_verify and mainstreet_vet by focusing on cross-layer settlement confirmation.

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?

It explains when to use (when a facilitator claims settlement) and provides interpretation guidance ('Absence = not in coverage, not proof of fraud'), though it does not explicitly exclude alternatives.

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.