Skip to main content
Glama

eGestor MCP by usefulapi

List purchases

egestor_list_purchases
Read-only

List purchases (situacao 10 = quote, 50 = confirmed), filterable by date range. eGestor API: GET /v1/compras.

Input Schema

NameRequiredDescriptionDefault
notaNoFilter by invoice number.
pageNoPage number (default 1, 50 rows per page).
dtFimNoEnd date yyyy-mm-dd.
dtIniNoStart date yyyy-mm-dd.
dtTipoNoWhich date field dtIni/dtFim filter on.
fieldsNoComma-separated list of fields to return.
filtroNoText search over the main fields of the record.
orderByNoSort as "field,asc" or "field,desc".
situacaoNo10 = quote, 50 = confirmed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds the REST endpoint and the situacao code meanings, but says nothing about pagination behavior beyond what the schema states, or about what a returned record looks like.

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?

Two compact clauses, front-loaded with the action and its key filter, followed by a short provenance note on the endpoint. No filler, though the endpoint reference is arguably optional detail for an agent choosing a tool.

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 a read-only list tool with nine optional params and no output schema, the description does not indicate the shape of returned purchase records or that results are paginated 50-per-page. The schema carries parameter detail, so this is adequate but leaves the return side unexplained.

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%, so all nine parameters are already documented with formats, enums, and defaults. The description restates the situacao codes (10/50) and date-range filtering, adding no semantics beyond the schema — baseline 3 applies.

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+resource ('List purchases') and adds scope ('filterable by date range') plus the underlying endpoint GET /v1/compras. It is clearly distinguishable from the singular egestor_get_purchase sibling, though it never names that sibling explicitly.

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 date-range filtering and the status codes hint at when this tool applies, but there is no explicit guidance on when to use it versus egestor_get_purchase or egestor_list_payables, and no exclusions or prerequisites.

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.