Skip to main content
Glama
rsp2k
by rsp2k

get_inference_usage

Retrieve usage statistics for serverless inference subscriptions, including token and character consumption, monthly allotments, and overage details.

Instructions

Get usage statistics for a serverless inference subscription.

Args: subscription_id: The inference subscription ID or label

Returns: Detailed usage information including: - chat: Token usage for chat/completion models - audio: Character usage for text-to-speech models - monthly_allotment: Total tokens/characters allocated - overage: Usage exceeding the monthly limit

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subscription_idYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It implies a read-only operation ('Get') and details the return structure, which adds value. However, it doesn't mention potential errors (e.g., invalid subscription_id), rate limits, authentication requirements, or whether the data is real-time or cached. For a tool with no annotations, this leaves gaps in understanding its behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured and concise, with no wasted words. It starts with a clear purpose statement, followed by 'Args:' and 'Returns:' sections that efficiently document inputs and outputs. Every sentence adds value, making it easy to scan and understand quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, 0% schema description coverage, and no output schema, the description does a decent job by explaining the parameter and return values. However, it lacks details on error handling, authentication, rate limits, and data freshness. For a tool that retrieves usage statistics, these are important contextual gaps that could affect reliability and usage decisions.

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 input schema has 0% description coverage, with one parameter 'subscription_id' undocumented in the schema. The description compensates by explaining 'subscription_id: The inference subscription ID or label', adding semantic meaning beyond the schema's type information. This clarifies the parameter's purpose, though it doesn't specify format constraints (e.g., length, allowed characters).

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 clearly states the tool's purpose: 'Get usage statistics for a serverless inference subscription.' It specifies the verb ('Get') and resource ('usage statistics for a serverless inference subscription'), making the action and target explicit. However, it doesn't distinguish this tool from sibling tools like 'analyze_inference_usage' or 'monitor_usage', which might have overlapping or similar purposes, so it doesn't achieve full differentiation.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, such as needing an active subscription, or compare it to sibling tools like 'analyze_inference_usage' or 'monitor_usage' that might serve related purposes. Without this context, users must infer usage from the tool name and description alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rsp2k/mcp-vultr'

If you have feedback or need assistance with the MCP directory API, please join our Discord server