Skip to main content
Glama

Vincular canal a monitores

vincular_canal
Idempotent

Liga um canal de alerta a monitores: quando um deles cair ou voltar, o alerta sai por esse canal. Use depois de criar_canal (o canal nasce sem monitores) ou pra passar a avisar um canal existente. Só mexe em quem é avisado: o que aparece na status page é configurar_status_page/estruturar_pagina. monitorIds é uma lista de ids (de listar_monitores) ou "all" pra todos os monitores de hoje (monitor criado depois não entra sozinho). Soma aos vínculos que já existem; repetir não duplica. Devolve os monitores vinculados agora.

Input Schema

NameRequiredDescriptionDefault
idYesid do canal (campo `id` de listar_canais).
monitorIdsYesLista de ids de monitor ou "all".

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: it discloses additive merge semantics ('Soma aos vínculos que já existem; repetir não duplica'), reinforcing idempotentHint with concrete behavior. It also scopes the operation ('Só mexe em quem é avisado') and explains the 'all' snapshot semantics, which annotations cannot express.

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?

The purpose is front-loaded in the first clause, and each following sentence carries distinct, useful information (sequencing, scoping, param semantics, return). It is information-dense but slightly run-on in a few places, keeping it just short of pristine.

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?

With no output schema, the description correctly states the return ('Devolve os monitores vinculados agora'), and it covers usage sequencing, exclusions, idempotent add behavior, and parameter sources. Nothing an agent needs to invoke it 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, but the description adds real meaning: it explains where each id comes from (id from listar_canais, monitorIds from listar_monitores) and clarifies that 'all' means all of today's monitors, with a monitor created later not joining automatically—a nuance the schema does not convey.

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 ('Liga um canal de alerta a monitores') and immediately describes the effect: alerts route through the channel when monitors go down or come back. It also distinguishes itself from siblings that touch the status page (configurar_status_page/estruturar_pagina), so an agent can tell it apart without opening schemas.

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?

Explicit sequencing guidance: 'Use depois de criar_canal (o canal nasce sem monitores) ou pra passar a avisar um canal existente.' It names the prerequisite tool and the two situations that select this tool, plus an exclusion that redirects to the correct sibling for status-page display.

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