Skip to main content
Glama

List invoices

cliniko_list_invoices
Read-only

List invoices, optionally filtered by patient. GET /invoices.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (1-based). Default 1.
sortNoField to sort by, e.g. created_at.
orderNoSort direction. asc | desc.
per_pageNoResults per page (max 100). Default 50.
patient_idNoFilter by patient id (q[]=patient_id:=).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes that this is a safe read operation, lowering the bar for the description. The description adds the endpoint 'GET /invoices' and the patient filter, but does not disclose response format or pagination behavior. This is adequate but not rich.

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?

The description is one short sentence plus the endpoint, with no wasted words. The core action and optional filter are front-loaded, making it easy for an agent to parse quickly.

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?

This is a low-complexity list tool with all parameters documented in the schema and a readOnlyHint annotation. The description covers the core behavior; the main omission is the return shape, but that is not critical for a straightforward list operation.

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 the baseline is 3. The description's mention of optional patient filtering aligns with patient_id but does not add meaning beyond what the schema already provides for any parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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: 'List invoices,' which clearly distinguishes this from the single-resource sibling cliniko_get_invoice. The optional patient filter adds useful scoping. This is a clear, unambiguous purpose.

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?

The description gives clear context for when to use the tool: to list invoices, optionally filtered by patient. It does not explicitly name alternatives or exclusions, but the intended use is readily inferable from the list-versus-get distinction among siblings.

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.