Skip to main content
Glama

quote_payment_check

Read-only

Did a Keeta payment settle? Who paid whom, how much, and the network fee when the ledger shows one. Add to, amountBase and asset to check a receipt. Not a spendable receipt. Returns the x402 payment quote for this read (price, network, asset, pay-to, and the exact URL). It does not return data. To buy, GET the returned URL over HTTP and pay with x402; check get_x402_health first.

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": {
      "hash": "<hash>"
    },
    "name": "quote_payment_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoOptional address starting keeta_ that should have been paid
hashYes64 hex characters, no 0x
assetNoOptional token address starting keeta_
amountBaseNoOptional ledger integer, such as 10000

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only say readOnlyHint=true and openWorldHint=true; the description adds the crucial non-obvious behavior that this call does not return data but returns an x402 payment quote (price, network, asset, pay-to, exact URL) that must then be paid for over HTTP. That is genuinely valuable context beyond the annotations. It omits cost magnitude, rate limits, and error behavior when a hash is unknown.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The front-loaded question is good, but the middle is choppy fragmentary prose ('Add to, amountBase and asset to check a receipt.') and partly redundant, since 'It does not return data' overlaps with 'Returns the x402 payment quote for this read'. Information is present but the structure reads as stitched-together clauses rather than a tight flow.

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?

There is no output schema, so the description must carry the return contract, and it does: it names what the quote contains and explicitly warns that no payment data itself is returned. Combined with the follow-up HTTP/x402 instruction and the get_x402_health prerequisite, an agent has enough to call it correctly; only failure modes and cost expectations are unstated.

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 the schema already documents `to`, `hash`, `asset` and `amountBase`. The description only weakly adds that `to`, `amountBase` and `asset` are used 'to check a receipt', which does not add format or semantic detail beyond the schema's own notes. Baseline 3 applies.

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 opening question 'Did a Keeta payment settle? Who paid whom, how much, and the network fee' identifies a specific verb-level task (verify a payment/settlement) on a specific resource, and the tool name plus the hash parameter reinforce it. It is clear what the tool answers, though the purpose is stated as a rhetorical question rather than a declarative sentence, and it never names a sibling it replaces.

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 description gives real operational guidance: add `to`, `amountBase` and `asset` to check a receipt, and 'check get_x402_health first' before purchasing. It also explains what to do after the call ('GET the returned URL over HTTP and pay with x402'). It does not state when *not* to use this versus the many other quote_* checks, so it stops short of a full 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.

Resources