Skip to main content
Glama

payment_status

Read-only

The authoritative record of a payment request: open, paid (by whom, network, transaction, confirmed on-chain by hashn) or cancelled, plus your payment attempts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_tokenNoYour hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set.
request_idYesThe payment request to look up.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / api_token / description
      Added value: +"Your hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set."
    • addedInput schema / properties / request_id / description
      Added value: +"The payment request to look up."
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish it is a safe, closed-world read. The description adds useful output context beyond the annotations: the possible states, that 'paid' carries who/network/transaction and on-chain confirmation, and that attempts are included. It stops short of describing error or missing-record behavior.

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

Conciseness5/5

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

One dense sentence, front-loaded with the resource identity and then the returnable states; no filler or restated title.

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?

With no output schema, the description carries the return-value burden and does so by naming the states and paid-details, which is enough for a single-record read-only lookup. Minor gaps remain around not-found/error handling and the api_token fallback, though the latter is covered in the schema.

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% and both parameters (api_token auth pattern, request_id) are fully documented in the schema, so the description adds nothing parameter-level. 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 description names a specific resource (a payment request's authoritative record) and enumerates its meaningful states (open, paid, cancelled), so an agent can tell this is a status lookup rather than list_payment_requests or pay. It never states the verb 'retrieve/look up' explicitly, but the intent is clear from 'record' plus the request_id requirement.

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?

No when-to-use guidance is given, nor any mention of the obvious siblings: when to call this versus list_payment_requests (all requests) or pay/request_payment (acting on a payment). Usage must be inferred entirely from the name and description.

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