Skip to main content
Glama

bsoft_controle_viagens_write_patch

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

A4.1/5.0
Behavior5/5

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

The description discloses critical behavioral traits: it alters PRODUCTION data (no homologation environment), which is a significant warning beyond annotations. It also notes bulk support for ids and parent_ids. Annotations only say readOnlyHint=false, destructiveHint=false, but the explicit drop to production is a critical behavioral transparency not covered by annotations.

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 reasonably concise, front-loading the purpose and critical warning, then listing resources and parameter requirements. The resource list is necessary but lengthy; the warning is prominent. Some redundancy with the action mention (patch) in the description and tool name, but overall efficient.

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

Completeness4/5

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

For a write tool with a complex resource set and no output schema, the description covers the main aspects: what resources, required parameters, production warning, bulk support. It lacks details on the response structure, but the description is sufficient for an agent to know how to invoke the tool correctly, especially given annotations and schema presence.

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 description coverage is 0%, but the description explains the purpose of key parameters: resource selects the writable resource, body is JSON, update/patch/delete require id, nested require parent_id, and create_lote uses /lotes. It adds semantic meaning beyond the schema for resource, id, parent_id, and body, but doesn't detail formats or example structures for body or account.

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 the tool handles writes (create/update/remove) for Controle de Viagens resources in Bsoft TMS, listing writable resources and the required parameters. It is distinguished from siblings like bsoft_controle_viagens (which is likely read-only) and the other write_* tools by resource scope, though it notes the action varies (patch) with the command name.

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?

It explains when to use this tool: for write operations on the specified resources, with specific guidance on required parameters (resource, action, body) and conditions (update/patch/delete require id, nested resources require parent_id, create_lote sends a list). It doesn't explicitly compare against sibling write tools (e.g., write_create, write_update), but the resource list and action parameter provide clear usage 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.