Skip to main content
Glama

bsoft_transporte_write_create_lote

Transporte 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: agencias, apolicesSeguro, conhecimentos, conhecimentos/viaNFe, conhecimentos/viaXML, conjuntoVeiculos, contratosFrete, especies, faturamentos, gruposVeiculos, manifestos/encerrar, manifestos/fechar, manifestos/reabrir, manifestos/viaXML, nfePreCadastrada, nfePreCadastrada/viaXML, ocorrencias, ocorrencias/anexos, statusPedidos, tagsCTe, tiposOperacoesTMS, tiposValoresOutros, veiculos.

[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

A3.7/5.0
Behavior3/5

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

The description warns 'Altera dados de PRODUÇÃO' which adds value beyond the annotations (which only indicate not read-only/destructive). However, it includes irrelevant details about update/patch/delete that may confuse the agent, and it does not disclose whether failures are partial or atomic. The annotation destructiveHint:false is not contradicted.

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 moderately long and includes a redundant mention of update/patch/delete requirements that do not apply to this specific action. It front-loads the critical warning and lists resources effectively, but could be tightened to focus only on create_lote behavior.

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 description provides a useful overview, resource enumeration, and production warning, but lacks details on response format, error handling, or body structure. Since there is no output schema, the description should explain what to expect, but it does not. It is adequate for a batch creation tool but not complete.

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?

Schema coverage is 0%, so the description must compensate. It explains resource, action, and body, but action is not in the schema, and it does not explain the expected structure of 'body' for the list or the purpose of 'account'. It does mention parent_id for nested resources and bulk support via ids/parent_ids, but leaves ambiguities.

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 states it is for the Bsoft TMS transport module (escrita: cria/atualiza/remove) and specifically that create_lote sends a list to the /lotes endpoint. It also lists all writable resources, distinguishing this batch creation tool from single-operation siblings like bsoft_transporte_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 Guidelines4/5

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

The description implies usage for batch creation via the /lotes endpoint and mentions that update/patch/delete require id (though not relevant to this tool). It warns about production impact and notes bulk support with ids/parent_ids. It does not explicitly contrast with single-create tools, but the resource list and endpoint mention give context.

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.