Skip to main content
Glama

samsara_update_route

Update a route's name, vehicle, driver, status, or stops while automatically preserving stop IDs to maintain accurate arrival and departure tracking.

Instructions

Update a route. CRITICAL BEST PRACTICE: This tool automatically preserves stop IDs to maintain arrival/departure time tracking. You can update name, vehicle, driver, status, or modify stops. When updating stops, the tool fetches existing stop IDs and preserves them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew route name
stopsNoUpdated stops array. Stop IDs will be automatically preserved if not provided.
statusNoUpdate route status
routeIdYesID of route to update
driverIdNoNew driver assignment
vehicleIdNoNew vehicle assignment

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0-beta.1

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses a key behavioral trait: the tool automatically preserves stop IDs by fetching existing ones. This goes beyond a simple 'update' statement and adds critical context. However, it does not mention idempotency, error states, or authorization requirements.

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 description is extremely concise: two sentences that convey the purpose, a critical best practice, and the scope of updates. No redundant or filler content. The critical best practice is front-loaded for immediate attention.

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?

Given the tool's complexity (6 parameters, no output schema, no annotations), the description adequately covers the most important behavior (stop ID preservation) and the scope of updates. It lacks details about return values, error conditions, or prerequisites, but the schema fills in parameter details. The description is sufficient for an agent to use the tool correctly.

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 baseline is 3. The description adds value by explaining the automatic preservation of stop IDs, which is not evident from the schema alone. It also provides a high-level summary of what can be updated, reinforcing the schema's descriptions.

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 clearly states the action ('Update a route') and lists the updatable fields (name, vehicle, driver, status, stops). It distinguishes this from sibling tools like create, delete, and get, though not explicitly. The verb-resource pairing is specific and unambiguous.

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 description includes a 'CRITICAL BEST PRACTICE' about preserving stop IDs, providing guidance on how to use the tool correctly. However, it does not specify when to use this tool versus alternatives (e.g., when to use samsara_create_route instead). No explicit when-to-use or when-not-to-use criteria are given.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AutomationSquadOS/mcp-samsara'

If you have feedback or need assistance with the MCP directory API, please join our Discord server