Skip to main content
Glama
alterlab-mcp-server

alterlab-mcp-server

Get Usage

alterlab_get_usage
Read-onlyIdempotent

Track current billing-period account usage: view balance, credits consumed, account tier, and entitlement source to monitor spend against your plan.

Instructions

Get account usage for the current billing period — balance, credits consumed this period, account tier and entitlement source. Use this to track spend against your plan; use alterlab_check_balance for deposit and spend totals. No parameters required — uses your API key for identification.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.8.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered; the description adds auth context ('uses your API key for identification') and the period scoping constraint. It stops short of describing units, currency, or how the balance is formatted, which matters for a billing read but is a minor gap.

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?

Two sentences, fully front-loaded: what is returned first, then the sibling routing, then the parameter/auth note. No filler and nothing repeated.

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?

For a zero-arg read tool with strong annotations, the description covers purpose, routing and auth identification. The only residual gap is return-value shape (units, currency, flatness), which no output schema documents either — though the field list partly compensates.

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 schema baseline is 4. The description still earns it by stating 'no parameters required' and explaining how the account is identified (API key), which prevents an agent from hunting for an account ID argument.

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?

Specific verb plus resource ('Get account usage for the current billing period') with an enumerated payload: balance, credits consumed, account tier, entitlement source. It explicitly separates itself from a sibling by naming alterlab_check_balance as the deposit/spend-totals tool.

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

Usage Guidelines5/5

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

Gives the positive use case ('track spend against your plan') and names the alternative plus the condition that selects it ('use alterlab_check_balance for deposit and spend totals'). An agent can route between the two without opening either schema.

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