Skip to main content
Glama

bsoft_controle_viagens_write_delete

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

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.3/5.0
Behavior4/5

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

Annotations show readOnlyHint=false and destructiveHint=false, but the description strongly warns that data is altered in PRODUCTION without a homologation environment, adding significant context. It also mentions bulk support with ids/parent_ids. Minor gap: does not explicitly state whether delete is permanent or if any confirmation/recovery is available, but the production warning covers the main risk.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with a clear warning and usage instructions. It uses bullet-like formatting and bold for key points, packing essential information in a concise, structured way without redundancy.

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?

Given no output schema and low schema coverage, the description covers the resources, required inputs, and data-safety context. It lacks details like response format or error behavior, but for a delete-focused tool with heavy annotations and sibling differentiation, it is reasonably complete for practical use.

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?

Schema description coverage is 0%, so the description must compensate. It mentions 'resource', 'action', 'body', 'id', 'parent_id', and bulk support, but does not explain the format or semantics of 'body', 'account', 'ids'/'parent_ids' beyond 'batched execution'. The description partially compensates but leaves some parameters unclear.

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 explicitly states the tool performs writes (create/update/remove) on 'Controle de Viagens' resources in Bsoft TMS, lists the exact writable resources, and the name includes the specific 'delete' action, distinguishing it from sibling write tools like _create, _update, and _patch.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

The description provides clear instructions: pass resource, action, and body; specifies that update/patch/delete require id, nested resources require parent_id, and create_lote uses a list on /lotes. It also warns about production data and lists resources, effectively guiding when to use this delete-specific tool.

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.