Skip to main content
Glama

Donewire

Payment intent state and recorded transactions

get_payment_intent
Read-onlyIdempotent

Payment intent state and recorded transactions. States: requires_payment, processing (waiting for confirmations), partially_paid, succeeded, expired, cancelled, failed. Requires API key.

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": {
      "payment_intent_id": "<payment_intent_id>"
    },
    "name": "get_payment_intent"
  }
}

Input Schema

NameRequiredDescriptionDefault
payment_intent_idYesPayment intent id

Output Schema

NameRequiredDescriptionDefault
idYes
modeYes
assetYes
escrowNoPresent in escrow mode
job_idYes
statusYes
amountsYes
networkYes
expires_atYes
transactionsYes
transfers_requiredYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered; the description adds two things they do not: an API-key requirement and the full lifecycle vocabulary (requires_payment, processing, partially_paid, succeeded, expired, cancelled, failed). That state enumeration is genuinely useful for interpreting results, though it says nothing about behavior for unknown or malformed ids.

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?

Two compact sentences, front-loaded with what is returned, then the state list and auth note. The opening phrase duplicates the title almost verbatim, which is the only wasted space.

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 single-parameter read-only getter with a full output schema and annotations covering safety, the description supplies enough: auth requirement plus the state vocabulary needed to read the response. Only error/not-found behavior is unaddressed, a minor gap.

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% for the single payment_intent_id parameter, including UUID format and pattern, so the schema carries the semantics. The description adds no syntax, format, or sourcing hints beyond it, which matches the baseline 3 when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says it surfaces 'payment intent state and recorded transactions', which tells an agent what data comes back, but it never supplies an explicit verb and largely restates the title. It also does not distinguish this read from siblings like verify_payment or create_payment_intent, so the agent must infer the boundary from the name alone.

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 guidance on when to call this versus verify_payment or get_payment_options, and no stated prerequisites beyond the API key. The agent is left to infer that this is the lookup used to inspect an existing intent's status.

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