Skip to main content
Glama

bsoft_pessoas_write_patch

Pessoas no Bsoft TMS (escrita: cria/atualiza/remove). ⚠️ Altera dados de PRODUÇÃO (o Bsoft não tem homologação). Passe resource, action e body (JSON). update/patch/delete exigem id; recursos aninhados exigem parent_id; create_lote envia lista no endpoint /lotes. Recursos graváveis: pessoas/arquivos, pessoas/contasDepositos, pessoas/contatos, pessoas/enderecos, pessoas/estrangeiras, pessoas/fisicas, pessoas/juridicas.

[Flattened action: patch]

Bulk support: accepts ids, parent_ids for batched execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
idsNo
bodyNo
accountNo
resourceYes
parent_idNo
parent_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior1/5

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

The description says this tool can create, update, and remove, and states that delete requires id, while annotations declare destructiveHint=false. This is a direct contradiction between the described capability of removing data and the structured annotation claiming no destructive behavior. The production warning is useful, but the contradiction rule applies.

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 production warning and core usage rules are front-loaded and mostly efficient. The description loses some focus because it lists create/update/delete behaviors and resource values that are already implied by the tool name and schema, and it mentions create_lote even though this tool is action-specific to patch.

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 7-parameter, no-output-schema tool, the description covers the basic patch workflow and bulk support, but not the body payloads, error/response behavior, the account parameter, or the meaning of each resource in enough detail. It is sufficient for a simple use case but not fully self-contained.

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 description coverage is 0%, so the description must compensate. It explains that body is JSON, id is needed for patch/update/delete, parent_id is needed for nested resources, and bulk execution uses ids and parent_ids. The account parameter and detailed per-resource body contents remain undocumented, preventing a 5.

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 identifies Pessoas in Bsoft TMS as the domain, calls it a write tool, and lists the exact writable resources, with the flattened-action line showing this is the patch variant. However, the phrase “cria/atualiza/remove” is broader than a patch tool and the resource list duplicates the schema enum, so it is not maximally specific.

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?

It provides useful routing rules: update/patch require id, nested resources require parent_id, and bulk execution accepts ids/parent_ids. It also warns against using this on production data. However, it does not say when patch should be preferred over update/delete/create, nor when a read tool like bsoft_pessoas should be used instead.

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.