Skip to main content
Glama

splose MCP by usefulapi

List invoices

splose_list_invoices
Read-only

Invoices: number, issue/due dates, patient, contact, location, practitioner, subtotal, tax, total, paid amount, status (Draft, Awaiting Payment, Paid), line items and payment ids. Use status=Awaiting Payment for what is owed. GET /invoices.

Input Schema

NameRequiredDescriptionDefault
id_gtNoOnly objects with an id greater than this: the next page (pass the previous reply's next_id_gt).
id_ltNoOnly objects with an id less than this: the previous page.
statusNoInvoice status.
patientIdNoOnly invoices of this patient.
update_gtNoOnly objects updated after this date or date-time (UTC).
update_ltNoOnly objects updated before this date or date-time (UTC).
locationIdNoOnly invoices created at this location.
practitionerIdNoOnly invoices created by this practitioner.
include_archivedNotrue to include archived objects (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered; the description adds real value beyond that by disclosing the returned field set and the three possible status values, which matters because there is no output schema. It stops short of describing default ordering, whether archived records are excluded by default, or pagination behavior.

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 short sentences with no filler: the field inventory comes first, then the actionable status hint and endpoint. The phrasing is telegraphic rather than fully grammatical, but nothing is wasted and it is easy to scan.

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 nine-parameter, zero-required list tool with no output schema, the description does the important extra work of naming the returned fields and status values. Remaining gaps (default sort order, archived exclusion defaults, paging flow) are partly absorbed by the schema's id_gt/id_lt descriptions, so the definition is close to complete.

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 100%, so all nine filters (id_gt/id_lt paging, update_gt/update_lt, patientId, locationId, practitionerId, include_archived, status) are already documented in the schema. The description adds semantics only for status by tying 'Awaiting Payment' to amounts owed; the other eight parameters gain nothing from the description, 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?

The description enumerates exactly what a list-invoices call returns (number, dates, patient, totals, status, line items, payment ids) and names the endpoint GET /invoices, so the verb+resource is unambiguous. It does not, however, distinguish itself from the sibling splose_get_invoice (single invoice) or splose_list_payments, leaving that differentiation to the name alone.

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?

One explicit usage rule is given: 'Use status=Awaiting Payment for what is owed.' That is a genuine when-to-use hint, but there is no guidance on when to prefer splose_get_invoice, splose_list_payments, or how paging should be driven, so most selection decisions remain inferred from the tool name.

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.