Skip to main content
Glama

payment_details

Read-onlyIdempotent

Retrieve payment status and invoice or cheque references for up to 50 consignments, while noting these details do not prove bank receipt.

Instructions

Get payment status and invoice/cheque references for up to 50 consignments; not proof of bank receipt.

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": {
      "cn_numbers": "<cn_numbers>"
    },
    "name": "payment_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
cn_numbersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds real value beyond that: a hard batch ceiling of 50 and a data-reliability caveat that the reported status is not confirmation of bank receipt, which matters when an agent reports payment state downstream.

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 sentence, front-loaded with the primary capability, followed immediately by the scope limit and the caveat. No filler and nothing an agent must read twice.

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-only lookup with no output schema, the description adequately names what comes back (status plus invoice/cheque references) and the batch bound. Minor gaps remain on behavior when the 50-item limit or unknown identifiers are hit, but nothing essential to calling it correctly is missing.

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 0%, so the description must carry the load, and it does explain that the array holds consignment numbers and that the batch is capped at 50 — both directly clarifying the single parameter's intent and its maxItems bound. It does not give the expected identifier format (e.g. tracking vs. order numbers), which the pattern alone only vaguely constrains.

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 payment status and invoice/cheque references), scopes it explicitly to 'up to 50 consignments', and adds a negative clause ('not proof of bank receipt') that separates it from the delivery-proof sibling. An agent can tell what this returns without opening the schema.

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

Usage Guidelines4/5

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

The 'not proof of bank receipt' clause gives a clear when-not boundary, telling the agent this is a status/reference lookup rather than settlement evidence. It stops short of naming an alternative tool, so routing is implied rather than spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.