Skip to main content
Glama

Atualizar memoria bots

atualizar_memoria_bots
Destructive

Salva notas comuns. Leia primeiro e preserve notas relevantes. Em 409, releia e concilie as alterações. Exige chave da conta ou organização e conexão autorizada pelo administrador em Bots. Retenção segue a escolha do espaço. Requer conexão autorizada. Envie a versao lida por consultar_bots; mudança concorrente retorna 409. Não muda a política de gravação.

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": {
      "texto": "<texto>",
      "versao": "<versao>"
    },
    "name": "atualizar_memoria_bots"
  }
}

Input Schema

NameRequiredDescriptionDefault
textoYesNotas completas, até 4.000 caracteres.
versaoYesVersão lida antes da edição.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare non-readonly, non-idempotent, destructive; the description goes well beyond that by disclosing optimistic concurrency (409 on concurrent change), the required account/organization key, and that the connection must be authorized by the administrator in Bots. It also signals replacement semantics indirectly ("preserve notas relevantes" — omitted notes are lost) and that retention follows the space's setting. The replacement/overwrite effect could be stated outright rather than inferred.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Information is front-loaded poorly: the opening sentence is the vaguest part while the operationally important authorization constraint is buried mid-paragraph. Redundancy is visible — authorization is stated twice ("Exige chave da conta ou organização e conexão autorizada…" then "Requer conexão autorizada") and the 409 behaviour is repeated in two separate sentences.

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, non-idempotent write with no output schema, the description covers permissions, conflict recovery, version provenance and retention policy, which is most of what an agent needs. Gaps remain around the exact overwrite/delete effect on prior notes and what a successful call returns, but these are secondary relative to the supplied annotations.

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 both fields are already documented, but the description adds real meaning to "versao": it must be the value read via consultar_bots and a mismatch yields a 409 conflict. That ties the parameter to a concrete source and failure mode beyond the schema's "Versão lida antes da edição". "texto" semantics are left to the schema, which is acceptable at full coverage.

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

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with "Salva notas comuns", which conveys a write to shared notes but never states plainly that it replaces the bot's memory notes wholesale — a critical point given destructiveHint=true. It does scope the tool by exclusion ("Não muda a política de gravação"), yet the verb+resource pairing stays generic compared with siblings such as configurar_bot or registrar_resultado_bot.

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?

Concrete workflow guidance is present: read first, preserve relevant notes, send the version obtained from consultar_bots, and on a 409 re-read and reconcile. A sibling is named as the prerequisite reader and a scope exclusion is given. No explicit statement of when this tool should be skipped in favour of another writer, which keeps it below a 5.

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