Skip to main content
Glama

Receipt Locker

receipt_put

Receipt Locker: record a machine-readable receipt (payer, payee, amount, tx_hash, job, request/response hashes). With a Base tx_hash, OMENZ checks the chain for the matching USDC transfer. Content-addressed id; anyone verifies free. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/receipt/put, $0.002 via x402.)

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": {
      "payer": "<payer>",
      "payee": "<payee>",
      "amount": "<amount>"
    },
    "name": "receipt_put"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNonote
payeeYespayee
payerYespayer
amountYesamount
job_idNojob id
networkNochain name, e.g. base
serviceNoservice
tx_hashNotx hash
currencyNocurrency
request_sha256Norequest sha256
response_sha256Noresponse sha256

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • addedInput schema / properties / amount / description
      Added value: +"amount"
    • addedInput schema / properties / currency / description
      Added value: +"currency"
    • addedInput schema / properties / job_id / description
      Added value: +"job id"
    • addedInput schema / properties / network / description
      Added value: +"chain name, e.g. base"
    • addedInput schema / properties / note / description
      Added value: +"note"
    • addedInput schema / properties / payee / description
      Added value: +"payee"
    • addedInput schema / properties / payer / description
      Added value: +"payer"
    • addedInput schema / properties / request_sha256 / description
      Added value: +"request sha256"
    • addedInput schema / properties / response_sha256 / description
      Added value: +"response sha256"
    • addedInput schema / properties / service / description
      Added value: +"service"
    • addedInput schema / properties / tx_hash / description
      Added value: +"tx hash"
  2. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations cover safety (write, non-destructive, open-world, non-idempotent), but the description adds substantive context beyond them: a content-addressed id, optional on-chain USDC verification when tx_hash is supplied, free verification by anyone, and a production endpoint with a $0.002 x402 charge. It does not say what happens on duplicate content or what the response body contains, but the added behavioral detail is well above the annotation baseline.

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 core sentence is front-loaded and efficient, but the closing parenthetical crams in branding ('By OMENZ'), a playzone label, a raw production URL, and a price, which is promotional noise relative to the calling task. 'By OMENZ' and the AYNE playzone label do not help an agent decide or invoke.

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 an 11-parameter write tool with no output schema, the description covers the essential contract: what is recorded, that tx_hash enables verification, that the id is content-addressed, and that production calls cost money. Remaining gaps are minor optional fields (note, service, network, currency) and confirmation of what a successful call returns.

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 coverage is 100% but the schema descriptions are vacuous restatements of the parameter names, so the description carries real meaning: it groups parameters into payer/payee/amount/tx_hash/job/hash roles and specifies that tx_hash must be a Base transaction hash to trigger the chain check. Fields like note, service, network, and currency still go unexplained beyond their names.

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?

States a specific verb and resource ('record a machine-readable receipt') and enumerates the receipt contents (payer, payee, amount, tx_hash, job, request/response hashes). An agent can tell it writes a receipt rather than reading one, though it never differentiates itself from close siblings like locker_put or failure_put.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternative among the many sibling *_put tools. The only conditional stated ('With a Base tx_hash, OMENZ checks the chain') is parameter behavior, not invocation guidance, so the agent must infer the use case from the description alone.

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