Skip to main content
Glama

Show billing

billing_summary
Read-onlyIdempotent

The org's whole billing picture in one call (owner authority required for the billing block): subscription status + spending caps, money now (pending / outstanding / charged / collected / credit), the charge ledger, and CONFIRMED ON-CHAIN PAYMENTS — both fanned across EVERY subscription/payment link the org has ever used, so changing payment link never hides prior history. Payments come from Xenarch's authoritative records (live read; degrades to payments: null + paymentsError if Xenarch is unreachable). Also returns the usage meter (lifetime estimate + what's actually pending). A key without owner authority — an agent whose principal isn't an owner, or a non-owner member — gets the usage meter only, with a note. Reading billing is not charged.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already establish that this is a read-only, idempotent, closed-world operation. The description adds substantial beyond-annotation context: owner authority is required for the billing block, unauthorized callers get only the usage meter with a `note`, Xenarch degradation is surfaced as `payments: null` plus `paymentsError`, historical payment links are fanned out, and reading billing is not charged.

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 core value is front-loaded in the opening phrase, and the dense sentence structure packs in useful return-shape and failure-mode details. It is long and somewhat paragraph-heavy, but almost every clause carries operational meaning.

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?

With no output schema and zero input parameters, the description carries the burden of explaining what comes back. It does so thoroughly, covering the full billing block, the degraded Xenarch path, the non-owner partial result, and the absence of billing charges for the read.

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 no parameter semantics to explain. A baseline of 4 is appropriate because the description does not need to compensate for any schema gaps.

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 — the org's whole billing picture — and enumerates the returned components: subscription, caps, money states, charge ledger, confirmed on-chain payments, and usage meter. This is far beyond restating the title and lets an agent recognize the tool's scope immediately.

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?

It clearly states the authority prerequisite for the full billing block and explains what non-owner callers receive instead. However, it does not explicitly compare this tool to the sibling `usage_summary`, nor does it say when to choose the narrower usage-only tool versus this full billing view.

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