Skip to main content
Glama

Code402 Non-Custodial Financial Verification MCP

Counterparty XDR-1 Passport Verifier (Free)

counterparty_passport_verify
Read-onlyIdempotent

Free bilateral verifier checking a counterparty's XDR-1 receipt signature, published signer, live-registry SKU tier, and timestamp age, returning a signed receipt.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "receipt": {
        "v": "XDR-1",
        "ts": 1762819200,
        "tier": "paid",
        "tool": "counterparty-live-dossier",
        "nonce": "0x2222222222222222222222222222222222222222222222222222222222222222",
        "payer": "0x1111111111111111111111111111111111111111",
        "amount": "500000",
        "signer": "0xa036e2e3e19c6d02f30b3a9eb0acd057e6d9a5c8",
        "recipient": "0xfe9d255ecbc1796fd538e3ebfb0833e8efead09f",
        "signature": "0x3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333",
        "input_hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "output_hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "tool_version": "1.0.0"
      },
      "max_age_seconds": 86400
    },
    "name": "counterparty_passport_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
receiptYesSigned XDR-1 receipt object presented by a counterparty
max_age_secondsNoMaximum acceptable receipt age in seconds (default 86400)

Output Schema

NameRequiredDescriptionDefault
freshNo
validNo
renewal_actionNo
signature_validNo
signer_publishedNo
is_live_registry_attestationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "max_age_seconds": 86400,
      -    "receipt": {
      -      "amount": "500000",
      -      "input_hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
      -      "nonce": "0x2222222222222222222222222222222222222222222222222222222222222222",
      -      "output_hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
      -      "payer": "0x1111111111111111111111111111111111111111",
      -      "recipient": "0xc59c85e661d34084a7769f955d17fd38254a6235",
      -      "signature": "0x3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333",
      -      "signer": "0xa036e2e3e19c6d02f30b3a9eb0acd057e6d9a5c8",
      -      "tier": "paid",
      -      "tool": "counterparty-live-dossier",
      -      "tool_version": "1.0.0",
      -      "ts": 1762819200,
      -      "v": "XDR-1"
      -    }
      -  }
      -]New value: +[
      +  {
      +    "max_age_seconds": 86400,
      +    "receipt": {
      +      "amount": "500000",
      +      "input_hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
      +      "nonce": "0x2222222222222222222222222222222222222222222222222222222222222222",
      +      "output_hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
      +      "payer": "0x1111111111111111111111111111111111111111",
      +      "recipient": "0xfe9d255ecbc1796fd538e3ebfb0833e8efead09f",
      +      "signature": "0x3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333",
      +      "signer": "0xa036e2e3e19c6d02f30b3a9eb0acd057e6d9a5c8",
      +      "tier": "paid",
      +      "tool": "counterparty-live-dossier",
      +      "tool_version": "1.0.0",
      +      "ts": 1762819200,
      +      "v": "XDR-1"
      +    }
      +  }
      +]
  4. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds real context beyond that: it discloses that a live registry is consulted (SKU tier) and that the response is itself a signed receipt. It does not say what happens when a check fails (returned verdict vs. error) or any rate/cost limits, which is the key behavioral unknown for a verifier.

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?

One dense sentence that front-loads the free/counterparty-verification framing and then lists the checks. Every clause carries information (free, bilateral, the four checks, signed output). It is a single long sentence rather than structured, which slightly hurts scannability.

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 an output schema present and 100% parameter coverage, the description need not explain return shape, and annotations cover safety and network scope. What remains thin is outcome semantics on a failed verification and any tier/entitlement constraints on the registry lookup. For a two-parameter read-only verifier, this is close to complete.

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% and the schema includes a full example receipt, so baseline is 3. The description's mention of 'timestamp age' loosely ties to max_age_seconds but adds no syntax or units beyond what the schema already states. 'Bilateral' hints the receipt must be one the counterparty signed, but this is not made explicit.

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 names a specific verb (verify) and a specific resource (an XDR-1 receipt presented by a counterparty), and enumerates the checks performed: signature, published signer, registry SKU tier, and timestamp age. That is far more than a restatement of the name. It stops short of distinguishing itself from the sibling receipt_verify, so an agent cannot tell from the text alone which verifier applies to which case.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the phrase 'a counterparty's XDR-1 receipt' and the 'Free' label, so an agent can infer this is the no-cost path for validating a receipt you were handed. There is no explicit when-to-use, no exclusion, and no pointer to receipt_verify or counterparty_live_dossier as an alternative. Guidance is present but requires inference.

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.