Skip to main content
Glama
io.github.ArvtekEarn/mirakl-seller-mcp

io.github.ArvtekEarn/mirakl-seller-mcp

by ArvtekEarn

list_returns

Retrieve Mirakl marketplace returns with reasons and states, newest first, then page through results using a next-page token for seller return tracking.

Instructions

Returns with reasons and states, newest first (RT11). limit <= 100. Page with next_page_token from the response.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_returns"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
created_toNo
page_tokenNo
marketplaceNo
created_fromNo
return_stateNo
order_commercial_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose useful behavior: results are ordered newest first, page size is capped at 100, and paging uses next_page_token from the response. It does not state that this is a read-only operation, nor anything about auth scopes, rate limits, or what a return record contains beyond reasons and states.

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?

Three short sentences, front-loaded with the sort order and the hard limit, with no filler. It is terse to the point of under-specification, but nothing written is wasted.

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

Completeness2/5

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

For a 7-parameter, zero-coverage, zero-annotation tool with no output schema, this description is far too thin. An agent cannot determine what the date filters expect, what values return_state accepts, or whether marketplace is a slug or an ID, and that gap is not filled anywhere else in the definition.

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

Parameters2/5

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

Schema description coverage is 0% across 7 parameters, so the description must compensate — but it only addresses limit (cap of 100) and page_token (source of the token). The five filter parameters (created_from, created_to, marketplace, return_state, order_commercial_id) get no explanation of format, accepted values, or whether they combine as AND.

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

Purpose3/5

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

"Returns with reasons and states, newest first" does identify the resource (returns) and the sort order, but the verb is elided — the sentence opens with the noun "Returns," which reads ambiguously as a verb. It also gives no differentiation from siblings like list_orders or list_offers, so an agent must infer the boundary from the name alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no mention of any alternative tool for retrieving return data. The only constraints given are pagination mechanics (limit <= 100, next_page_token), which are operational rather than selection guidance.

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