Skip to main content
Glama

Check counterparty

check_counterparty
Read-onlyIdempotent

Check a counterparty's payment-backed reputation before paying a stranger using settled-payment evidence on Base or Solana; unknown or missing coverage is flagged.

Instructions

Check the payment-backed reputation of a counterparty before paying it.

WHAT THIS MEANS Returns facts about observed settled payments: how many settlements, how many distinct addresses paid, over how many days, and a rules-based interpretation of whether that record looks like independent commerce.

WHAT THIS DOES NOT MEAN It is not a judgement about whether anyone is honest, and the interpretation is not independently validated. Blinded adjudication agreed with it about 62% of the time (40/65, counting 17 "cannot tell" answers as disagreements; 83% excluding them). The adjudicators were language models, not humans, and their two verdict files were identical. Use it as one input among several, never as an approval to pay.

IDENTIFIER An EIP-55 address, did:ethr:, did:ethr:8453:, or did:pkh:eip155:8453:. A DID qualified with any other chain is rejected: the index holds Base evidence only and will not answer a foreign-chain DID with it. A base58 Solana address is routed to the Solana index, a separate and shorter observation window; if that index is not deployed the answer is status rail_not_indexed, not invalid_identifier. A Lightning node pubkey (66 hex), a Lightning address (user@domain) or an mpp: operator is well-formed but not indexed: it returns status rail_not_indexed, not invalid_identifier.

RAIL Every answer comes from its own rail's evidence. Base is indexed; the Solana x402 rail is indexed from a seven-day observation window, and each Solana answer states that window. rail="lightning" returns status rail_not_indexed — never Base data relabelled as Lightning. Asking for "base" about a Solana address (or "solana" about a Base address) returns rail_mismatch rather than a guess.

READING THE ANSWER found: false no seller-side score. This is NOT a low score and NOT a warning. role_observed tells you whether the index has seen the address pay others; that is not a verdict. insufficient_evidence some evidence, too little to score. Also not bad. signaling_likelihood null when not judged. Null is not zero. score (0-100) only present when there is enough evidence. evidence_hash fingerprint of the answer. Store it with the record and compare on re-fetch to see whether the evidence changed. Unsigned: it is not an attestation, and this answer is never an endorsement to pay.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "identifier": "<identifier>"
    },
    "name": "check_counterparty"
  }
}

Input Schema

NameRequiredDescriptionDefault
railNoany
identifierYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description goes well beyond them: it discloses the 62% (40/65) blinded-adjudication agreement rate, that adjudicators were language models, that the interpretation is not independently validated, that the Solana rail uses a seven-day window, and that rail_mismatch is returned instead of guessing. That is exactly the kind of accuracy and limitation context an agent cannot get from structured fields.

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?

Headers (WHAT THIS MEANS / WHAT THIS DOES NOT MEAN / IDENTIFIER / RAIL / READING THE ANSWER) front-load the purpose and make scanning easy, and most sentences carry distinct information. It is long for a two-parameter tool, and the adjudication statistic with its parenthetical breakdown (40/65, 17 'cannot tell', 83% excluding) is more detail than an invocation decision needs.

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?

Although an output schema exists, the description adds interpretive semantics that a schema cannot express — 'found: false' is not a low score, 'insufficient_evidence' is not bad, null signaling_likelihood is not zero, and evidence_hash is unsigned and comparable on re-fetch. Combined with identifier and rail coverage, nothing needed to call or correctly read this tool is missing.

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?

Schema description coverage is 0%, so the description carries the full burden, and it does so for 'identifier' by enumerating accepted forms (EIP-55, did:ethr, did:pkh:eip155:8453, base58 Solana, Lightning pubkey, Lightning address, mpp:<id>) and their rejection outcomes. For 'rail' it explains base, solana, and lightning behavior including mismatch handling, but the default value 'any' and its auto-routing are only implied by the base58 routing sentence rather than stated.

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 opening sentence gives a specific verb and resource ('Check the payment-backed reputation of a counterparty') plus the decision context ('before paying it'). The WHAT THIS MEANS block then enumerates exactly what is returned (settlement counts, distinct payers, days observed, rules-based interpretation), so an agent knows the output shape before invoking.

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

Usage Guidelines5/5

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

It states when to use ('before paying it'), how to weight it ('use it as one input among several'), and an explicit prohibition ('never as an approval to pay'), reinforced by the closing note that the answer is not an endorsement. The RAIL and IDENTIFIER sections also steer which inputs are answerable versus which return rail_not_indexed, which is actionable routing guidance even though no sibling tools exist to name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools