Skip to main content
Glama

Smartrr MCP by usefulapi

List bills

smartrr_list_bills
Read-only

List billing attempts across all subscriptions with amount, status (pending, processing, succeeded, failed, canceled), billing date, retry count, error and the subscription and customer. Filter by billing date; status filters the returned page only (use page_size 100 and next_page to cover more). Bill ids are numbers. GET /vendor/bill.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, from 1 (default 1). Pass the previous reply's next_page.
sortNoSort by creation date (default: Smartrr's own order).
statusNoKeep only bills in this status (applied to the fetched page, not server-side).
page_sizeNoResults per page, 1-100 (default 25).
billing_afterNoOnly bills with a billing date on or after this date.
billing_beforeNoOnly bills with a billing date on or before this date.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description goes further by disclosing that `status` is applied to the fetched page rather than server-side and how to compensate via page_size/next_page – a genuine behavioral gotcha. It also notes the underlying endpoint (GET /vendor/bill) and that bill ids are numeric.

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?

Front-loaded with the resource and returned fields, then the pagination caveat, then the endpoint. The inline enum repetition (pending, processing, succeeded, failed, canceled) and the 'Bill ids are numbers' detail are minor redundancy since the schema covers both, but nothing is padded.

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?

With no output schema, the description carries the burden of describing returns and does so by enumerating the bill fields plus pagination mechanics. It does not explain the response envelope (whether total/next_page are always present) or default sort behavior, which leaves a small gap for a no-required-parameter list tool.

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 all six parameters are already documented in the schema; baseline 3 applies. The description adds only marginal value – it restates the status enum and implies billing-date filtering, but never mentions `sort` or the after/before boundary semantics.

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?

States a specific verb and resource ('List billing attempts across all subscriptions') and enumerates the returned fields (amount, status, billing date, retry count, error, subscription, customer). The phrase 'across all subscriptions' implicitly distinguishes it from smartrr_get_subscription_bills, so an agent can route without opening schemas.

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?

Gives concrete operational guidance: 'Filter by billing date; `status` filters the returned page only (use page_size 100 and next_page to cover more)' – this tells the agent exactly how to work around the client-side filter. It stops short of explicitly naming smartrr_get_subscription_bills as the alternative for a single subscription, so the when-not is inferred rather than stated.

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.