Skip to main content
Glama

olist_gerar_ordem_producao_pedido

Generate production orders from a sales order, with an option to post stock. Confirm the operation to execute.

Instructions

Gerar Ordem de Produção do Pedido API 2.0. Endpoint API V2: gerar.ordem.producao.pedido. Documentação: https://tiny.com.br/api-docs/api2-pedidos-gerar-ordem-producao Esta operação altera dados e exige confirmar=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesNúmero de identificação do pedido na Olist
confirmarYesConfirma que a operação mutável foi revisada e deve ser executada.
lancarEstoqueYesOpção para lançar estoque das ordens de produção geradas (S/N)
Behavior4/5

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

No annotations are present, so the description correctly carries the safety burden by stating 'Esta operação altera dados e exige confirmar=true', disclosing that this is a mutating operation requiring explicit confirmation. It does not detail side effects on order/stock status, but the crucial mutation trait is clearly surfaced.

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 three sentences: action, endpoint/documentation link, and mutation warning. It is concise, front-loaded, and every sentence contributes relevant information without redundancy.

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 a simple 3-parameter tool with no output schema, the description is minimally adequate: it covers purpose, mutation warning, and provides a documentation link. However, it omits return-value expectations, prerequisites, and conditional behavior (e.g., what happens when lancarEstoque='S'), leaving some gaps for the agent.

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 100%, and all three parameters (id, confirmar, lancarEstoque) already have meaningful descriptions. The tool description adds no further parameter-level semantics beyond restating confirmar=true, so the baseline of 3 is appropriate.

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 opens with 'Gerar Ordem de Produção do Pedido' and the API endpoint 'gerar.ordem.producao.pedido', clearly identifying the action (generate production order) and the resource (order). It is unambiguous but does not explicitly differentiate from sibling tools that also operate on orders.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool instead of alternatives like olist_pedido_lancar_estoque or olist_gerar_nota_fiscal_pedido. The only usage-related statement, 'Esta operação altera dados e exige confirmar=true', is a constraint, not a selection guideline.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mauriciogior/olist-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server