Skip to main content
Glama

Get billing

getBilling
Read-only

The plan of this workspace and what it includes, as Billing shows it: how it is billed, when it renews or ends and the next charge, how many domains it holds, how much of this month's sends and mailbox checks and today's AI actions are used, and pay as you go. Only the owner of the workspace reaches billing, through a client connected with every address.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the read-only, non-destructive, closed-world profile, and the description adds real context beyond that: the owner-only authorization requirement and the full-scope client requirement, both of which affect whether a call will succeed. It does not say what happens on a non-owner call (error vs. empty), which would have made it 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence opening with the core answer ('The plan of this workspace and what it includes'), followed by the access constraint. The middle usage clause is a dense list and slightly run-on, but every listed item maps to distinct returned information.

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 parameters and no output schema, the description carries the burden of explaining what comes back, and it does so field-group by field-group (plan, billing cadence, renewal, domain count, usage meters, pay-as-you-go). The only gap is failure behavior for unauthorized callers or workspaces without a plan.

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

Parameters4/5

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

Zero parameters, so the baseline is 4; there is nothing for the description to disambiguate. The description's enumeration of returned fields is a nice bonus but is not required for parameter semantics.

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 resource (workspace billing/plan) and enumerates exactly what it returns: billing mode, renewal/end date, next charge, domain count, usage meters, and pay-as-you-go. That scope listing implicitly separates it from narrower siblings like getBillingUsage and getInvoice, but it never names or contrasts them explicitly.

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 description supplies a hard access precondition — only the workspace owner, only via a client connected with every address — which tells the agent when the call is permitted. It gives no guidance on when to prefer this overview over getBillingUsage, getPayAsYouGo, getInvoice, or listSubscriptionDomains, so routing among billing siblings is left to inference.

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.