Skip to main content
Glama

PayPing: payment detail

payping_get_payment
Read-onlyIdempotent

Retrieve a PayPing payment by code to check whether it succeeded and view its amount, payer, fees, refund state, and status details.

Instructions

One payment by code: amount, payer, fees, refund state, paymentStatus and status_text. Use to check a payment succeeded.

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": {
      "code": "<code>"
    },
    "name": "payping_get_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.0
    • removedInput schema / properties / code / title
      Removed value: -"Code"
    • removedInput schema / title
      Removed value: -"payping_get_paymentArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "payping_get_paymentDictOutput",
      -  "type": "object"
      -}New value: +null
  2. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered structurally. The description contributes the returned field set, which is real value given there is no output schema, but says nothing about behavior on a missing/invalid code or rate limits.

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 short sentences with no filler and the resource identity front-loaded. The telegraphic 'One payment by code:' fragment is slightly clipped in readability, but each phrase carries information.

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

Completeness3/5

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

For a single-parameter read tool with no output schema, the field list partially substitutes for return documentation, which is the main thing needed. Gaps remain around where to obtain the code and what happens when the payment is absent, so it is adequate rather than 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 description coverage is 0% for the single required 'code' parameter. The description only says 'by code', implying the code identifies a payment, but never explains the format, source, or whether it is the PayPing payment code versus an invoice or transaction reference.

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 states the specific resource ('one payment') and the lookup key ('by code'), and enumerates the returned fields (amount, payer, fees, refund state, paymentStatus, status_text). This clearly separates it from list-type siblings such as payping_list_transactions or payping_get_invoice, though it never uses an explicit retrieval verb.

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?

'Use to check a payment succeeded' gives one concrete scenario, which is useful intent guidance. It does not mention alternatives (e.g., using payping_list_transactions to discover a code) or state when not to use it, leaving routing partly implicit.

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