Skip to main content
Glama

oportunidade_update

Atualiza campos de uma oportunidade (valor, observações, responsável, previsão). Não atualiza título — a UI usa nome do contato + #NN.

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": {
      "id": "<id>"
    },
    "name": "oportunidade_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
valorNo
observacoesNo
levar_conversaNoAo trocar o responsável: true leva junto a conversa do número da equipe, false mantém com quem atende. Sem o campo, a conversa vai junto só se ainda não foi respondida.
previsao_fechamentoNo
usuario_responsavel_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / levar_conversa
      Added value: +{
      +  "description": "Ao trocar o responsável: true leva junto a conversa do número da equipe, false mantém com quem atende. Sem o campo, a conversa vai junto só se ainda não foi respondida.",
      +  "type": "boolean"
      +}
  2. Added

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose genuinely behavioral detail beyond the schema: the tool is a mutation, and the título field is deliberately out of scope because the UI renders contact name + #NN. However it says nothing about permissions, whether unspecified fields are left untouched (partial vs full replace), what happens on a nonexistent id, or what is returned.

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?

Two tight sentences with no filler; the positive scope comes first and the exclusion follows as a caveat. Nothing is redundant. It could be marginally better front-loaded by stating partial-update semantics up front, but the brevity is appropriate.

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 six-parameter mutation with no annotations and no output schema, the description covers field scope and the key exclusion but leaves update semantics (patch vs replace), failure modes, and side effects like the conversa handoff unexplained. It is the minimum an agent needs to form the call, but not enough to predict behavior confidently.

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 only 17%, so the description must compensate, and it partially does by mapping friendly names to four of the six parameters (valor, observações, responsável, previsão). It omits any explanation of levar_conversa, the most behaviorally interesting parameter, though the schema itself documents that one richly. The result is partial compensation, not full.

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 and resource ('Atualiza campos de uma oportunidade') and enumerates the updatable fields (valor, observações, responsável, previsão). It further narrows scope by declaring what it does NOT do ('Não atualiza título'), which lets an agent distinguish it from a broader update. It stops short of naming a sibling it competes with, so 4 rather than 5.

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?

Usage is only implied: an agent can infer this is the write path for existing opportunities versus oportunidade_create. There is no explicit guidance on when to prefer this tool, no mention of preconditions (the opportunity must already exist), and no pointer to oportunidade_get for reading. Adequate but leaves selection to inference.

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