Skip to main content
Glama
Salla MCP Server

Salla MCP Server

by theYahia

Get Order Histories

get_order_histories
Read-only

Retrieve the status-change timeline for a single order by order ID, so you can review when and how its status changed.

Instructions

List the status-change history (timeline) of a single order.

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": {
      "order_id": "<order_id>"
    },
    "name": "get_order_histories"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYesOrder ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered and the description does not need to restate it. The description usefully adds that only status transitions are returned, not full order data, which prevents an agent from confusing it with get_order. Still missing: ordering of entries, whether history can be empty, and any pagination behavior, which matters for a timeline read.

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?

One short sentence with the resource and scope front-loaded and no filler. Nothing is redundant and there is no trailing boilerplate to skip past.

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-only lookup with a fully described schema and annotations covering safety, the description says what is returned (status-change timeline) and what scope it covers (one order). Only the absence of any note on entry ordering or empty-result behavior keeps it from 5.

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% for the single required order_id, and the schema already documents it with an exclusivity constraint, so the schema carries the load. The description's phrase 'a single order' reinforces the singular, positive-ID intent but adds no format or domain detail beyond the schema. 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?

The description gives a specific verb ('List') and a specific resource ('status-change history (timeline)'), scoped to 'a single order'. That wording distinguishes it from the sibling get_order, which by name suggests broader order detail rather than a status timeline. It stops short of naming the sibling explicitly, so a 4 rather than a 5.

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?

The scoping to a single order and to status changes implies the use case: an agent wanting the audit trail of one order's statuses. However, no alternative is named and no when-not-to-use condition is given, for example whether get_order already returns status history. The guidance is adequate but inferred.

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