Skip to main content
Glama

get_usage

Read-only

The workspace's Managed-AI scan allowance for the current billing period: tier, checks included, carried over, used and remaining, overage so far with its price per check in the workspace's billing currency, the fair-use ceiling, checks run on the workspace's own provider keys (BYOK) with an estimated provider cost in USD, where this period's managed checks were started, this month's assistant messages on Managed AI by surface, and when the period resets. A workspace that is not on a metered Managed-AI tier returns no allowance figures. The weighting and cost-estimate notes arrive in howToRead.

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_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered; the description adds real context beyond that – the empty-result behavior for non-metered workspaces, currency/USD conventions for costs, and the existence of a `howToRead` field carrying weighting and estimation caveats. It does not discuss caching or refresh cadence, so not a 5.

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?

Front-loaded with the resource and billing-period scope, then two short qualifier sentences. The middle enumeration is a long run-on list, but with no output schema each returned field earns its place by telling the agent what to expect.

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 no output schema and no parameters, the description carries the return-value burden and does so thoroughly, covering allowance figures, overage pricing, BYOK estimates, usage breakdowns and reset timing. Only the contents of `howToRead` are left unexpanded, which is a minor gap.

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 of 4 applies; nothing in the schema needs compensating for and the description correctly does not waste words on arguments.

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 and scope: the workspace's Managed-AI scan allowance for the current billing period, then enumerates exactly which figures are returned (tier, included, carried over, used/remaining, overage price, fair-use ceiling, BYOK cost, reset date). It is clearly distinct from siblings like get_scan_status or get_ai_visibility_metrics, though it never explicitly names an alternative to route against.

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?

Usage is implied rather than stated: 'current billing period' signals a usage/billing query, and 'A workspace that is not on a metered Managed-AI tier returns no allowance figures' is a de facto condition, but the description never says when to call this versus get_scan_status or other scan-related siblings.

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