Skip to main content
Glama

bsoft_controle_viagens_write_create_lote

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: create_lote]

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

C2.4/5.0
Behavior1/5

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

The description warns '⚠️ Altera dados de PRODUÇÃO' and lists 'remove' as an action, indicating destructive capability. However, the annotation destructiveHint is false, directly contradicting the description's implication of destructive behavior. Per the rubric, any contradiction with annotations results in a score of 1, even though the description does transparently warn about production impact.

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 reasonably concise but includes a mix of general write info and specific create_lote details, making it somewhat cluttered. The warning and resource list are useful, but the inclusion of update/patch/delete requirements and the flattened action note add noise. It is front-loaded with the core write purpose, but not optimally structured for the create_lote tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 7 parameters and no output schema, the description is incomplete. It fails to clarify the structure of the body parameter (expected JSON array?) and the role of ids/parent_ids in a create_lote context. The tool is part of a large family, yet the description doesn't fully explain how to use it effectively, leaving an agent with significant ambiguity (e.g., the non-existent action parameter).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema coverage, the description must compensate, but it introduces an 'action' parameter that is not present in the input schema, which is misleading. It does explain that update/patch/delete require id and nested resources require parent_id, but these are irrelevant to create_lote. It only vaguely mentions 'Bulk support: accepts ids, parent_ids' without clarifying what these mean for a creation endpoint. The instruction to pass body (JSON) is useful but lacks detail on its structure.

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 clearly states this is for write operations (cria/atualiza/remove) and specifically highlights the create_lote action with 'create_lote envia lista no endpoint /lotes' and 'Bulk support'. This distinguishes it from sibling write tools like create, update, patch, delete. However, it starts with a generic write description that also covers update/patch/delete, which could dilute the focus on the create_lote variant.

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 description does not explicitly state when to use this tool over the singular create tool. It mentions 'Bulk support' but doesn't say 'use this when you have multiple items'. It also includes irrelevant guidance for update/patch/delete (requiring id) that doesn't apply to create_lote, which could mislead an agent. No explicit exclusions or alternative recommendations are provided.

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.