Skip to main content
Glama

ebay_get_refunded_orders

Retrieve recent seller orders that have refunds by scanning orders via eBay Fulfillment API getOrders. Returns only orders with non-empty refund arrays, without issuing refunds.

Instructions

Scan recent seller orders for refunds. Calls Fulfillment API getOrders and returns orders with a non-empty paymentSummary.refunds array. Read-only helper — does not issue refunds or call the Post-Order API.

Required OAuth Scope: sell.fulfillment.readonly or sell.fulfillment Minimum Scope: https://api.ebay.com/oauth/api_scope/sell.fulfillment.readonly

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filterNoOptional Fulfillment getOrders filter expression (e.g. creationdate:[2024-01-01T00:00:00.000Z..2024-12-31T23:59:59.999Z])
maxResultsNoMaximum orders to scan via getOrders (default 50)
Behavior4/5

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

With no annotations provided, the description adequately discloses behavioral traits: it is read-only, does not issue refunds, does not call Post-Order API, and requires specific OAuth scopes. However, it lacks details on pagination, rate limits, or behavior when no refunds are found (empty array vs null). The description compensates reasonably for the missing annotations.

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

Conciseness5/5

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

The description is very concise: two short sentences plus an OAuth scope line. Every sentence adds value. No fluff or redundancy. The structure front-loads the core purpose and then adds important constraints.

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 simple read-only filter tool, the description covers the essential aspects: purpose, behavior, API used, and OAuth requirements. No output schema exists, so the note about returning orders with non-empty refunds array is helpful. However, it could be more complete by explaining what happens when no refunds are found or providing a minimal example.

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% (both filter and maxResults have descriptions), so baseline is 3. The description adds minimal extra meaning: it mentions the default maxResults value (50) and that filter is optional. No additional syntax or format details beyond what the schema provides. Hence, the description does not significantly enhance parameter understanding.

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

Purpose5/5

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

The description clearly states the tool's purpose: 'Scan recent seller orders for refunds.' It specifies the API used (Fulfillment API getOrders) and the condition for return (non-empty paymentSummary.refunds array). This distinguishes it from sibling tools like ebay_get_orders (which returns all orders) and ebay_issue_refund (which issues refunds).

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?

The description explicitly labels the tool as a 'read-only helper' and clarifies it 'does not issue refunds or call the Post-Order API.' It also lists required OAuth scopes. While it doesn't directly contrast with alternatives like ebay_get_orders, the context of scanning for refunds implies when to use it. More explicit when-not-to-use guidance would improve this dimension.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/YosefHayim/ebay-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server