Skip to main content
Glama

get_shop_payment_by_receipt_id

Read-only

Retrieves a specific Etsy shop payment using receipt ID and shop ID, so you can access transaction payment details.

Instructions

Retrieves a payment from a specific receipt, identified by receipt_id, from a specific shop, identified by shop_id

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": {
      "shop_id": "<shop_id>",
      "receipt_id": "<receipt_id>"
    },
    "name": "get_shop_payment_by_receipt_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
shop_idYesThe unique positive non-zero numeric ID for an Etsy Shop.
receipt_idYesThe numeric ID for the [receipt](/documentation/reference#tag/Shop-Receipt) associated to this transaction.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that: no note on auth scopes required to read payment data, no behavior when a receipt has no payment, and no indication of what the payment object contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition leads with raw HTML badge markup, a bug-report link, and a 'ready for production use' banner before any substance. The actual payload is one sentence buried at the end, so the structure is poorly front-loaded and roughly half the text is noise.

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 two-parameter read-only lookup with full schema coverage and annotations, the purpose sentence is enough to call it correctly. It is minimum viable: the leftover HTML boilerplate occupies space that could have carried the sibling differentiation or return-shape hint the tool lacks.

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 100%, so both shop_id and receipt_id are already documented with type and range constraints. The description only restates those two parameters by name and adds no semantics such as whether receipt_id must belong to shop_id.

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 operative sentence states a specific verb and resource: retrieves a payment tied to a specific receipt and shop, naming both identifiers. It is clear what the tool returns, though it never distinguishes itself from nearby siblings such as get_shop_receipt or get_shop_receipt_transactions_by_receipt.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus the receipt/transaction siblings, and no prerequisites or exclusions. The agent must infer from the name alone that this is the payment-level lookup keyed by receipt.

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

Deploy Server

Other Tools