Skip to main content
Glama

get_payment_account_ledger_entry_payments

Read-only

Retrieve payment details for specified Etsy shop payment account ledger entry IDs to reconcile transactions and confirm whether a payment applies.

Instructions

Get a Payment from a PaymentAccount Ledger Entry ID, if applicable

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>",
      "ledger_entry_ids": "<ledger_entry_ids>"
    },
    "name": "get_payment_account_ledger_entry_payments"
  }
}

Input Schema

NameRequiredDescriptionDefault
shop_idYesThe unique positive non-zero numeric ID for an Etsy Shop.
ledger_entry_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.2/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 safe-read profile is covered by structured data. Beyond that, the description discloses nothing: not what a payment record contains, not whether an empty result is a normal outcome (which "if applicable" hints at but never clarifies), and not any pagination or rate-limit behavior. For an open-world read tool with no output schema, this leaves the agent guessing about return shape.

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

Conciseness1/5

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

Roughly 90% of the description is pasted HTML boilerplate — a duplicate flex-div wrapper, a badge, a bug-report anchor, and a banner paragraph — none of which helps an agent select or invoke the tool. The single useful clause is appended at the very end rather than front-loaded, so the definition is both bloated and back-weighted.

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?

With no output schema and no annotation coverage of return behavior, the description needed to explain what a payment object looks like and what an empty result means. Instead it offers one ambiguous sentence plus documentation chrome. An agent knows which resource to ask about but not what it will get back or when the call is appropriate.

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 50%: shop_id is documented in the schema, but ledger_entry_ids is a bare array whose items carry no description. The description's phrase "from a PaymentAccount Ledger Entry ID" partially maps to that parameter but uses the singular, giving no hint that a plural, minItems=1 array is accepted or how multiple IDs are handled. It does not compensate for the uncovered half of the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The one substantive sentence, "Get a Payment from a PaymentAccount Ledger Entry ID, if applicable", does state a verb (get) and a resource (payment tied to a ledger entry), which is enough to distinguish it from get_shop_payment_account_ledger_entry. However, that signal is buried under two blocks of Etsy documentation HTML (a "General Release" badge, a bug-report link, and a production-readiness banner) that add no tool meaning. The core purpose is recoverable but not front-loaded.

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 and no mention of any alternative tool, even though siblings such as get_shop_payment_account_ledger_entry and get_payments exist and would plausibly be chosen instead. The qualifier "if applicable" is left unexplained, so the agent cannot tell under what conditions a payment actually exists for a given ledger entry. Only the phrase "from a PaymentAccount Ledger Entry ID" implies the retrieval context.

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