Skip to main content
Glama

Returns list

returns_list
Read-onlyIdempotent

Retrieve paginated returns, filtered by order ID or return status, to track and manage return requests.

Instructions

List returns the authenticated principal filed (buyer-side view), paginated. Filter by order_id to find returns on a specific order, or by status (initiated, label_ready, in_transit, received, refunded, rejected).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cursorNoOpaque cursor from next_cursor in the previous page; omit for the first page.
statusNoFilter to a single return status; omit for all statuses.
order_idNoFilter to returns for one order.
page_sizeYesResults per page, 1-100. Defaults to 20.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is fully disclosed. The description adds the pagination trait ('paginated') and the filtering behavior, which are useful beyond the annotations. No contradictions with annotations exist. It does not detail pagination mechanics (e.g., next_cursor), but that is documented in the schema.

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 a single, efficient sentence that front-loads the core purpose ('List returns...') followed by concise filter guidance. No wasted words; every phrase adds value.

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 paginated list tool with full parameter documentation in the schema and safety covered by annotations, the description is complete enough. It clarifies the buyer-side scope and filtering options. The absence of an output schema is acceptable because it is a list operation, and the description plus schema cover the necessary invocation details.

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%, meaning all four parameters have descriptive comments in the schema. The description reiterates order_id and status filters but adds no new semantic meaning beyond what the schema already provides. Baseline 3 applies since the schema carries the parameter documentation burden.

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 states a specific verb ('List') and resource ('returns') with a clear scope: 'authenticated principal filed (buyer-side view)'. It distinguishes from the seller-side sibling tool (seller_list_returns) by explicitly labeling the buyer-side perspective, so an agent can tell them apart without opening schemas.

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 provides clear context for when to use this tool ('List returns the authenticated principal filed') and explains filter usage ('Filter by order_id to find returns on a specific order, or by status'). It implies the buyer-side view, which differentiates it from seller_list_returns, though it does not explicitly name the alternative tool or state when not to use it.

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

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/bitroadai/bitroad-mcp'

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