Skip to main content
Glama

Get return details

get_return
Read-onlyIdempotent

Full details of one return: items, customer, order, shipping/tracking, timestamps and status history.

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": {
      "return_id": "<return_id>"
    },
    "name": "get_return"
  }
}

Input Schema

NameRequiredDescriptionDefault
return_idYesForthRoute return id from search_returns.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the description's added value is the payload inventory—which it delivers by listing the record sections returned. It does not say what happens for an unknown or already-approved return id, so behavior on edge cases remains undocumented.

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?

A single front-loaded sentence that spends no words on filler; the resource and the returned field groups are stated first with no redundancy.

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 one-parameter read tool with no output schema, the description gives enough of the return shape to set expectations. It is slightly thin on failure modes (missing id, permissions) but nothing essential for calling it correctly is missing.

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?

One parameter with 100% schema description coverage, so the schema already explains return_id and its provenance. The description adds nothing beyond the schema about id format, sourcing, or error behavior on an invalid id—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+resource ('Full details of one return') and enumerates the payload sections (items, customer, order, shipping/tracking, timestamps, status history). It is clearly a single-record detail fetch, though it never names the sibling it contrasts with (search_returns for discovery, get_returns_overview for aggregate views).

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?

Usage is only implied: fetch one return by id when you need the complete record. There is no explicit when-to-use versus search_returns or get_returns_overview, and no note that the id must first come from search_returns (that hint lives only in the schema).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources