Skip to main content
Glama

Editar passo

update_step
Idempotent

Altera um passo (só os campos enviados). Pode trocar a imagem, o destaque, o clique, os textos, a posição ou o vídeo (video: link do YouTube/Vimeo; null tira).

Input Schema

NameRequiredDescriptionDefault
altNoTexto alternativo da captura para leitor de tela (WCAG 1.1.1). Vazio: o player usa título + texto do balão.
textNoTexto do balão (curto, 1–2 frases; no slide, o corpo do cartão). Aceita formatação leve: **negrito**, *itálico*, ++sublinhado++ e linhas começando com "- " (lista de 1 nível); nada de HTML nem links. Um "*" solto fica literal.
typeNoscreen = captura com destaque (padrão); slide = cartão de texto sem imagem.
clickNoPonto do clique em fração da imagem (0..1). Fica sempre dentro do destaque (é ajustado se cair fora). Só com click (sem highlight) o destaque vira 14%×8% em volta.
imageNoA captura de tela: exatamente um de mediaId (de upload_media), url (https pública) ou base64 (PNG/JPEG/WebP/GIF, até 15 MB). Prefira upload_media + mediaId para arquivos locais.
labelNoNome do passo na lista do editor (padrão: o título).
sceneNoCena (agrupa passos no editor).
titleNoTítulo do balão.
videoNoLink de um vídeo do YouTube ou do Vimeo (watch, youtu.be, shorts, embed, vimeo.com/ID, player.vimeo.com). Só o link fica no tour: nada é enviado. Sem image, a capa do vídeo é baixada e vira a imagem do passo (com image, ela é a capa). O passo ocupa a tela toda (highlight e click são ignorados) e o player só carrega o YouTube/Vimeo quando o visitante clica no play. null tira o vídeo.
stepIdYes
tourIdYesid do tour (de create_tour ou list_tours).
positionNoÍndice onde inserir/mover (0 = primeiro). Padrão: no fim.
highlightNoRetângulo do destaque em fração da imagem (0..1): x,y = canto superior esquerdo; width,height = tamanho. Ex.: botão em (0.62, 0.08) com 0.12×0.05.
popoverSideNoLado do balão em relação ao destaque.
popoverAlignNo
altDecorativeNotrue = captura decorativa (alt vazio). Use só quando a imagem não traz informação.
simulateClickNoMostra a animação de clique no player (padrão true).
narrationScriptNoRoteiro da narração/legenda deste passo (opcional).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / text / description
      Previous value: -"Texto do balão (curto, 1–2 frases)."New value: +"Texto do balão (curto, 1–2 frases; no slide, o corpo do cartão). Aceita formatação leve: **negrito**, *itálico*, ++sublinhado++ e linhas começando com \"- \" (lista de 1 nível); nada de HTML nem links. Um \"*\" solto fica literal."
  2. Changed1 schema field changed
    • addedInput schema / properties / video
      Added value: +{
      +  "description": "Link de um vídeo do YouTube ou do Vimeo (watch, youtu.be, shorts, embed, vimeo.com/ID, player.vimeo.com). Só o link fica no tour: nada é enviado. Sem image, a capa do vídeo é baixada e vira a imagem do passo (com image, ela é a capa). O passo ocupa a tela toda (highlight e click são ignorados) e o player só carrega o YouTube/Vimeo quando o visitante clica no play. null tira o vídeo.",
      +  "maxLength": 500,
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / alt
      Added value: +{
      +  "description": "Texto alternativo da captura para leitor de tela (WCAG 1.1.1). Vazio: o player usa título + texto do balão.",
      +  "maxLength": 300,
      +  "type": "string"
      +}
    • addedInput schema / properties / altDecorative
      Added value: +{
      +  "description": "true = captura decorativa (alt vazio). Use só quando a imagem não traz informação.",
      +  "type": "boolean"
      +}
  4. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover mutation, idempotency and non-destructiveness. The description adds genuinely useful behavior beyond them: only the sent fields are changed (true partial update, not replace), and video=null removes the video. It does not mention side effects such as image download/cover generation or that video disables highlight/click (that detail lives only in the schema).

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, zero waste, with the partial-update constraint and the video null behavior front-loaded where an agent will read them first.

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?

With 18 parameters and no output schema, the description gives enough to call it correctly: what can change, that omitted fields are preserved, and the video null case. Missing only cross-parameter interactions (video overriding highlight/click, image-becomes-cover) which are buried in the schema rather than surfaced.

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 89%, so parameters are already well documented, including the video null-removal and image source rules. The description lists the changeable field groups, which is a helpful map over 18 parameters, but adds no semantics beyond the schema. Baseline 3 is appropriate.

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 ("Altera um passo") and enumerates the mutable surface: image, highlight, click, texts, position, video. That distinguishes it from add_step/delete_step/reorder_steps even without naming them. It stops short of explicitly differentiating from the siblings by name.

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?

"só os campos enviados" signals partial-update semantics and implies this is the tool for editing an existing step rather than adding one, but no when-to-use condition or alternative is stated explicitly. Usage is inferable rather than guided.

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