Skip to main content
Glama

Escrever texto do passo com IA

generate_step_text

A IA do GuiaFlow olha a captura do passo (e o contexto do tour) e escreve título e texto do balão; grava no passo (save:false só sugere). Usa 1 texto da cota mensal do Pro (100/mês). Com narrationScript:true também escreve o roteiro da narração (exceto em passo com vídeo, que não tem narração). Com a captura, também sugere o texto alternativo (alt) e o grava se o passo ainda não tiver um.

Input Schema

NameRequiredDescriptionDefault
saveNoGravar no passo (padrão true).
stepIdYes
tourIdYesid do tour (de create_tour ou list_tours).
languageNoIdioma do texto (padrão pt-BR).
useImageNoMandar a captura para a IA (padrão true).
instructionsNoPedido extra (tom, público, o que destacar).
narrationScriptNoTambém escrever o roteiro da narração.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true), the description discloses high-value behavior: it consumes one monthly Pro quota credit (100/month), save=false returns a suggestion without writing, alt text is only written when the step lacks one, and video steps get no narration. It stops short of saying whether save=true overwrites existing title/text.

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 front-loaded paragraph that opens with the core action and then layers the quota, save, narration and alt caveats. It is dense but every clause carries information; the long compound sentences cost it a point versus a crisper structure.

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 generation tool with no output schema, the description covers the mutation semantics, quota cost and conditional writes that an agent needs. It does not describe what a save=false call returns, which is the main remaining gap.

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?

Schema coverage is already 86%, so the baseline is 3; the description adds real semantics on top — the side effect of the save flag ('só sugere'), the conditional alt behavior, and the video-step exception that governs narrationScript. It leaves useImage and instructions with only what the schema already says.

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?

The description uses a specific verb+resource ('escreve título e texto do balão' a partir da captura do passo) and makes clear it is an AI generation tool distinct from update_step/add_step. It overlaps with the sibling generate_narration by noting narrationScript, but never names that sibling or tells the agent when to prefer it over this one.

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?

Usage is implied rather than prescribed: 'a IA olha a captura e escreve' tells the agent the scenario, and 'save:false só sugere' hints at a preview mode. However, there is no explicit when-to-use/when-not framing and no routing away from generate_narration or update_step, so the agent must infer the boundaries.

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