Skip to main content
Glama

PayOnce check_payee

check_payee

Verification of Payee for an AI agent about to pay. Given the account the money would go to and the name the invoice or instruction gave, answers MATCH, CLOSE_MATCH, NO_MATCH or UNVERIFIED (verification not possible), from the account's on-chain identity and zero-knowledge name proof. Pay only on MATCH. A person decides on CLOSE_MATCH and UNVERIFIED. Never pay on NO_MATCH. Default Concordium testnet (testnet names are self-asserted mock identities). Set network=mainnet for a read-only identity check of a mainnet account: it names the identity provider but is never MATCH and never payable.

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": {
      "payee": "<payee>",
      "legal_name": "<legal_name>"
    },
    "name": "check_payee"
  }
}

Input Schema

NameRequiredDescriptionDefault
payeeYesConcordium account that would receive the payment
sellerNooptional: whose payee book to read (default: the payee itself)
countryNo
networkNotestnet (default): full check with payee book and name proof. mainnet: read-only identity check; never MATCH, never payable (no mainnet payee book yet)
legal_nameYesthe payee name the invoice or the user gave

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it names the data source (on-chain identity plus zero-knowledge name proof), explains that testnet names are self-asserted mocks, and clarifies that mainnet is read-only and will never yield MATCH. It stops short of stating side effects, permissions, or cost/latency, though the read-only nature is strongly implied by "read-only identity check."

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?

The purpose and outcome vocabulary are front-loaded, followed by decision rules, then the network caveat, which is a sensible order for an agent reading top-down. It is dense but nearly every clause carries a decision-relevant fact; the only mild redundancy is the mainnet "never MATCH and never payable" phrasing, which is repeated in the schema.

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?

For a tool with no output schema, the description usefully enumerates the return vocabulary and what each value means for action, which is the key missing piece in structured data. It is somewhat thinner on the optional seller/country inputs and does not describe any additional payload returned with the verdict, such as the matched name or provider.

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 80%, so payee, seller, and network are already documented in structured fields, and the description largely restates the network behavior the schema already gives. It does add meaning by framing payee and legal_name as the two inputs to the workflow (the account the money goes to vs. the name the invoice gave), but leaves the country parameter entirely unexplained.

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 opens with a specific verb and resource ("Verification of Payee") and immediately enumerates the four possible answers, so the agent knows exactly what the tool returns. It never names a sibling such as check_payable or check_x402_seller, so differentiation is left to inference from the payee-name scope.

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 gives explicit decision rules that function as when-to-use guidance: "Pay only on MATCH," "A person decides on CLOSE_MATCH and UNVERIFIED," "Never pay on NO_MATCH." It also scopes the mainnet case (read-only identity check, never payable) versus the default testnet full check. What it lacks is any routing to the alternative siblings for adjacent payment checks.

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.