Skip to main content
Glama

Update a driver's parameters for a date

optimoroute_update_driver_parameters
Destructive

Change one driver's setup for one date: enable/disable, work hours, assigned vehicle, vehicle capacities, start/end location. WARNING: any existing route for that driver on that date is UNSCHEDULED; re-run planning afterwards. Start/end locations also apply to future optimizations. OptimoRoute: POST /update_driver_parameters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesDate in YYYY-MM-DD format, e.g. 2026-09-30.
enabledNoEnable or disable the driver for this date.
endAddressNoEnd address shown on reports (needs end coordinates).
externalIdYesThe driver's external id from driver administration.
workTimeToNoWork end, 24-hour HH:MM.
endLatitudeNoEnd location latitude (needs endLongitude).
endLongitudeNoEnd location longitude (needs endLatitude).
startAddressNoStart address shown on reports (needs start coordinates).
workTimeFromNoWork start, 24-hour HH:MM.
startLatitudeNoStart location latitude (needs startLongitude).
startLongitudeNoStart location longitude (needs startLatitude).
assignedVehicleNoExternal id of the vehicle to assign for this date.
vehicleCapacity1NoVehicle load capacity #1 for this date.
vehicleCapacity2NoVehicle load capacity #2.
vehicleCapacity3NoVehicle load capacity #3.
vehicleCapacity4NoVehicle load capacity #4.

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
Behavior5/5

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

Annotations only declare destructiveHint=true; the description goes well beyond that by naming the destructive consequence (existing route for that driver/date is UNSCHEDULED), the required follow-up workflow (re-run planning), and a hidden scope effect (start/end locations also apply to future optimizations). This is exactly the extra context annotations cannot convey, and it is consistent with destructiveHint.

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?

Front-loaded with the change scope, then the warning, then the upstream endpoint. Efficient and zero filler, though the trailing 'OptimoRoute: POST /update_driver_parameters' is largely redundant with the name and adds little an agent can act on.

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 16-parameter mutation with no output schema, it covers the dangerous side effects and the follow-up action, which are the highest-risk gaps. It does not state partial-update semantics (whether omitted fields are preserved or cleared), which is the one behavior an agent still has to guess at.

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 every parameter is already documented in the schema, including format patterns and coordinate pairing requirements. The description's field list largely restates those parameters without adding syntax or defaults, so the 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 ('Change one driver's setup for one date') and enumerates the concrete fields affected: enable/disable, work hours, assigned vehicle, capacities, start/end location. No sibling tool targets driver parameters, so the agent can route here unambiguously.

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 enumerated fields and the post-change instruction to re-run planning, but there is no explicit when-to-use/when-not or named alternative. For a tool whose scope is narrow and unopposed by siblings, this is adequate but not instructive.

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.