Skip to main content
Glama

billing_get

The workspace's prepaid balance for calls on SAGOT numbers (PHP centavos): balance (paid top-ups + SAGOT credits − charges), reserved for calls in progress, available, this month's spend and the optional monthly cap (policy monthlySpendLimitCentavos, null = none), recent top-ups, the proposed rate per country and whether card top-ups are offered. Other line types are not paid from the balance.

Input Schema

NameRequiredDescriptionDefault
workspaceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose real domain behavior: the balance formula (paid top-ups + SAGOT credits − charges), the distinction between reserved and available, the null semantics of the monthly cap, and the scope limitation to SAGOT numbers. However, it never states that this is a read-only/no-side-effect operation, nor any permission or workspace-scoping requirements, leaving behavioral gaps for a mutation-free but access-controlled query.

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?

It is a single, dense sentence front-loaded with the resource being read and then unpacking the returned fields, so the agent can stop reading once it has what it needs. Given there is no output schema, the field enumeration is largely justified rather than padding, though the run-on form is heavy.

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?

No output schema exists, so the description must describe the return shape, and it does so thoroughly (balance composition, reserved, available, monthly spend, cap, recent top-ups, rate, card top-ups). For a one-parameter read tool this is close to complete; the remaining gaps are sibling differentiation (billing_topUp) and the undocumented workspaceId parameter.

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

Parameters2/5

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

Schema description coverage is 0% and the single parameter workspaceId is never mentioned or explained in the description. The parameter is only weakly self-explanatory as a UUID, so the description does not compensate for the undocumented parameter as required at low coverage. The 'monthlySpendLimitCentavos' reference describes a returned policy value, not an input.

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?

The description names a specific resource (the workspace's prepaid balance for SAGOT-number calls) and enumerates the fields it returns, so the agent knows exactly what data this retrieves. It is slightly output-oriented rather than stating a clean verb+resource, and it never names the obvious sibling billing_topUp for contrast. The scope caveat ('Other line types are not paid from the balance') does usefully bound what the balance covers.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no prerequisites, and no mention of the alternative tool billing_topUp (or usage_get, platform_credits_list) that an agent choosing this tool would likely weigh. The only implicit usage signal is the field enumeration. An agent must infer the trigger conditions entirely.

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