Skip to main content
Glama

optimoroute

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. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only flag destructiveHint=true; the description goes well beyond by disclosing the concrete destructive consequence (existing routes for that driver/date are UNSCHEDULED) and the required follow-up action (re-run planning). It also reveals non-obvious persistence behavior: start/end locations carry over to future optimizations.

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?

One dense sentence of scope, one capitalized warning, one persistence note, one API path reference. The destructive warning is front-loaded and nothing is padded.

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 destructive mutation with no output schema, the safety and follow-up consequences are covered well. The remaining gap is that it never says whether omitted optional fields are left unchanged or cleared, which matters for a partial-update tool with this many parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds a semantic layer the schema cannot: start/end locations have lasting effect on future optimizations. It otherwise groups the editable fields at the same granularity the schema already documents.

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 with scope: changing ONE driver's setup for ONE date, then enumerates the exact facets (enable/disable, work hours, vehicle, capacities, start/end location). The sibling list is dominated by order/route tools, so this driver-scoped update is unambiguously distinguishable.

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?

The single-driver/single-date framing makes the usage context clear, and it explicitly tells the agent to re-run planning after the update. It does not name an alternative tool for the multi-driver or bulk case, so it falls short of full when-not guidance.

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.