Skip to main content
Glama
dragosh29

Spoke Dispatch MCP server

by dragosh29

Stops of a route

list_route_stops
Read-only

Retrieve ordered stops for a dispatch route, including delivery state, outcome, ETA, time window, and packages. Enable contact details to include recipient info, proof of delivery, and tracking links.

Instructions

The stops of one route (one driver's run) in the order the API returns them, with delivery state and outcome, ETA, time window and packages. By default recipients are withheld, addresses are summarised to the locality, and proof-of-delivery links, signee names and recipient tracking links are left out; set include_contact_details to get them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
route_idYesRoute ID (routes/<id> or the bare <id>)
page_tokenNonext_page_token from a previous call, to continue the same list
external_idNoOnly the stop(s) whose recipient.externalId equals this value exactly (the API's filter.externalId)
max_resultsNoMinimum number of records to return; whole pages are returned, so a few more may come back
include_contact_detailsNoInclude recipient name, email, phone and external ID, the full address with coordinates, signee names, proof-of-delivery photo and signature links, the tracking link, and unredacted notes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description carries the rest. It meaningfully adds that recipients are withheld, addresses are reduced to locality, and PoD links/signee names/tracking links are omitted by default, plus the exact flag that reverses this. That is substantive behavioral disclosure beyond the annotations, though pagination behavior is left to the schema.

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?

Two sentences, front-loaded with what is returned and followed by the default-vs-override behavioral note. No filler, and each clause carries distinct information.

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

Completeness5/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 still conveys return contents (delivery state and outcome, ETA, time window, packages) and the default redaction posture. Combined with 100% schema coverage, an agent has everything needed to select and call it correctly.

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 description coverage is 100%, so route_id, page_token, external_id, max_results and include_contact_details are already documented at the schema level. The prose reinforces include_contact_details and the default redaction but adds little parameter meaning beyond what the schema text provides; 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?

States a specific verb+resource (the stops of one route) and narrows scope to a single driver's run in API-returned order, which separates it from the broader list_routes and search_stops. However it does not explicitly name the closest sibling list_plan_stops, so an agent must infer the route-vs-plan distinction.

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?

Usage is implied by the scoping phrase 'one route (one driver's run)' but there is no explicit when-to-use versus search_stops, list_plan_stops or get_route, and no stated prerequisites. The defaults paragraph explains behavior rather than alternatives, leaving selection logic to inference.

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