Skip to main content
Glama

TreinoAI

Alterar o agente de atendimento

alterar_agente_de_atendimento
DestructiveIdempotent

Altera o perfil do treinador que o agente apresenta (nome, CREF, especialidades, cidade, como atende, sobre), os planos que ele pode oferecer e o nome, o tom e o horário do treinador. Mande só o que muda; o resto fica como está. Nada chega aos clientes até o agente responder a próxima conversa.

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": "alterar_agente_de_atendimento"
  }
}

Input Schema

NameRequiredDescriptionDefault
jeitoNoSó os campos que mudam.
perfilNoSó os campos que mudam.
planos_oferecidosNoA lista completa dos produto_id que o agente pode oferecer (substitui a atual). Os planos e seus ids vêm de ver_agente_de_atendimento.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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, but the description adds two pieces of context the schema cannot: partial-update behavior (unsent fields are preserved) and the staging detail that 'nada chega aos clientes até o agente responder a próxima conversa', i.e. changes only surface on the next conversation. It still does not say whether the plan list replacement is recoverable or what is returned, but the behavioral picture is materially richer than the annotations alone.

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?

Three sentences, front-loaded with what changes, then how to send it, then when it takes effect — a logical order with no filler. The first sentence's long parenthetical largely restates the schema property list, which is the only real redundancy.

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

Completeness3/5

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

For a 3-parameter, all-optional, nested mutation tool with no output schema, the description covers the mutation scope, partial-update rule and effect timing, which is most of what an agent needs. It is silent on what the call returns and on any failure/prerequisite conditions, which for a destructive write with no output schema would have been worth stating.

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 description coverage is 100%, with per-field descriptions including enum meanings and the note that '[] apaga' the schedule and that plan ids come from ver_agente_de_atendimento, so the schema already carries the semantics. The description echoes the field groups listed in the schema rather than adding format or constraint detail; the only added meaning is the 'só o que muda' rule, which is already implied by all-optional parameters.

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?

The description opens with a specific verb+resource ('Altera o perfil do treinador que o agente apresenta') and enumerates the three mutable groups (perfil, planos oferecidos, jeito/tom/horário), so the scope is immediately legible. It does not name any sibling (e.g. 'ver_agente_de_atendimento' for the current state, or ligar/desligar), so differentiation is left to the tool name rather than stated.

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

Usage Guidelines3/5

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

'Mande só o que muda; o resto fica como está' gives clear patch semantics for invocation, which is genuinely useful guidance. However there is no statement of when to prefer this tool over ligar/testar/ver_agente_de_atendimento, nor any prerequisite (e.g. the agent must already be configured), so alternatives are only implied by names.

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