Skip to main content
Glama

Update Trip City

trip_city_update
DestructiveIdempotent

Replace one trip-city association with another city. This never edits the shared city catalog record.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
city_idNoExact city catalog ID. Provide this OR city_name.
countryNoOptional country name or country code used to disambiguate city_name.
trip_idYesTrip ID.
city_nameNoExact city name. Provide this OR city_id; ambiguous names return candidates.
trip_city_idYesTrip-city association ID returned by trip_cities_list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the mutation profile is known. The description adds a genuinely useful side-effect boundary — that the shared city catalog record is never edited — which annotations cannot express and which guards against a plausible catastrophic misunderstanding.

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?

Two short sentences with zero waste; the action is front-loaded and the scoping caveat follows. Nothing could be removed without losing information.

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 5-parameter, 2-required mutation tool with fully documented schema and no output schema, the description plus annotations cover the essentials. It stops short of covering prerequisites, failure modes (e.g. ambiguous city_name), or whether the association's other fields survive the swap.

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 city_id/city_name either-or logic, country disambiguation, and the trip_city_id provenance are all fully documented in the schema. The description adds no parameter meaning beyond that, so the baseline 3 applies.

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: 'Replace one trip-city association with another city.' This is clearly distinguishable from the add/remove/reorder siblings in concept. It does not name those siblings directly, so the agent must infer the boundary from the verb alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The word 'replace' implies this is for changing an existing association rather than creating one, but no when-to-use condition, prerequisite, or alternative (trip_city_add, trip_city_remove) is stated. The agent gets no explicit routing 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.

Resources