Skip to main content
Glama

Billing history

flow_list_billing_history
Read-only

The most recent 100 top-ups, invoices and credit notes, newest first, with amounts and payment status. amount is gross (VAT included); an invoice's items are net. Sending costs are in flow_get_analytics, not here.

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": "flow_list_billing_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page number
pageSizeNoRows per page, 1 to 50
includeItemsNoInclude each invoice's line items

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered; the description adds real behavioral detail beyond that: a 100-record cap, newest-first ordering, and the gross-vs-net amount convention. It stops short of describing pagination or total counts, keeping it at a 4 rather than 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?

Three tight sentences, each carrying distinct information: scope and cap, amount semantics, and the sibling exclusion. Nothing is repeated from the schema and there is no filler.

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 read-only list tool with no output schema and three optional params, the description covers scope, ordering, cap and monetary semantics adequately. What is missing is any indication of how results relate to paging (e.g., whether more than 100 records are reachable), which would matter given page/pageSize exist.

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 page, pageSize and includeItems are fully documented in the schema. The description clarifies what an invoice's 'items' mean when includeItems is used (net amounts), which is a small value-add, but it adds nothing about paging semantics. Baseline 3 is appropriate.

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 names a specific resource set (top-ups, invoices, credit notes), states ordering (newest first) and a hard cap (most recent 100), and explicitly distinguishes itself from flow_get_analytics. An agent can identify exactly what this tool returns without opening the schema.

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?

It gives an explicit when-not ('Sending costs are in flow_get_analytics, not here'), which routes the agent to the right sibling. It doesn't state a positive when-to-use condition or prerequisites, but the resource scope is narrow enough that little inference is needed.

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