Skip to main content
Glama

PayOnce check_payee

check_payable

Full verdict on one payable BEFORE paying: seller on the vendor list; the registered payee, amount and document hash; the seller agent badge on the official registry (buyer checks seller); the buyer agent badge and agentWallet (seller checks buyer); owner-consent and age-gate status; and the API's before-pay verifier. Optionally pass the invoice copy and email text you were sent (doc_text, email_text, claimed_payees) so tampering and injected instructions are caught. Verdict is one of pay, refuse, needs_owner_consent, needs_age_proof. Read-only.

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": {
      "seller": "<seller>",
      "id": "<id>"
    },
    "name": "check_payable"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYespayable id
sellerYesseller account address
doc_textNothe invoice document text you received (checked against the on-chain hash)
email_textNothe covering email text (scanned for instructions and other payee accounts)
claimed_payeesNoaccounts the sender asked you to pay
expected_amountNoamount in base units the sender asked for

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 supplied, the description carries the full burden and does substantial work: it declares the tool 'Read-only', enumerates every verification performed, and names the four possible verdicts (pay, refuse, needs_owner_consent, needs_age_proof), so the agent knows the outcome space in advance. What it omits is operational detail — no auth/permission requirements, no latency or rate-limit notes, and no statement of what happens when a check cannot be completed (e.g. missing registry entry).

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 critical constraint ('BEFORE paying') and the read-only safety signal are front-loaded, and the long middle clause is a deliberate checklist rather than filler. The semicolon-chained structure makes it dense to parse and the optional-input guidance arrives late, but almost every clause adds decision-relevant information.

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 read-only verification tool with no output schema, the description supplies the two things an agent most needs: what is checked and what the return verdict can be. Gaps remain around failure modes and required preconditions (e.g. what a registry miss yields), but nothing essential to deciding whether to call it is missing.

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%, so the baseline is 3. The description adds genuine rationale the schema lacks: doc_text is checked against the on-chain hash, email_text is scanned for injected instructions and other payee accounts, and claimed_payees is the sender's asserted list — this tells the agent why to supply them. However, expected_amount appears in the schema but is never mentioned in the description, leaving one parameter's semantics entirely to the schema.

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+resource and scope: 'Full verdict on one payable BEFORE paying,' then enumerates the exact checks performed (vendor list, registered payee, amount, document hash, seller/buyer agent badges, owner-consent, age gate, before-pay verifier). This is far beyond a restatement of the name. It stops short of 5 because it never names or distinguishes the closest sibling, check_payee, so an agent must infer the boundary from the descriptions of both.

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?

The temporal guidance is explicit and front-loaded: run this BEFORE paying. It also explains when to supply the optional forensic inputs ('pass the invoice copy and email text you were sent ... so tampering and injected instructions are caught'). It gives no when-not guidance and does not route the agent to check_payee or check_x402_seller as alternatives, which keeps it below 5.

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.