Skip to main content
Glama

getMoneyTransaction

Read-only

Get one money transaction by transactionId. Get transactionId from getMoneyTransactions. Never invent UUIDs; only use values from prior tool responses. amount is already in the major units of the transaction currencyCode; refunds are in payment.refunds.money.

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": {
      "transactionId": "<transactionId>"
    },
    "name": "getMoneyTransaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
transactionIdYesThe id of the transaction.

Output Schema

NameRequiredDescriptionDefault
transactionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / transaction / properties / payment / properties / method / properties / paymentGateway / properties / inPerson
      Added value: +{
      +  "description": "Present and true when an administrator took the payment in person with Tap to Pay on their phone, which has no checkout page to complete.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the description adds only semantic notes about units and where refunds live. Those notes are useful but describe the payload rather than the tool's behavior, and the return shape is largely delegated to the existing output schema.

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?

Four short sentences, front-loaded with the lookup semantics and the ID-provenance rule; every sentence carries distinct information with no repetition of structured fields.

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 one-parameter read tool with annotations and an output schema, the definition covers the key risks (invalid IDs, amount units, refund location). Minor gap: it does not state what happens for an unknown or non-existent transactionId.

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% and the single parameter is fully documented with format and pattern, so the baseline is 3. The description goes beyond the schema by specifying where valid IDs come from and forbidding fabricated UUIDs, which is meaning the schema cannot express.

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

Purpose5/5

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

States a specific verb and resource ('Get one money transaction') with the exact lookup key ('by transactionId'), which clearly distinguishes it from the sibling list tool getMoneyTransactions. An agent can tell the singular getter from the lister without opening either schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent to getMoneyTransactions as the source of the ID and adds a hard rule ('Never invent UUIDs; only use values from prior tool responses'), which is exactly the kind of when-and-how guidance an agent needs for an ID-parameterized lookup.

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