Skip to main content
Glama

list_invoices

List your invoices, newest first, with status (pending, paid or cancelled) and pay link. Needs an access token with mcp:read.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "accessToken": "<accessToken>"
    },
    "name": "list_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 50
statusNoOnly this status
accessTokenYesYour Studio access token (sgl_pat_*). Can be omitted when the connection sends Authorization: Bearer sgl_pat_*

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose real behavior: default ordering (newest first), the returned payload contents (status, pay link), and the required auth scope (mcp:read). It omits pagination semantics beyond the schema's default 50, whether results are tenant-scoped, and what happens when no invoices exist.

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 tight sentences with the capability and the ordering constraint front-loaded, then the auth requirement. Every clause earns its place, though the parenthetical status list slightly duplicates the schema enum.

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?

No output schema exists, and the description compensates by naming the returned fields (status, pay link) and ordering. For a simple three-parameter read tool this is nearly sufficient; only pagination and empty-result behavior are left unaddressed.

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 limit, status enum, and accessToken are already fully documented in the schema; the description only echoes the status values. Baseline 3 applies since the schema does the heavy lifting.

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 your invoices') plus ordering ('newest first') and the fields returned (status, pay link), which separates it from sibling tools like list_payments or list_payment_links. It never names those siblings explicitly, so differentiation is inferred rather than stated.

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?

The only guidance is a prerequisite ('Needs an access token with mcp:read'), which tells the agent what auth to have but not when to prefer this tool over list_payments, list_payment_links, or cloud_credit_activity. Usage is implied by the scope word 'your invoices' rather than spelled out with exclusions.

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