Skip to main content
Glama

status

Retrieves refreshed PayPal order, hold, capture, refund, invoice, payout, subscription, and last webhook data for a merchant reference, showing what happened and next steps before retrying.

Instructions

Answer 'what happened with this orderRef?' in one call, refreshed from PayPal (order, hold, captures, refunds, refundable_remaining, invoice, payout, subscription) plus the last webhook. Use before retrying after an error and whenever unsure. Returns details.answer and what to do next.

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": {
      "orderRef": "<orderRef>"
    },
    "name": "status"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderRefYesYour merchant reference for this deal (e.g. 'invoice-1042'). Reuse it for every later call about the same deal.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry behavior itself. It discloses that data is live-fetched ('refreshed from PayPal'), that it aggregates several resource types and the last webhook, and roughly what comes back (details.answer plus next steps). It does not state that the call is read-only/no side effects, nor anything about rate limits, latency, or behavior for an unknown orderRef.

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?

Three sentences, front-loaded with the user question it answers, followed by scope and usage triggers. The parenthetical resource list is dense but functional; nothing is padded.

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 single-parameter read tool with no output schema, the description covers what is fetched, where it comes from, and the shape of the response (details.answer and next steps). Remaining gaps are operational details like auth requirements and result limits rather than core call semantics.

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?

There is one parameter with full schema description coverage, so the schema already explains that orderRef is the merchant reference and should be reused across later calls. The description adds only the framing that one call returns the whole history, not any new meaning for the parameter itself.

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 frames the tool as a single-call answer to 'what happened with this orderRef?' and enumerates what is refreshed from PayPal (order, hold, captures, refunds, refundable_remaining, invoice, payout, subscription) plus the last webhook. That is a specific retrieval purpose across multiple sibling domains, though it never names a sibling (hold, capture_hold, refund, etc.) to contrast against.

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?

It gives explicit triggers: 'Use before retrying after an error and whenever unsure.' That is real when-to-use guidance an agent can act on. It stops short of a when-not rule or telling the agent to prefer this over issuing a new hold/capture call, so the alternative path is left implicit.

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