Skip to main content
Glama
dragosh29

Spoke Dispatch MCP server

by dragosh29

List plans

list_plans
Read-only

Retrieve delivery plans by exact title or start-date range, with drivers and routes, and optionally reveal redacted contact details.

Instructions

Plans (one per working day, each with its drivers and routes) in the order the API returns them. Filter by an exact title and/or a start-date range. Plan titles are free text: email addresses and phone numbers in them are redacted unless include_contact_details is true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoExact plan title (the API's filter.title; no partial match)
starts_toNoPlans starting on or before this date, YYYY-MM-DD (filter.startsLte)
page_tokenNonext_page_token from a previous call, to continue the same list
max_resultsNoMinimum number of records to return; whole pages are returned, so a few more may come back
starts_fromNoPlans starting on or after this date, YYYY-MM-DD (filter.startsGte)
include_contact_detailsNoInclude email addresses and phone numbers typed into plan titles and route override addresses

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely non-obvious behavior: plan titles are free text and email addresses/phone numbers are redacted unless include_contact_details is true. It does not cover pagination behavior, but the added redaction context is substantive.

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: resource and ordering first, filtering second, redaction caveat last. No filler, though the redaction sentence restates part of the schema description.

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 notes the return ordering, and the schema fully documents pagination via page_token/max_results. It leaves empty-result and maximum-page behavior unstated, but nothing critical for a correct call 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 description coverage is 100% and each parameter is documented with its API filter mapping (filter.title, filter.startsLte, next_page_token), so the schema does the heavy lifting. The description restates the include_contact_details redaction rule rather than adding new parameter-level syntax or format detail, so baseline 3 is correct.

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 states the resource ('Plans, one per working day, each with its drivers and routes') and the ordering, so an agent knows exactly what comes back. It is clear but does not explicitly differentiate itself from siblings like get_plan or list_plan_stops, which a 5 would require.

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?

It states which filters are available ('Filter by an exact title and/or a start-date range'), which implies when to use it, but gives no explicit when-not guidance or routing to alternatives such as get_plan for a single plan.

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