Skip to main content
Glama

Tá Rodando

Criar canal de alerta

criar_canal

Cria um canal por onde o time recebe o alerta de monitor caiu/voltou. kind email recebe um endereço; slack, discord, google_chat e webhook recebem a URL do webhook (tem que ser pública). kind telegram não leva target: o canal volta com connected: false, um connectUrl (chat pessoal) e um connectGroupUrl (grupo do time); o canal só recebe alertas depois que alguém abre um desses links no Telegram e toca em Começar (ou escolhe o grupo), e aí listar_canais mostra connected: true. O link vale 24 h; depois disso, o canal precisa ser apagado e criado de novo. O canal nasce sem monitores (vínculo por vincular_canal). Máximo de 20 canais por conta.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYesTipo do canal: email, slack, discord, google_chat, webhook ou telegram.
labelNoNome do canal no painel (ex.: #alertas).
targetNoDestino: email (ex.: time@exemplo.com.br) ou URL https do webhook. Obrigatório, menos no telegram (ignorado).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (which only mark it non-readonly, non-idempotent, non-destructive). It discloses the telegram asynchronous connection state (connected:false plus connectUrl/connectGroupUrl), the 24h link validity and the delete-and-recreate workaround, that the channel starts with no monitors, and the 20-channel cap – all material operational behavior.

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 and every sentence carries operational weight (telegram flow, link expiry, monitor linkage, account cap). It is a single dense paragraph with some long clauses, but nothing is filler, so waste is minimal.

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?

There is no output schema, so the description correctly compensates by describing the telegram return shape (connected:false, connectUrl, connectGroupUrl) and how connected:true appears in listar_canais. Combined with the limits and linkage notes, it is complete enough for an agent to call the tool correctly.

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 the baseline is 3, but the description adds real meaning: it maps each kind to its expected target (email address vs public webhook URL) and explains that telegram ignores target. That kind-to-target mapping is more than the schema states, though it does not add format/syntax detail for target itself.

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 ('Cria um canal por onde o time recebe o alerta de monitor caiu/voltou'), making the outcome immediately clear. It also names lifecycle siblings (vincular_canal for linkage, listar_canais for status), so an agent can distinguish this create tool from the related ones.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Gives strong context on when and how the tool is used: monitors are linked separately via vincular_canal, the 20-channel-per-account cap, and the telegram flow that requires the channel to be recreated after the 24h link expires. It stops short of an explicit 'use X instead of Y' routing statement, so it is clear context rather than full alternative 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