Skip to main content
Glama

Validate a driver for orders

cxt_validate_driver_for_orders
Read-only

Check one driver against specific orders: vehicle violations, HR violations and capability violations (for example Hazmat or Lift Gate that the driver lacks). Changes nothing. Needs ITINERARY_PLANNING_ACCESS. POST /v3/ItineraryPlanning/Orders/Drivers/{driverId}/Validate.

Input Schema

NameRequiredDescriptionDefault
driver_idYesDriver id.
order_idsYesOrder ids to check the driver against.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The description adds meaningful context beyond the annotations: it states the required ITINERARY_PLANNING_ACCESS permission and names the underlying POST endpoint, and clarifies that it checks vehicle, HR, and capability violations. It reinforces the read-only profile with 'Changes nothing', but does not describe the response shape 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is compact and front-loaded: the core action and scope come first, followed by the permission and endpoint details. Every fragment adds useful information with no wasted prose.

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 simple two-parameter validation tool with no output schema, the description provides the key context an agent needs: what is checked, that no changes occur, the required permission, and the endpoint. It could go slightly further by indicating what the returned validation result looks like, but the violation categories give a useful indication.

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 both driver_id and order_ids are already documented in the schema. The description adds the conceptual framing ('one driver', 'specific orders', violations to check) but no format, limits, or syntax details beyond what the schema provides; baseline 3 is appropriate.

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 and resource combination: checking one driver against specific orders, and enumerates the violation categories (vehicle, HR, capability). It distinguishes itself from the plural sibling implicitly through 'one driver', but does not explicitly name or contrast with cxt_validate_drivers.

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 phrase 'Check one driver against specific orders' implies when to use it, but there is no explicit guidance on when to prefer it over cxt_validate_drivers or other validation/planning siblings, nor any exclusions or prerequisites beyond the auth requirement.

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.