Skip to main content
Glama

Billing Get

billing_get
Read-onlyIdempotent

Read the current workspace plan and credit balance for free. Available excludes reserved credits; used contains settled usage only. Percentages use the current credit allocation (including free grants), not a lifetime balance. A null percentage means no allocation. Check this before planning more paid work; sufficient balance does not authorize work beyond the user request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
planYes
creditsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the call is free, 'available' excludes reserved credits, 'used' is settled usage only, percentages reflect current allocation not lifetime balance, and null means no allocation.

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?

Purpose and cost are front-loaded, followed by field semantics and the usage caveat. Four dense sentences, each carrying information, though the field-definition clauses make it slightly heavy for a zero-argument read.

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 an output schema present, the description need not enumerate return values, and it covers purpose, cost, field caveats, and when to check. It is complete enough for an agent to call and interpret it 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 to document and the baseline is 4. The description correctly spends no space on parameter syntax.

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 opens with a specific verb and resource: 'Read the current workspace plan and credit balance.' An agent immediately knows exactly what this returns, and no sibling tool competes for this purpose (all siblings are sheets_/enrichment_ operations).

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?

It states when to use it ('Check this before planning more paid work') and adds a guardrail that balance does not authorize work beyond the user request. There is no named alternative, but none exists in the sibling set, so the routing context is adequate.

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