Skip to main content
Glama

agentanalytics.sh: Analytics Your Agent Can Use

Account usage

account_usage
Read-onlyIdempotent

Use when you need the plan, usage, or a payment handoff before a Pro-only tool. Returns the plan, usage, billing estimate, spend cap, and Pro pricing. Requires account:read. Read-only: it cannot charge or manage billing. After checkout, call again and retry the task.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations it discloses the required auth scope (account:read), the concrete field set returned, and the checkout-then-retry workflow loop. The 'cannot charge or manage billing' line largely restates readOnlyHint/destructiveHint:false, so it adds less than the other sentences, and the mechanics of the 'payment handoff' (URL, session token, redirect) remain unexplained.

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?

Four short sentences, ordered as trigger, contents, authorization, safety, then post-checkout follow-up — the most decision-relevant information (when to call, what you get) comes first with no filler.

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-parameter read with no output schema, the description supplies the trigger, the returned fields, the auth requirement, and the retry path, which is enough to call it correctly. The only soft spot is the vague 'payment handoff', which an agent may not know how to act on concretely.

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 tool takes zero parameters, so the schema has nothing to document and the description correctly spends no words on arguments. It focuses instead on what comes back, which is the only semantic gap for a parameterless call.

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?

The description names the resource precisely (plan, usage, billing estimate, spend cap, Pro pricing) and frames the tool as a pre-flight lookup for Pro-only tools, which tells an agent exactly what it retrieves and why.

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?

It gives an explicit trigger ('Use when you need ... before a Pro-only tool') and an explicit follow-up sequence ('After checkout, call again and retry the task'), covering both entry and post-payment re-entry. No alternative tool is named, but none of the listed siblings exposes account/billing data, so the routing is unambiguous.

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