Skip to main content
Glama

Set Tour Image

set-tour-image
Destructive

Set or remove the image of a tour (JPEG, PNG, WebP or AVIF, at most 20 MB).

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": "set-tour-image"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoPublic http(s) URL to download the image from, instead of an upload_id.
tourYesId of the tour, see list-tours.
removeNotrue to remove the image instead of setting one.
upload_idNoID of the image, uploaded with an upload link (see create-upload-link and list-uploads).
audioguideYesSlug of the audioguide, see list-audioguides.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds genuinely useful constraints (accepted formats JPEG/PNG/WebP/AVIF, 20 MB cap) that the annotations cannot express, but it does not say that setting overwrites an existing image or whether removal is permanent.

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 front-loaded sentence with the resource first and constraints in parentheses; no filler. It is short enough that the omission of overwrite/removal behavior reads as a gap rather than clutter.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with two input paths (url or upload_id) and a removal mode, the format/size limits help, but the description leaves out what happens to an existing image and whether removal can be undone. Adequate, not complete.

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 the url-vs-upload_id alternative and the remove flag are already documented in the schema. The description's format and size limits apply to the payload rather than adding meaning to specific parameters, so 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 pair and resource: 'Set or remove the image of a tour.' The resource (tour image) is enough to separate it from siblings like set-branding-image and add-station-image, but it never names an alternative explicitly.

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?

Implies usage through the dual verbs set/remove and the file-format constraints, but gives no guidance on when to pick this over the sibling image tools or on prerequisites such as having uploaded the image first.

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