Skip to main content
Glama

bsoft_os_write_create_lote

Ordem de Serviço 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: ordensServico, ordensServico/acao.

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

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

Annotations already indicate it's not read-only. The description adds a critical warning that it alters PRODUCTION data and that there is no staging environment, which is valuable. It also mentions the specific endpoint and bulk execution behavior. However, it doesn't detail failure handling, idempotency, or side effects beyond the production warning, which would enhance transparency.

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 compact yet information-dense, front-loading the critical production warning. It uses semicolons to separate instructions efficiently. The inclusion of generic write actions ('cria/atualiza/remove') is redundant for a flattened create_lote tool but does not significantly harm conciseness.

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?

Despite having no output schema, the description covers the core purpose, endpoint, required parameters, and production impact. It lists writable resources and bulk options. It might be improved by mentioning the expected response (e.g., created records or IDs), but for a bulk write operation, this is reasonably 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?

With 0% schema description coverage, the description must explain parameters. It explains resource, action, body, id (for updates), parent_id (nested), and ids/parent_ids (bulk). However, it does not mention the 'account' parameter at all, leaving its purpose ambiguous. This is a gap given the schema provides no hints.

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 is for writing Ordem de Serviço (OS) in Bsoft TMS, with the action 'create_lote' sending a list to the /lotes endpoint. It identifies the writable resources (ordensServico, ordensServico/acao) and emphasizes bulk support. However, the opening line mentions 'cria/atualiza/remove' which could confuse since this is specifically for create_lote, slightly diluting the focus.

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 instructions on required parameters (resource, action, body) and notes that update/patch/delete need 'id' and nested resources need 'parent_id'. It implies use for bulk creation via 'Bulk support: accepts ids, parent_ids for batched execution,' but does not explicitly state when to prefer this over the single-create sibling (bsoft_os_write_create). The production warning is useful but not directly about usage selection.

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.