Skip to main content
Glama

Set Template Visibility

set_template_visibility
DestructiveIdempotent

Switch a template between personal <-> company-shared. Params: id (uuid) + body { visibility: personal|org }. org only for a company owner/manager. Only changes who can see it INSIDE your own Your Next Tours company workspace; nothing becomes public and nothing is sent outside the account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
bodyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
cityNo
nameNo
tagsNo
regionNo
statusNo
countryNo
guideIdNo
categoryNo
languageNo
tourTypeNo
createdAtNoISO 8601 timestamp
isCuratedNo
updatedAtNoISO 8601 timestamp
tourFormatNo
visibilityNo
descriptionNo
publishedAtNoISO 8601 timestamp
adoptionCountNo
broadcastModeNo
collectibleIdNo
coverImageUrlNo
organizationIdNo
routerProfileIdNo
sourceTemplateIdNo
estimatedDurationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / adoptionCount / type
      Previous value: -[
      -  "number",
      -  "string"
      -]New value: +[
      +  "number",
      +  "string",
      +  "null"
      +]
  2. First observed

TDQS

A4.4/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, but the description adds value beyond them by disclosing that the change is confined to the company workspace, that nothing becomes public, and that nothing leaves the account. It does not explain why the operation is flagged destructive (e.g., whether existing viewers lose access), leaving one meaningful gap.

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?

Three dense sentences with the action front-loaded, followed by params, then permission and blast-radius scope. No filler or repetition.

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?

An output schema exists so return values need no explanation, and annotations carry the safety profile. The description covers permissions and scope well, but omits what happens to current viewers when a template reverts to personal, which matters for a destructive-flagged mutation.

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?

With schema description coverage at 0%, the description compensates by naming both params and their shapes: id (uuid) and body { visibility: personal|org }. It partially duplicates the schema's format and enum constraints and never says explicitly that id is the template identifier, but it is enough for an agent to construct the call.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Switch a template between personal <-> company-shared'), which is a distinct operation from the sibling update_template. An agent can identify this as the visibility-toggle tool without opening the schema.

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

Usage Guidelines4/5

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

Provides a clear permission precondition ('org only for a company owner/manager') that gates the operation. It does not name an alternative tool or explicitly state when-not to use it, but the scope clarification covers the main selection ambiguity.

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