Skip to main content
Glama

bsoft_os_write_patch

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

B3/5.0
Behavior1/5

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

The description contradicts the annotations: it says the tool 'cria/atualiza/remove' and warns 'Altera dados de PRODUÇÃO', implying destructive/removal capability, while destructiveHint is false. Although the production-data warning is valuable, the contradiction with the structured annotation makes this dimension fail.

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 a compact paragraph that front-loads the critical production warning and packs in requirement conditions and bulk support without excessive verbosity. The mention of 'action' is slightly disorganized, but overall every sentence conveys useful information.

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 no output schema and weak annotations, the description does cover key operational constraints and production risk. But it leaves significant gaps: the missing 'action' property, no explanation of 'account', no body schema or examples, and no mention of return behavior. A tool that mutates production data with no output schema needs more complete guidance.

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 compensate. It adds meaning by explaining that body is JSON, id is required for updates/patches/deletes, parent_id is for nested resources, and ids/parent_ids enable bulk operations. However, it references an 'action' parameter not present in the schema and does not explain the 'account' parameter or the body structure.

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 this tool writes to Ordem de Serviço in Bsoft TMS ('escrita: cria/atualiza/remove') and enumerates the writable resources. However, it does not differentiate this patch-specific tool from sibling create/update/delete tools, and it confusingly mentions an 'action' parameter that is absent from the input schema.

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?

It provides operational context: update/patch/delete require id, nested resources require parent_id, create_lote uses /lotes, and bulk execution accepts ids/parent_ids. However, there is no explicit guidance on when to prefer this tool over the sibling write tools, and the description frames it as a general write tool rather than specifically a patch operation.

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.