Skip to main content
Glama

Payment status

debitmydata_get_payment_status
Read-only

Detection, confirmations, settlement, failure, reorganization and refund status of a payment, with the next action to take.

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": "debitmydata_get_payment_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
payment_intent_idYespayment_intent_id from the quote (dmd_payment_intent_...)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety and locality are covered. The description adds genuine behavioral value by stating that the response spans multiple lifecycle dimensions (including reorganization and refund) and includes a recommended next action. It stops short of describing rate limits, whether status is eventually consistent, or how stale results can be.

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?

A single sentence that front-loads the status facets and closes with the practically important 'next action to take'. No filler or repetition, though the comma-separated noun list is slightly dense and could be grouped into phases for faster scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a single-parameter read tool with an output schema, so return values need not be explained in prose, and annotations carry the safety profile. The description covers the non-obvious part an agent could not get elsewhere: that status spans refund and reorganization states and yields a recommended next action. Little material is missing for a tool of this complexity.

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?

Only one parameter exists and schema description coverage is 100%, with the schema documenting both the origin of the ID and its exact pattern. The description contributes nothing about the parameter, which is acceptable given the schema does the work, so the baseline of 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) and enumerates exactly what facets of its status are reported: detection, confirmations, settlement, failure, reorganization, refund. An agent can tell this is a lifecycle status read. It does not, however, contrast itself with the similarly named status sibling (get_registration_status) or the quote/purchase tools, so differentiation is left to the tool name.

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, no statement of prerequisites (e.g. that the payment intent must already exist from a quote), and no mention of polling cadence or what to do when a status is terminal. The lifecycle enumeration implies the tool is used to track a payment after initiation, but that is inference rather than guidance.

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.