Skip to main content
Glama

Oblio MCP by usefulapi

List invoices

oblio_list_invoices
Read-only

Invoices of a company with filters (series, number, dates, client, draft/canceled/collected), newest first by default. Optional products, collections and e-Factura (SPV) status per invoice. Pass next_offset as offset for the next page. GET /api/docs/invoice/list.

Input Schema

NameRequiredDescriptionDefault
cifYesCIF of YOUR company in Oblio (from oblio_list_companies), for example RO37311090.
draftNotrue = only drafts, false = only issued.
numberNoOnly this document number.
offsetNoStart position (0 default); use next_offset from the previous reply.
canceledNotrue = only canceled, false = only not canceled.
order_byNo
collectedNotrue = only collected (paid), false = only not collected.
order_dirNo
client_cifNoOnly invoices of the client with this CIF.
client_codeNoOnly invoices of the client with this code.
series_nameNoOnly this series.
client_emailNoOnly invoices of the client with this e-mail.
issued_afterNoIssued on or after yyyy-mm-dd.
issued_beforeNoIssued on or before yyyy-mm-dd.
with_collectsNoInclude the collections.
with_productsNoInclude the invoice lines.
limit_per_pageNoResults per page, 1-100 (default 100).
with_einvoice_statusNoInclude the e-Factura (SPV) status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the safety profile is already covered. The description adds genuinely useful behavior beyond that: results are newest-first by default, pagination is driven by next_offset, and products/collections/e-Factura status are opt-in payload expansions that change response weight. It omits any note on rate limits or result-count caps, keeping it at 4.

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?

Three sentences, front-loaded with the resource and filter scope, then defaults, then the pagination contract. The parenthetical filter list is dense but each clause corresponds to real parameters. The trailing endpoint URL is marginal but cheap.

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 an 18-parameter paginated list tool with no output schema, the description covers the two things an agent most needs: how ordering defaults and how to page using next_offset from the previous reply. It doesn't state the response envelope or total-count behavior, which matters when there is no output schema, but overall it is sufficient to invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 89% and the schema documents the toggles precisely (draft = only drafts vs only issued). The description still adds value by grouping the 18 parameters into filter families and mapping the optional flags (with_products, with_collects, with_einvoice_status) to what they actually enrich in the reply. Slightly above the baseline-3 case for high coverage.

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?

Names a specific resource (invoices), scopes it to a company, and enumerates the filter families (series, number, dates, client, draft/canceled/collected). An agent can distinguish it from oblio_list_clients/oblio_list_products and from oblio_get_document (single document) by resource alone. It stops short of explicitly contrasting with those siblings, so a 4 rather than a 5.

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?

There is operational guidance for pagination ('Pass next_offset as offset for the next page') and the default ordering, which is real usage help. However, there is no explicit when-to-use statement or exclusion — nothing tells the agent to prefer oblio_get_document for a single invoice or when a filter combination is pointless. Usage is implied by the resource name rather than stated.

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.