Skip to main content
Glama

Modo de exibição

set_display_mode
Idempotent

Define como o tour é mostrado: mode "guided" (tour guiado) ou "gallery" (galeria de fotos: imóveis, veículos, produtos, catálogos), o botão fixo do WhatsApp (stickyWhatsAppFromStep, usa o número do set_end_cta) e os nomes das cenas (sceneNames, viram as seções da galeria). Só muda os campos enviados. O passo inicial (lead) e o cartão final continuam nos dois modos. No editor fica em ⚙ → Modo de exibição.

Input Schema

NameRequiredDescriptionDefault
modeNoModo de exibição. "guided" (padrão): tour guiado com balões, destaques, avanço automático e narração. "gallery": galeria de fotos em tela cheia (imóveis, veículos, produtos, catálogos): arrastar ou setas, contador "N de M", legenda de uma linha com "Detalhes", zoom (plantas, detalhes), seções pelos nomes das cenas, miniaturas, vídeo só no clique. Na galeria não há balões, destaques, avanço automático nem narração.
tourIdYesid do tour (de create_tour ou list_tours).
sceneNamesNoNome de cada cena, pelo número usado em scene no add_step: {"1": "Fachada", "2": "Lazer", "3": "Plantas"}. Texto puro, até 40 caracteres; "" apaga o nome.
stickyWhatsAppFromStepNoMostra um botão fixo "WhatsApp" a partir deste passo (1 = primeiro). 0 desliga. Só aparece com o CTA final de WhatsApp ligado (set_end_cta).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / mode / description
      Previous value: -"Modo de exibição. \"guided\" (padrão): tour guiado com balões, destaques, avanço automático e narração. \"gallery\": galeria de fotos em tela cheia (imóveis): arrastar ou setas, contador \"N de M\", legenda de uma linha com \"Detalhes\", zoom (plantas), seções pelos nomes das cenas, miniaturas, vídeo só no clique. Na galeria não há balões, destaques, avanço automático nem narração."New value: +"Modo de exibição. \"guided\" (padrão): tour guiado com balões, destaques, avanço automático e narração. \"gallery\": galeria de fotos em tela cheia (imóveis, veículos, produtos, catálogos): arrastar ou setas, contador \"N de M\", legenda de uma linha com \"Detalhes\", zoom (plantas, detalhes), seções pelos nomes das cenas, miniaturas, vídeo só no clique. Na galeria não há balões, destaques, avanço automático nem narração."
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare idempotent=true, destructive=false, and non-readonly, so the safety profile is covered. The description adds genuinely new behavior: partial-update semantics ('Só muda os campos enviados'), which elements persist across modes (initial lead step and final card), and the cross-tool dependency on set_end_cta for the sticky button.

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?

One dense paragraph that front-loads the core action and mode meanings before the persistence note. It is a bit run-on and the trailing editor-location hint ('⚙ → Modo de exibição') is UI trivia that doesn't help an agent invoke the tool, but overall little is wasted.

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

Completeness5/5

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

For a 4-param mutation with no output schema and full annotation coverage, the description supplies mode semantics, partial-update behavior, preserved elements, and the set_end_cta prerequisite. An agent has everything needed to call it correctly without further lookup.

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 100% schema coverage the baseline is 3, but the description adds value beyond the schema: sceneNames become gallery sections, stickyWhatsAppStep borrows the number configured in set_end_cta, and the mode choice changes which UI features exist (no balloons/narration in gallery). Only 'tourId' is left entirely to the schema, which is appropriate.

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+resource (defines how the tour is displayed) and covers all three configurable facets: mode (guided/gallery), the sticky WhatsApp button, and scene names. The scope sentence 'Só muda os campos enviados' plus 'O passo inicial (lead) e o cartão final continuam nos dois modos' makes clear what this tool does and does not control, distinguishing it from set_end_cta and set_theme.

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?

It explains what each mode is for (guided tour vs full-screen photo gallery for properties/vehicles/products/catalogs) and states the prerequisite that stickyWhatsAppFromStep only shows when the final WhatsApp CTA is enabled via set_end_cta. It doesn't explicitly say when to prefer this over set_theme or set_end_cta, but the context is clear enough to select it.

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