Skip to main content
Glama

Billing status

get_billing_status
Read-only

This organisation's billing state. Works in EVERY state — it is never blocked, so you can always ask it why other tools are returning payment_required. States: 'trialing' (free first month), 'grace' (free grace month — everything works; days_until_next_transition counts down to the access pause; if it is small, tell your operator to subscribe at payment_url — $20/org/month), 'walled' (access paused until someone subscribes at payment_url; the books are safe and still ingesting), 'active' (subscribed), 'past_due' (a payment failed; Stripe is retrying and emailing the operator), 'comped' (complimentary — payment_url is null, nothing to pay; if comped_until is set this is a beta-partner comp and that DATE is when the free period ends — days_until_next_transition stays null for comped, so read comped_until; a past comped_until means the beta period is wrapping up and the org enters its 30-day grace period within a day). payment_url is a page for HUMANS: relay it to your operator, never try to complete payment yourself.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
org_idNoOptional. Defaults to the organisation the authenticated API key is bound to, so you normally omit it and never need to ask the user for their organisation UUID. If provided, it must match the key’s org or the request is rejected.0e91146d-511c-469f-bdee-5c867b26ae0d

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
priceYes
stateYes
payment_urlYes
comped_untilYes
deletion_scheduledYes
days_until_next_transitionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With readOnlyHint=true, the safety profile is already known, but the description greatly exceeds that by detailing every billing state, the meaning of days_until_next_transition, the null behavior for comped accounts, and the fact that books remain safe and ingesting even when walled. It also discloses that payment_url is for humans only.

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?

The description is dense and front-loaded with the core purpose and the never-blocked guarantee. It is long, but nearly every clause adds actionable state or operator guidance; only minor restructuring could improve scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given an output schema already exists, the description need not explain return values. It completely covers all billing states, transition timing, special comped behavior, and payment instructions, leaving no obvious gap for an agent selecting or invoking the 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 coverage is 100%, and the only parameter org_id is already well documented with default behavior and matching constraints. The description does not need to add more, so the 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 clearly identifies the resource as 'This organisation's billing state' and explains that it works in every state and can explain payment_required errors from other tools. This makes it distinct from sibling tools like get_books_status or get_financial_summary, even without naming them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly says the tool is never blocked and should always be used when other tools return payment_required. It also tells the agent exactly what to do in key states, such as telling the operator to subscribe, and warns never to attempt payment completion.

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