Skip to main content
Glama

Get order completion details

optimoroute_get_completion_details
Read-only

Get the completion status of up to 500 orders (unscheduled, scheduled, on_route, servicing, success, failed, rejected, cancelled) with service start/end times and positions, proof-of-delivery form data (notes, signature and photo URLs, barcodes), the tracking URL and optionally customer feedback. Read-only despite using POST. OptimoRoute: POST /get_completion_details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ordersYesOrders to target, each {"orderNo": "..."} or {"id": "..."}. At most 500.
includeCustomerFeedbackNoInclude the customer's rating and comment, if customer feedback is configured.

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

A3.9/5.0
Behavior4/5

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

It discloses the surprising behavioral trait that the operation is read-only despite issuing a POST, which is exactly the kind of context annotations alone (readOnlyHint=true) don't explain to an agent. It also enumerates returned content, though it doesn't cover pagination or error 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?

Dense but front-loaded: the resource and scope lead, with the read-only caveat and endpoint suffix trailing. Every clause carries information, though the single long sentence is heavy.

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 usefully enumerates the returned data (times, positions, POD fields, tracking URL), and the read-only/POST note resolves the main behavioral ambiguity. Only the absence of sibling-routing guidance keeps it from being fully complete.

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 both parameters are already documented. The description restates the 500-item cap (already maxItems) and that customer feedback is optional (already in the schema), adding little beyond the structured fields – baseline 3.

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 (Get) plus resource (completion status of orders) and enumerates the exact statuses returned, along with the concrete data fields (times, positions, POD data, tracking URL). An agent can distinguish this from optimoroute_get_orders or optimoroute_update_completion_details without opening a schema.

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 description conveys what scenario this serves (checking order completion/POD) and notes the optional feedback toggle, but it never explicitly states when to use this versus siblings like optimoroute_get_orders or the update counterpart. Usage is implied rather than routed.

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.