Skip to main content
Glama

Tá Rodando

Estruturar status page

estruturar_pagina
Idempotent

Põe monitores em seções da status page — o "Salvar estrutura" do painel. Recebe a estrutura INTEIRA: a lista ordenada de seções, cada uma com os ids (de listar_monitores) dos monitores na ordem em que aparecem. Seção que já existe é reconhecida pelo id ou, sem id, pelo nome (pra renomear, mande o id com o nome novo); seção que não vier é apagada; monitor que não estiver em nenhuma seção volta a privado (checa e avisa o time, sem aparecer na página). A estrutura atual está em listar_monitores (section e statusPage). Tudo ou nada: com seção sem nome, nomes repetidos, a mesma seção duas vezes ou id desconhecido, nada é gravado (invalid_structure). Sem status page, devolve no_page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sectionsYesSeções na ordem da página. Lista vazia tira todos os monitores da página.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond annotations: describes that omitted sections are deleted, that monitors outside any section revert to private, that the operation is all-or-nothing with a named error (invalid_structure), and that it returns no_page when no status page exists. Annotations only say it is non-read-only, idempotent, and non-destructive – the description adds critical lifecycle and failure semantics.

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?

Front-loads the core action, then details the full-replacement semantics and error cases. Some sentences are dense (the id/name/rename rules), but all earn their place; a small amount of repetition (structure source mentioned twice) keeps it just under 5.

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?

Covers the input source, replacement semantics, deletion behavior, rename mechanism, monitor visibility side-effect, validation failure mode, and no-page case. Given no output schema and 100% schema coverage, nothing an agent needs to call this correctly is missing.

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 100%, so baseline is 3. The description adds value by explaining the semantics of the single 'sections' parameter: ordered list, each section keyed by id or name, rename via id+new name, and that empty list clears the page. It doesn't add format beyond the schema (e.g., maxItems limits) but the behavioral tie-in is useful.

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 ('Põe monitores em seções da status page') and distinguishes it from siblings by describing it as the panel's 'Salvar estrutura' action. An agent can tell it apart from configurar_status_page and listar_monitores 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 Guidelines5/5

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

Explicitly says it receives the ENTIRE structure, tells where the current structure lives (listar_monitores with section/statusPage), and notes that anything not present is deleted. This is unambiguous when-to-use and how-to-get-inputs guidance.

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