Skip to main content
Glama
WACrew: WhatsApp AI automation

WACrew: WhatsApp AI automation

anotar

Saves a private mini-CRM note for a WhatsApp chat, replacing the prior note; store agreements, contacts, or client preferences not in messages. An empty note deletes it.

Instructions

Grava a nota livre (mini-CRM) de um chat, SUBSTITUINDO a anterior por inteiro: pra acrescentar, leia antes com 'ler_notas'. Use pra contexto que não está nas mensagens (combinados, contatos, preferências do cliente). Fica só no painel, o cliente não vê. Nota vazia apaga.

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": {
      "grupo": "<grupo>",
      "nota": "<nota>"
    },
    "name": "anotar"
  }
}

Input Schema

NameRequiredDescriptionDefault
notaYestexto da nota; vazio remove a entrada
grupoYesslug do grupo (de listar_grupos)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the critical trait: the write is a full replacement, not a merge ("SUBSTITUINDO a anterior por inteiro"), and an empty note deletes the entry. It also states a privacy consequence ("Fica só no painel, o cliente não vê"). It stops short of permissions/authorization or what happens if no prior note exists.

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

Conciseness5/5

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

Front-loads the highest-risk fact (full replacement), then the workaround, then use case, then the invisible-to-client detail. Every clause carries either a routing decision or a safety consequence; nothing is filler.

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 2-parameter mutation tool with no annotations and no output schema, the definition covers overwrite semantics, deletion, routing, and visibility. What is missing is modest: error/creation behavior when the chat has no existing note, and any authorization requirement.

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 baseline is 3, but the description adds real meaning about how 'nota' is interpreted: it replaces wholesale rather than appending, which changes how an agent must compose the value. The empty-string-deletes behavior is largely duplicated from the 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 and resource ("Grava a nota livre (mini-CRM) de um chat") and immediately distinguishes itself from the sibling read tool by naming 'ler_notas' as the append path. An agent can tell overwrite-note from read-note without opening either schema.

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

Usage Guidelines5/5

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

Explicit when-to-use is given ("contexto que não está nas mensagens (combinados, contatos, preferências do cliente)") plus the alternative for the append case (read first with 'ler_notas'). The deletion case ("Nota vazia apaga") is also stated, so the main branch points are all covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.