Skip to main content
Glama

bsoft_controle_viagens_write_create

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]

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.4/5.0
Behavior3/5

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

Annotations already indicate readOnlyHint=false and destructiveHint=false, so the description correctly aligns with those. The description adds important behavioral context: it explicitly warns 'Altera dados de PRODUÇÃO (o Bsoft não tem homologação)', which is valuable. However, it doesn't disclose whether create is idempotent (despite idempotentHint=false in annotations, the description doesn't clarify) or what happens on error, but given annotations cover some traits, the description adds reasonable extra context.

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 concise and front-loaded with the primary purpose (write operations) and a critical warning about production data. The list of resources is compact and the flattened action note is brief. The bulk support sentence adds useful info without bloating. It's a single paragraph but 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?

Given 7 parameters with 0% schema coverage and no output schema, the description provides some necessary guidance (resource list, required values, bulk support) but omits crucial details like the shape of `body`, the meaning of `account`, and the exact behavior of create (e.g., response format). For a write tool with no output schema, this is partially complete but leaves significant gaps for execution.

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 schema description coverage at 0%, the description must compensate for parameter meanings. It mentions that `resource`, `action`, and `body` are needed, and that `id` is required for update/patch/deleteessing, plus `parent_id` for nested resources. However, it doesn't explain the `body` format or content, nor the distinction between `id` vs `ids` vs `parent_id` vs `parent_ids` beyond 'bulk support' at the end. This is minimal compensation for 7 undocumented parameters.

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 it handles write operations (create/update/remove) for Bsoft TMS travel control resources and lists the writable resources. However, the name already indicates 'create', and the description covers broader write actions, which is somewhat ambiguous for this specific tool. Still, it's clearer than a bare 'Process' and distinguishes the resource domain.

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: it warns about altering production data and notes that update/patch/delete require id, nested resources require parent_id, and create_lote sends a list. However, it does not explicitly compare to alternatives like bsoft_controle_viagens_write_create_lote or explain when to choose this tool over the sibling create_lote. The boundary between 'create' and 'create_lote' is implied but not clearly stated.

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.