Skip to main content
Glama

Update order completion status

optimoroute_update_completion_details
Destructive

Set the completion status of up to 500 orders (e.g. mark success, failed or cancelled from an external system), optionally with service start/end times. Each time takes unixTimestamp, utcTime or localTime. Reversible by setting the status again. Returns a per-order success list. OptimoRoute: POST /update_completion_details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
updatesYesThe status updates, at most 500.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only supply destructiveHint=true, so the description carries most of the behavioral load and does so well: it discloses the 500-order batch cap, that the change is reversible, and that the response is a per-order success list. It does not mention auth requirements or partial-failure behavior.

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 tight sentences with the core action, batch limit and reversibility front-loaded. The trailing 'OptimoRoute: POST /update_completion_details.' is endpoint metadata of marginal value to an agent but not damaging.

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?

With no output schema, the description compensates by stating the return is a per-order success list, and it covers the cap, reversibility and timestamp formats. Auth and error/partial-failure semantics remain unstated, but nothing essential to invoking the tool 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?

Schema coverage is 100%, so the schema already documents id, orderNo, status enum and the three time encodings; the description only reinforces that each time accepts unixTimestamp, utcTime or localTime. Useful confirmation but nothing the schema does not already convey, so baseline 3 applies.

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?

States a specific verb and resource ('Set the completion status of up to 500 orders') with concrete examples of the statuses applied, and the write verb plus the batch ceiling clearly separates it from the read-side sibling optimoroute_get_completion_details.

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?

Gives clear context for when this is used ('mark success, failed or cancelled from an external system') and notes the operation is reversible by re-setting the status. It does not name exclusions or explicitly route to alternatives such as optimoroute_get_completion_details, so it stops short of the top band.

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.