Skip to main content
Glama
mcp-sienge

mcp-sienge

by Miranda-F

Detalhe de um pedido de compra

sienge_pedido_compra_detalhe
Read-onlyIdempotent

Retrieve a purchase order with item details and totals, optionally including each item's delivery forecasts and fulfilled requests. Use it to inspect purchasing data from Sienge ERP.

Instructions

Mostra um pedido de compra com itens, totalização e, se pedido, as previsões de entrega e as solicitações atendidas de cada item.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "pedido_id": "<pedido_id>"
    },
    "name": "sienge_pedido_compra_detalhe"
  }
}

Input Schema

NameRequiredDescriptionDefault
pedido_idYes
com_entregasNoBusca as previsões de entrega de cada item (1 chamada por item, até 30 itens)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorld, so the safety profile is covered. The description adds genuine behavioral value by disclosing that the response shape is conditional ('se pedido' adds delivery forecasts and fulfilled requests per item), but it omits the cost implication — one extra call per item, capped at 30 — which only appears in the schema.

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?

A single front-loaded sentence with no filler; the main payload (items, totals) comes before the conditional extras. Slightly dense phrasing ('se pedido, as previsões... e as solicitações atendidas de cada item') requires a second read but nothing is wasted.

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?

With no output schema, the description must convey what comes back, and it does: items, totals, and conditional delivery forecasts and fulfilled requisitions per item. For a two-parameter read-only detail tool with annotations carrying the safety profile, the remaining gap is minor — mainly the per-item call cost and any not-found behavior.

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 coverage is 50%: com_entregas is documented in the schema including its N-calls-up-to-30-items cost, and pedido_id is self-explanatory as an integer ID. The description echoes the effect of the boolean flag ('as previsões de entrega') without adding format, constraints, or failure semantics beyond what the schema already states, so baseline 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?

States a specific verb and resource ('Mostra um pedido de compra') and enumerates the payload contents: items, totals, and optional delivery forecasts and fulfilled requisitions. The singular 'um pedido' paired with the name 'detalhe' implicitly distinguishes it from the list-style sibling sienge_pedidos_compra, but the sibling is never named.

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 detail framing implies this is the tool for inspecting one order rather than listing many, but there is no explicit when-to-use statement, no pointer to sienge_pedidos_compra for listing or sienge_solicitacoes_compra for related requests, and no guidance on when to enable the optional expansion.

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