Skip to main content
Glama

Submit a payment reference

debitmydata_submit_payment_reference
Idempotent

Report the transaction that pays a quote. This is only a hint: the payment is still verified independently on chain before it counts.

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>",
      "transaction_reference": "<transaction_reference>"
    },
    "name": "debitmydata_submit_payment_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
payment_intent_idYespayment_intent_id from the quote (dmd_payment_intent_...)
transaction_referenceYesTransaction ID / hash of the payment you broadcast

Output Schema

NameRequiredDescriptionDefault

No arguments

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 already declare non-read-only, idempotent, and non-destructive, and the description adds genuinely new context beyond them: the submission is "only a hint" and the payment is "verified independently on chain," so the agent learns this call is advisory and does not itself confer payment. It stops short of saying what happens on a mismatched or unverifiable reference, or whether the call waits for verification.

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?

Two short sentences, with the action stated first and the crucial trust caveat immediately after. There is no redundant restatement of the title or of schema fields, and every clause carries information.

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?

The tool is a simple two-parameter submission, annotations cover the safety profile, and an output schema exists to explain return values, so the description only needs the advisory-verification caveat — which it supplies. A note on failure or mismatch handling would make it fully complete.

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% — both parameters carry descriptions and payment_intent_id even has a regex pattern — so the schema does the heavy lifting. The description adds only the loose framing that the reference is for "the transaction that pays a quote," with no detail on accepted hash formats or chain constraints beyond the schema.

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 uses a specific verb ("Report") and resource ("the transaction that pays a quote"), so an agent can tell this submits a payment reference rather than creating a quote or fetching status. It does not explicitly name the sibling that handles status polling or completion, so differentiation is clear in substance but not routed.

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

Usage Guidelines3/5

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

Usage is implied by "the transaction that pays a quote" — call it after broadcasting a payment — but the description never states when to call it versus alternatives such as get_payment_status, nor whether it is a required step before the purchase settles. No exclusions or preconditions are given.

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.