Skip to main content
Glama
mcp-sienge

mcp-sienge

by Miranda-F

Itens de solicitações de compra

sienge_solicitacoes_compra
Read-onlyIdempotent

Lists purchase requests filtered by period, project, requester, authorization, and status to identify pending purchases or requests awaiting approval.

Instructions

Lista itens de solicitações de compra por período, obra, solicitante, autorização e situação. Útil para 'o que está pendente de compra na obra X' ou 'solicitações aguardando autorização'.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sienge_solicitacoes_compra"
  }
}

Input Schema

NameRequiredDescriptionDefault
offsetNo
obra_idNo
data_fimNo
situacaoNo
reprovadoNo
autorizadoNo
data_inicioNo
solicitanteNo
max_registrosNo
solicitacao_idNo
com_quantidade_em_abertoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered and the description does not contradict it. Beyond that it adds only the filtering scope; it says nothing about result volume, pagination behavior, or what happens when no filters are supplied.

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?

Two short sentences, zero filler: the first defines the resource and filters, the second front-loads the practical queries it answers. Nothing is redundant with the title or annotations.

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?

For an 11-parameter list tool with no output schema, the definition covers the filtering intent but omits pagination/limit semantics and any hint about the shape of returned items, which an agent needs to page correctly and to decide whether a detail tool is required. Adequate but with clear gaps.

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 0% across 11 parameters, so the description must carry the burden. It successfully conveys the meaning of obra_id, solicitante, data_inicio/data_fim, autorizado/reprovado and situacao, but leaves offset, max_registros (default 200, cap 2000), solicitacao_id and com_quantidade_em_aberto completely unexplained, and never clarifies the situacao enum values.

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 states a specific verb and resource ('Lista itens de solicitações de compra') and enumerates the filter axes (período, obra, solicitante, autorização, situação), so an agent knows exactly what is returned. It does not explicitly distinguish itself from the similarly named sibling sienge_pedidos_compra (purchase orders vs. purchase request items), leaving that boundary to inference.

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

Usage Guidelines4/5

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

Two concrete usage scenarios are given in quotes ('o que está pendente de compra na obra X', 'solicitações aguardando autorização'), which map cleanly onto the situacao/autorizado parameters. There is no explicit when-not guidance and no named alternative tool, so it stops short of full routing guidance.

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