Skip to main content
Glama

ebay_get_transaction_summary

Read-only

Retrieves cumulative eBay transaction counts and amounts, including on-hold payments, using a required transactionStatus filter for finance reporting and reconciliation.

Instructions

Get cumulative transaction counts and amounts from the eBay Finances API, including on-hold payments. eBay requires a transactionStatus criterion in filter, e.g. transactionStatus:{PAYOUT}. Requires the sell.finances scope. eBay requires Digital Signatures on Finances API calls for EU/UK sellers; set EBAY_SIGNING_KEY_JWE and EBAY_SIGNING_PRIVATE_KEY to sign them.

Input Schema

NameRequiredDescriptionDefault
filterYesTransaction summary filter. eBay requires a transactionStatus criterion, e.g. transactionStatus:{PAYOUT}; other criteria are optional: transactionDate:[2024-10-23T00:00:01.000Z..2024-11-09T00:00:01.000Z] (last five years, range up to 36 months); transactionType:{SALE} (TransactionTypeEnum); transactionStatus:{PAYOUT} (TransactionStatusEnum, sales only); buyerUsername:{buyer1234}; payoutId:{5********8}; orderId:{0*-0***0-3***3}; transactionId:{0*-0***0-3***3}, which must be combined with transactionType. Separate multiple criteria with commas.
marketplaceIdNoOverrides the X-EBAY-C-MARKETPLACE-ID header, e.g. EBAY_US, EBAY_GB or EBAY_DE. Defaults to EBAY_MARKETPLACE_ID; eBay assumes EBAY_US when the header is absent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.18.0

TDQS

A3.9/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint annotation: it names the required OAuth scope, discloses that eBay demands Digital Signatures on Finances calls for EU/UK sellers, and tells the agent which environment variables (EBAY_SIGNING_KEY_JWE, EBAY_SIGNING_PRIVATE_KEY) must be set. That is exactly the kind of failure-mode context an agent cannot get from structured fields.

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?

Four sentences, purpose front-loaded, then constraint, then auth, then signing caveat — a sensible descending order of importance. The signing sentence is long but every clause is actionable; only the redundant transactionStatus example slightly duplicates the schema.

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?

With only two parameters, no output schema, and simple annotations, the description covers purpose, required scope, filter constraint, and the EU/UK signing prerequisite. It stops short of describing how results are bucketed or aggregated, which would help an agent interpret the response.

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 coverage is 100% and the filter description already enumerates every criterion and format, so the schema carries the load. The description's restatement of the transactionStatus requirement plus the example adds emphasis but no new meaning, so the baseline 3 applies.

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?

States a specific verb and resource ("Get cumulative transaction counts and amounts from the eBay Finances API") plus a scope detail ("including on-hold payments"). The word "cumulative" implicitly separates it from ebay_get_transactions and ebay_get_payout_summary, but no sibling is named outright.

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?

The description gives hard prerequisites (sell.finances scope, mandatory transactionStatus criterion) that imply when the call is valid, but it never says when to prefer this aggregate summary over ebay_get_transactions, ebay_get_seller_funds_summary, or ebay_get_order_earnings_summary. Usage is inferred rather than stated.

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