Update a trip
update_tripRename a trip or change its dates. Only the fields you pass change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| trip_id | Yes | The trip's id, from list_trips. | |
| end_date | No | New last day. | |
| start_date | No | New first day. |
update_tripRename a trip or change its dates. Only the fields you pass change.
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| trip_id | Yes | The trip's id, from list_trips. | |
| end_date | No | New last day. | |
| start_date | No | New first day. |
Changes observed during successful MCP inspections.
No schema history has been recorded yet.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate a non-read-only, idempotent, non-destructive mutation. The description adds the key semantic 'Only the fields you pass change,' clarifying partial-update behavior beyond what annotations provide.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, with the core action front-loaded and no filler. The partial-update behavior is stated economically and every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a straightforward update tool with no output schema, the description covers the essential behavior and mutation scope. It doesn't discuss error conditions or return values, but those are minor given the simple schema and annotations.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 75%, and the description reinforces the meaning of name, start_date, and end_date by framing them as rename and change dates. It also clarifies that all fields are optional updates, adding value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: rename a trip or change its dates. It clearly differentiates from sibling tools like delete_trip and update_booking by focusing on trip identity fields and partial updates.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives clear context: use this when renaming a trip or adjusting its start/end dates. It doesn't explicitly name alternatives or exclusions, but the sibling list and tool name make the intended scope obvious.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.