Skip to main content
Glama

rms_order_detail

Retrieves complete details for specified order numbers from Rakuten RMS sales data. Use to access comprehensive information about individual orders.

Instructions

Full order detail by order number(s)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_numbersYes

Implementation Reference

  • The handler function for the rms_order_detail tool. It calls api.get_order() with the order_numbers from arguments and returns the full order detail as pretty-printed JSON.
    async def _order_detail(args: dict, api: OrderAPI) -> list[TextContent]:
        r = api.get_order(args["order_numbers"])
        return [TextContent(type="text", text=json.dumps(r, ensure_ascii=False, indent=2))]
  • Tool registration and input schema definition. Defines the tool name, description, and input schema requiring an order_numbers array of strings.
    Tool(name="rms_order_detail", description="Full order detail by order number(s)",
         inputSchema={"type": "object", "properties": {
             "order_numbers": {"type": "array", "items": {"type": "string"}},
         }, "required": ["order_numbers"]}),
  • Routes the tool call to the _order_detail handler when name matches 'rms_order_detail'.
    elif name == "rms_order_detail":
        return await _order_detail(arguments, api)
  • The API helper that actually calls the RMS REST endpoint /order/getOrder/ with the list of order numbers and version 7.
    def get_order(self, order_numbers: list[str]) -> dict:
        return self._c.post(
            "/order/getOrder/",
            json={"orderNumberList": order_numbers, "version": "7"},
        ).json()
Behavior1/5

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

No annotations are provided, and the description fails to disclose behavioral traits such as read-only nature, response format, or any side effects. The description is too minimal to convey what the tool actually does beyond its basic purpose.

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?

The description is extremely concise, consisting of a single phrase. While it lacks necessary detail, it is not verbose and front-loads the primary action. However, the brevity comes at the cost of completeness.

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?

Given the absence of an output schema and annotations, the description should provide more context about return values or usage. 'Full order detail' is vague, and the tool's overall functionality is not sufficiently explained for an agent to use it effectively.

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?

With 0% schema description coverage, the description should compensate by explaining the parameter semantics. However, it only restates 'by order number(s)' without adding constraints like format, limits, or examples, adding minimal value over the schema.

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 that the tool retrieves full order details using order numbers, which is a specific verb-resource combination. It distinguishes from sibling tools like rms_cancel_rate and rms_daily_sales by its focus on order details.

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?

The description provides no guidance on when to use this tool versus alternatives. It does not mention any prerequisites or scenarios, leaving the agent without context for decision-making.

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/yasuhidekoizumi-afk/rms-mcp'

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