Skip to main content
Glama

Returns initiate

returns_initiate
Idempotent

Initiate a return on a delivered order within 30 days for a full refund. Select a change-of-mind or defective reason; the seller provides a prepaid return label.

Instructions

Initiate a return on a delivered order. Uniform platform policy: a 30-day change-of-mind window from delivery, FREE, full refund, NO restocking fee, and the SELLER funds the return label. Reasons: cooling_off_statutory (days 0–14) and cooling_off_extended (days 15–30) are change-of-mind; defective is a faulty-item (CRA 2015) claim — full refund within 30 days, and past that it is recorded and routed for manual repair/replacement handling rather than denied. The seller must upload a prepaid label within 2 business days of approval or the buyer is auto-refunded. Idempotent on order_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonYesWhy the item is coming back: statutory 14-day cooling-off, seller's extended cooling-off window, or defective goods.
order_idYesUUID of the order to return.
descriptionNoFree-text detail about the return, max 2000 chars.

Schema Changelog

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

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior5/5

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

The description is highly transparent about side effects and consequences: it creates a return, triggers a seller-funded label obligation, may lead to auto-refund, and states idempotency on order_id. This goes well beyond the annotations (readOnlyHint: false, idempotentHint: true) and gives the agent a clear picture of the tool's behavior.

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 description is unnecessarily verbose and redundant. The full policy (30-day window, free, full refund, no restocking fee, seller funds label) is repeated nearly verbatim twice. The first paragraph already conveys all necessary information; the second paragraph adds no new content. This reduces clarity and increases token usage.

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

Completeness5/5

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

Given the tool's complexity (3 params, 1 enum, no output schema), the description covers all essential context: initiation condition, policy rules, reason semantics, post-return obligations (label upload, auto-refund), and idempotency. No critical operational detail is missing for an agent to invoke this tool correctly.

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

Parameters5/5

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

Schema description coverage is 100%, and the tool description adds meaningful policy context for the reason enum (e.g., cooling_off_statutory corresponds to days 0–14 change-of-mind, defective is a CRA 2015 claim). This enriches the schema's per-parameter descriptions and clarifies how each reason affects the return process.

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: 'Initiate a return on a delivered order.' It distinguishes this state-changing action from read-only sibling tools like returns_get, returns_list, and returns_get_label by using the verb 'Initiate' and specifying the precondition (delivered order).

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 gives a clear when-to-use condition ('on a delivered order') and details the applicable policies (30-day window, free return, seller-funded label). It does not explicitly mention alternatives such as returns_get or seller_accept_return, but the sibling context and verb 'Initiate' make the intended usage clear. A minor gap is the lack of an explicit 'do not use for read-only checks.'

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