Skip to main content
Glama

Gorelo MCP by usefulapi

List invoices

gorelo_list_invoices
Read-only

List invoices with status, totals and client. API: GET /v1/invoices.

Input Schema

NameRequiredDescriptionDefault
queryNoFree text matched against invoice number, reference and name.
cursorNoCursor from DataContext.Pagination.NextCursor of the previous page. Omit for the first page.
sort_byNo
page_sizeNoItems per page, 1-200 (default 50).
client_idsNoComma-separated client ids, for example "12,15".
sort_orderNo
status_idsNoComma-separated invoice status (1 Draft, 2 Submitted, 3 Paid, 4 Void, 5 Approved) ids, for example "12,15".
contract_idsNoComma-separated contract ids, for example "12,15".
due_date_beforeNoDate (yyyy-mm-dd): invoices due before it (find overdue invoices).
invoice_date_sinceNoDate (yyyy-mm-dd): invoices dated at or after it.
invoice_date_beforeNoDate (yyyy-mm-dd): invoices dated before it.

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?

readOnlyHint=true already tells the agent this is a safe read, so the description's job is lighter. It adds that results include status, totals and client and names the backing endpoint (GET /v1/invoices), but says nothing about pagination behavior, default page size, or result ordering.

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 padding, with the resource and return fields front-loaded before the endpoint reference. Nothing could be removed without losing content.

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?

For a read-only list tool with full annotation safety coverage and no output schema, the description gives enough to call it: resource, return fields, endpoint. The main residual gap is pagination guidance, though the cursor and page_size params cover it structurally.

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 82%, so the schema already explains cursor, page_size, query and the date filters. The description contributes no additional parameter meaning; a brief note that filters combine (e.g. status_ids + due_date_before) would have added value.

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 ("List invoices") and adds what the rows carry (status, totals, client). It does not distinguish itself from the sibling gorelo_get_invoice (single-record fetch), leaving that routing 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 Guidelines2/5

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

No statement of when to use this versus gorelo_get_invoice or gorelo_list_contracts, no prerequisites, no exclusions. The only usage-adjacent hint ("find overdue invoices") lives in the schema for due_date_before, not in the description.

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.