Skip to main content
Glama

Update Tour

update-tour
DestructiveIdempotent

Change a tour: its number, texts, whether it is the default tour, or its stations (the full list in visiting order). Only the given fields and languages change.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "audioguide": "<audioguide>",
      "tour": "<tour>"
    },
    "name": "update-tour"
  }
}

Input Schema

NameRequiredDescriptionDefault
tourYesId of the tour, see list-tours.
titleNoTitle. An object with one text per language code of the audioguide, e.g. {"de": "…", "en": "…"}. Only the given languages are changed, an empty text removes the translation.
numberNoNumber of the tour, sets the order of the tours.
stationsNoNumbers of the tour's stations in visiting order, e.g. ["1", "2", "5"]. Replaces the current stations.
audioguideYesSlug of the audioguide, see list-audioguides.
is_defaultNoWhether the app starts with this tour.
descriptionNoDescription. An object with one text per language code of the audioguide, e.g. {"de": "…", "en": "…"}. Only the given languages are changed, an empty text removes the translation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnly=false, so the safety profile is covered. The description adds real value on top by stating the merge semantics (only supplied fields and languages are altered, implying everything else is preserved), which is exactly the behavior an agent needs to reason about before a destructive partial write. It stops short of saying what the response looks like or what happens on invalid station numbers.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

A single dense sentence front-loads the mutation target and the field list, with the crucial merge-semantics clause last where it reads as a qualifier. The word 'texts' is a slightly vague umbrella for the title and description parameters, but nothing is wasted.

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 7-parameter destructive mutation with no output schema, the definition covers what changes, what is preserved, and that stations are replaced wholesale. Missing pieces are error behavior (e.g., unknown station numbers or language codes) and whether the updated tour is returned, but these are secondary given the annotation coverage.

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 coverage is 100%, so every parameter including the nested language-map objects is already documented. The description reinforces two points the schema also makes: that title/description are per-language text maps, and that stations is the complete ordered list rather than an append. That is marginal added meaning, 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?

Names a specific verb (change) plus resource (tour) and enumerates the editable facets: number, texts, default flag, and stations. It is clearly not a create/delete operation, though it never names a sibling such as update-texts or update-station to sharpen the boundary.

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 sentence 'Only the given fields and languages change' implies partial-update usage, so an agent can infer that omitted fields are left alone. However, there is no explicit guidance on when to use this versus update-texts for tour texts or update-station for station data, and no stated prerequisites.

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