Skip to main content
Glama

TreinoAI

Ligar ou desligar o agente de atendimento

ligar_agente_de_atendimento
DestructiveIdempotent

Liga ou desliga o agente. Ligado, ele passa a responder os clientes e interessados do time. Na primeira vez, passa 3 dias só escrevendo rascunhos que o treinador envia com um toque, a menos que pular_rascunhos seja true. Só liga com as perguntas obrigatórias respondidas e aprovadas. Ligar chega aos clientes, então cada chamada precisa da confirmação do treinador.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ligado": "<ligado>"
    },
    "name": "ligar_agente_de_atendimento"
  }
}

Input Schema

NameRequiredDescriptionDefault
ligadoYes
pular_rascunhosNotrue para responder direto, sem os 3 dias de rascunhos. Só se o treinador pedir.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true; the description goes beyond by disclosing the 3-day draft-only period on first activation, the pular_rascunhos escape hatch, the approval prerequisite, and the fact that activating reaches real clients and needs trainer confirmation. It does not say what happens on deactivation (whether in-flight drafts or pending replies are discarded), which is the main remaining behavioral gap for a destructive toggle.

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?

Five short sentences, front-loaded with the core action, then prerequisites and side effects in a logical order. Each sentence carries distinct information with no filler, though the confirmation and client-reach points could be merged without loss.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, idempotent toggle with no output schema, the definition covers preconditions, first-activation behavior, the override parameter, and confirmation requirements. Missing only the deactivation semantics and possible error/permission outcomes, which prevents a 5.

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 50%, with pular_rascunhos documented in the schema but ligado undocumented there. The description compensates by explaining the semantics of both: ligado implies on/off plus the client-facing consequence, and pular_rascunhos is framed as skipping the 3-day draft phase only when the trainer asks. That adds decision-relevant meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 agente', with the follow-on effect ('passa a responder os clientes e interessados do time'). An agent can immediately tell this is the on/off toggle rather than a configuration edit. It does not explicitly contrast with siblings such as alterar_agente_de_atendimento or testar_agente_de_atendimento, so it stops short of a 5.

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 real preconditions: mandatory questions must be answered and approved before turning on, and 'cada chamada precisa da confirmação do treinador' before reaching clients. These are actionable usage constraints. It lacks explicit when-not guidance or named alternatives for non-toggle operations.

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