Skip to main content
Glama

Estruturar status page

estruturar_pagina
Idempotent

Reorganiza a status page inteira: seções, ordem e quais monitores aparecem em cada uma — o "Salvar estrutura" do painel. Use pra montar ou reorganizar várias seções de uma vez, renomear seção ou tirar monitores da página. Pra pôr ou trocar um único monitor de seção, atualizar_monitor com section é mais simples; nome, endereço e links da página são configurar_status_page. 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

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 the annotations by disclosing real side effects: sections not included are deleted, monitors left in no section become private, the operation is all-or-nothing, and specific failure codes are returned (invalid_structure, no_page). It also points to listar_monitores as the source of the current structure. (Note: the deletion/reassignment semantics sit in mild tension with destructiveHint=false, but the effects are irreversible only at the page-config level and are fully disclosed, so the agent is not misled.)

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?

Purpose and alternatives are front-loaded in the first two sentences with no filler, and each remaining clause carries needed rules. It is a dense single block, though, and would read better as structured points given the number of distinct rules it packs in.

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?

No output schema exists, and the description compensates by naming the error outcomes (invalid_structure, no_page) and the all-or-nothing guarantee. Combined with the 100%-covered input schema, an agent has everything needed to build a valid payload and interpret failures.

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 description coverage is already 100%, so the schema baseline is met. The description still adds semantics beyond it: the ordered-list shape, id-vs-name matching for existing sections ('reconhecida pelo `id` ou, sem id, pelo nome'), and the empty-list meaning, all of which clarify how `sections` behaves.

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 with scope: 'Reorganiza a status page inteira: seções, ordem e quais monitores aparecem em cada uma'. It explicitly contrasts itself with siblings ('atualizar_monitor com `section` é mais simples; nome, endereço e links da página são configurar_status_page'), so an agent can distinguish it without reading any 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?

Gives explicit when-to-use conditions ('montar ou reorganizar várias seções de uma vez, renomear seção ou tirar monitores da página') and names the alternatives with the exact condition that selects them (single monitor reassignment → atualizar_monitor with `section`; page name/address/links → configurar_status_page).

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