Skip to main content
Glama

bsoft_controle_viagens_write_update

Controle de Viagens 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: adiantamentos, despesas, despesas/configuracoes/tipos_item, despesas/modelos, devolucoes, documentos, recebimentos, receitas, viagens, viagens/classificacoes, viagens/documentos, viagens/manifestos.

[Flattened action: update]

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.2/5.0
Behavior1/5

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

The description discloses that it alters production data, which is valuable, but it also states the tool can 'remove' and references 'update/patch/delete', implying destructive behavior. This contradicts the annotation 'destructiveHint: false'. The description and annotations are at odds regarding whether the tool can delete/destroy data, creating serious ambiguity for the agent.

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?

The description is a single paragraph but front-loaded with the production warning and key requirements. It concisely lists the writable resources. The extra note about 'create_lote' and the flattened action artifact could be trimmed, but overall it is fairly efficient and well-structured.

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?

The tool has 7 parameters and no output schema, so the description must carry more weight. It does provide meaningful context (production warning, id requirements, resource list), but it lacks information about expected return values, error handling, and how to structure the 'body' payload for specific resources. The mention of an 'action' parameter not in the schema further adds confusion.

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 adds some useful semantics: it explains that 'id' is needed for updates, 'parent_id' for nested resources, and that 'ids'/'parent_ids' support batch execution. It also clarifies 'body' is JSON and lists valid resource values. However, it fails to explain the 'account' parameter and incorrectly mentions an 'action' parameter that is not in the schema, reducing its reliability.

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?

The description clearly identifies the tool as a write operation for 'Controle de Viagens no Bsoft TMS', enumerates all writable resources, and differentiates itself via the 'write_update' naming and the flattened action 'update'. It states the primary purpose (create/update/remove) and lists specific resources, making it unambiguous from siblings like write_create or write_delete.

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?

The description provides some usage context: update/patch/delete require an 'id', nested resources require 'parent_id', and it mentions bulk support via ids/parent_ids. However, it does not explicitly advise when to choose this update tool over the patch tool (e.g., full vs partial updates) nor when to prefer the other write tools. The mention of delete may confuse, as this tool is specifically update.

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.