Skip to main content
Glama

List project invoices

list_project_invoices
Read-onlyIdempotent

Invoices for one project or across the tenant, with totals and what is still open. Overdue invoices are flagged against today's date.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_project_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
statusNo
directionNo
open_onlyNoOnly sent / approved / partly paid.
project_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description adds substantive context the annotations cannot: the result carries totals, still-open amounts, and overdue flags computed against today's date. It stops short of covering pagination behavior despite limit/offset parameters, which keeps it from a 5.

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, front-loaded sentences with no filler; the scoping rule comes first and the output characteristics second. Every clause conveys information.

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 6-parameter, zero-required list tool with no output schema, the description gives a useful picture of the returned invoice data but is silent on paging (limit/offset) and on the direction filter's meaning. Adequate to call correctly for the common case, but incomplete for the tool's full surface.

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

Parameters2/5

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

With only 17% schema description coverage across 6 parameters, the description must carry the load and mostly does not. It hints at project_id ('one project or across the tenant') and open_only ('what is still open'), but says nothing about limit, offset, status, or the outgoing/incoming direction enum, leaving half the parameters undocumented anywhere.

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 names the resource (invoices) and both scopes: one project or across the entire tenant, plus the payload contents (totals, open amounts, overdue flags). It is clear which sibling family this belongs to, though the listing verb itself is only implied by the name.

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?

'For one project or across the tenant' implicitly tells the agent when to supply project_id versus omitting it, which is real guidance. But there is no mention of when to prefer this over get_project_financials or other financial views, 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.

Resources