Skip to main content
Glama

get_billing

Read-onlyIdempotent

Retrieve organization plan and billing status: subscription state, renewal/cancellation dates, upgrade options, and pending upgrade requests. Read-only; cannot pay, cancel, or change payment methods.

Instructions

Get the org's plan and billing status: plan, subscription status, renewal/cancellation dates, upgrade options, and any pending upgrade request. Read-only — agents cannot pay, cancel, or change payment methods. Requires an Organization key (chr_sk_*).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.6.2

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description still adds meaningful context beyond them: the auth requirement (Organization key, chr_sk_* prefix) and an explicit statement that no payment, cancellation, or payment-method mutation is possible. It stops short of noting data freshness or behavior when no plan exists.

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?

Two sentences, front-loaded with the verb and resource, then the returned fields, then the read-only constraint, then the auth requirement. No filler and no redundancy with the schema.

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?

No output schema exists, and the description compensates by listing the fields the caller can expect. Zero parameters mean no parameter documentation burden, annotations cover the safety profile, and the auth prerequisite is stated, leaving nothing an agent needs in order to call this correctly.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline for a parameterless tool applies. The enumerated return fields in the description are the useful part, standing in for an absent output schema.

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 ("Get the org's plan and billing status") and then enumerates exactly what is returned: plan, subscription status, renewal/cancellation dates, upgrade options, pending upgrade request. An agent can distinguish this from siblings like get_usage or get_upgrade_request without opening any 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?

Clearly scopes when this tool applies (retrieving org plan/billing state) and explicitly rules out actions it does not perform (pay, cancel, change payment methods). It does not name the sibling that handles the pending upgrade request detail (e.g. get_upgrade_request), so the alternative-routing is slightly incomplete.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.