Skip to main content
Glama

Set agent menu

set_agent_menu
DestructiveIdempotent

Liga ou desliga o menu de setores: na primeira mensagem de uma conversa nova, o Radar manda a pergunta com um botão por agente (exceto o de entrada) antes da IA responder. Até 3 agentes viram botões; de 4 a 10, lista. Quem toca vai direto para aquele agente; quem escreve em vez de tocar é atendido pelo agente de entrada. Precisa de pelo menos 2 agentes além do de entrada. O texto de cada botão vem de update_agent_profile.botao.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_agent_menu"
  }
}

Input Schema

NameRequiredDescriptionDefault
ligadoNo"sim" liga o menu
perguntaNoTexto que vai acima dos botões (até 900). Vazio = "Olá! Para te atender mais rápido, com qual setor você quer falar?"
target_user_idNo(Só o admin da plataforma) userId da conta a operar

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true; the description adds real behavioral context by explaining the end-user effect (buttons vs. list at 3 vs. 4-10 agents, tap-through routing, free-text fallback to the entry agent). Gaps remain: it never says what happens above 10 agents, nor what turning the menu off does to a stored 'pergunta', which matters given the destructive hint.

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-loaded with the on/off purpose, then layered with the effect, the button-count thresholds and the prerequisite — all of which earn their place. It is a dense single paragraph of six sentences, slightly long, but no sentence is filler.

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?

For a 3-parameter toggle with full schema coverage, no output schema and annotations covering the safety profile, the description supplies everything needed to call it correctly: effect, prerequisite, thresholds, and where button labels come from. The remaining unknowns (behavior above 10 agents, reset semantics) are edge cases rather than blockers.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and each parameter carries its own description, so the baseline is 3. The description adds no semantics for 'ligado', 'pergunta' or 'target_user_id'; its only parameter-adjacent note ('O texto de cada botão vem de update_agent_profile.botao') concerns a different tool's field rather than this schema.

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 pair and resource ('Liga ou desliga o menu de setores') and immediately describes the concrete effect on a new conversation. It also points to the sibling that supplies the button labels (update_agent_profile.botao), so the agent can place this tool in the agent-configuration family without opening other schemas.

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 the triggering context (first message of a new conversation) and a hard prerequisite ('Precisa de pelo menos 2 agentes além do de entrada'), which tells the agent when the call will be meaningful. There is no explicit when-not guidance or named alternative for configuring the menu elsewhere, so it stops short of full routing 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