Skip to main content
Glama

get_payments

Read-only

Retrieves a shop's payment records by shop_id, optionally filtered by payment IDs, for order and payout reconciliation.

Instructions

Retrieves a list of payments from a shop identified by shop_id. You can also filter results using a list of payment IDs.

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>",
      "payment_ids": "<payment_ids>"
    },
    "name": "get_payments"
  }
}

Input Schema

NameRequiredDescriptionDefault
shop_idYesThe unique positive non-zero numeric ID for an Etsy Shop.
payment_idsYesA comma-separated array of Payment IDs numbers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.7/5.0
Behavior3/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 only the shop-scoped nature of the read and the existence of a payment-ID filter, saying nothing about pagination, result limits, or ordering — meaningful gaps for a list endpoint in an open-world API.

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 first ~60% of the description is raw HTML chrome plus a 'General Release / Report bug / ready for production' banner carrying zero tool-selection value. The actual content is two sentences buried after it, so the definition is not front-loaded despite being short overall.

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

Completeness2/5

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

For a two-parameter, fully-required list endpoint with no output schema and no annotations covering data shape, the description should clarify pagination, return contents, and the required nature of payment_ids. It instead leaves those unaddressed and spends its opening on release-status boilerplate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline would be 3, but the description actively misleads: 'You can also filter results using a list of payment IDs' frames payment_ids as optional, while the schema marks it required alongside shop_id. That contradiction between prose and schema is worse than adding no information.

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 substantive sentence states a specific verb and resource: 'Retrieves a list of payments from a shop identified by `shop_id`.' An agent can tell this is a per-shop payments listing, though nothing distinguishes it from the similarly named sibling get_payment_account_ledger_entry_payments.

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 when-to-use guidance, no prerequisites (e.g. OAuth scope or shop ownership), and no mention of when to prefer a sibling tool. The only usage-flavoured sentence describes a filter, not a decision rule.

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