Skip to main content
Glama

Usage and estimated cost

usage_get_usage
Read-onlyIdempotent

Returns this billing period's calls, the rate tier and its per-minute limit, connected and billable accounts, and the estimated cost for the month. Use it when the user asks about usage, limits or what Prubex costs them. Example: {}.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
callsYes
rate_tierYes
period_endYes
period_startYes
billable_accountsYes
connected_accountsYes
rate_limit_per_minuteYes
estimated_month_cost_usdYes

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 readOnlyHint=true, idempotentHint=true and non-destructive, so the safety profile is covered. The description adds useful scope: results are confined to the current billing period and include derived/estimated cost, which tells the agent the value is an estimate rather than a settled invoice.

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?

Two substantive sentences front-load the return contents, then the usage trigger. The trailing 'Example: {}' is mildly redundant given the empty schema but cheaply confirms a no-arg call.

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?

An output schema exists, so return values need not be enumerated, yet the description still summarizes payload categories, which helps intent matching. For a zero-parameter read tool this is essentially complete; only the relationship to sibling overview tools is unaddressed.

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 by rule; the schema is empty and the description restates this with 'Example: {}', confirming no arguments are needed. Nothing further is required.

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 enumerates exactly what is returned: period calls, rate tier with per-minute limit, connected and billable accounts, and estimated monthly cost. This is clearly distinguishable from siblings like accounts_list or prubex_overview, none of which cover usage/cost.

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?

Gives an explicit trigger condition ('when the user asks about usage, limits or what Prubex costs them'), which is enough to route the agent. It stops short of naming an alternative or exclusion (e.g. vs prubex_overview), so it is clear context but not full when/when-not guidance.

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