Skip to main content
Glama

contaazul_person_write_update

Cria ou atualiza uma pessoa. action=create: requer nome, tipo_pessoa e (cpf|cnpj) — passe os campos via data (JSON). action=update: requer id e APENAS os campos a alterar em data (JSON) — é update PARCIAL: o resto do cadastro fica intacto e campo que o registro não tem NÃO é exigido (dá pra trocar só o email). Enums de escrita: tipo_pessoa = Física|Jurídica|Estrangeira; perfis = [{"tipo_perfil":"Cliente"|"Fornecedor"|"Transportadora"}] (variações de caixa/acento são normalizadas). Único campo fora do update parcial é outros_contatos: mudá-lo obriga a substituição integral do cadastro, e aí o Conta Azul exige codigo, data_nascimento, observacao, telefone_celular e telefone_comercial preenchidos — o erro retornado diz qual falta; inclua-o no data.

[Flattened action: update]

Bulk support: accepts ids for batched execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
idsNo
dataYes
accountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / properties / account / description
      Removed value: -"Quando o install tem mais de uma empresa Conta Azul: company_id, label, ou parcial. Ver contaazul_list_accounts."
    • removedInput schema / properties / data / description
      Removed value: -"Payload completo da pessoa em JSON"
    • removedInput schema / properties / id / description
      Removed value: -"Necessário para update"
    • removedInput schema / properties / ids / description
      Removed value: -"Bulk mode: multiple values for id"
    • removedInput schema / properties / ids / items / description
      Removed value: -"Necessário para update"
  2. First observed

TDQS

B3/5.0
Behavior4/5

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

The description adds valuable behavioral detail beyond annotations: partial updates preserve untouched fields, `outros_contatos` forces a full replacement, required fields for that replacement are listed, error messages identify missing fields, and enum casing/accent variations are normalized. The create/update contradiction lowers the score, but for the update path the behavior is disclosed thoroughly.

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?

The description is dense and generally organized, but it is quite long and includes a create branch that appears irrelevant to this update-only tool. The '[Flattened action: update]' note adds redundancy/confusion rather than clarity. Several sentences earn their place for the update semantics, but the overall structure could be tighter.

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 an update operation it covers partial-update behavior, enum values, the `outros_contatos` special case, required replacement fields, error hints, and bulk execution. Missing pieces include the `account` parameter, any return value/output description (no output schema exists), and a clear statement that this tool is update-only despite the create instructions.

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?

With 0% schema description coverage, the description compensates by explaining `id` as the update key, `ids` as bulk support, and `data` as a JSON object with specific required contents. However, `account` is never explained, the actual JSON structure of `data` is incomplete, and the `action=create|update` parameter doesn't exist in the schema.

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 'Cria ou atualiza uma pessoa', which is a clear verb+resource, but the tool name `contaazul_person_write_update` and the embedded '[Flattened action: update]' note indicate this is update-only. Including a full `action=create` branch muddles the scope and overlaps with the sibling `contaazul_person_write_create`.

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

Usage Guidelines2/5

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

The update path is well explained: `id` plus only changed fields in `data`, with partial-update semantics and the `outros_contatos` exception. However, the description instructs callers to use `action=create` on what appears to be the update-flattened tool, and it never routes agents to `contaazul_person_write_create` for creation. This makes the when-to-use guidance misleading.

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.