Skip to main content
Glama

Get Plan Usage

get_usage
Read-onlyIdempotent

Get usage statistics: total links and clicks, tracked click consumption vs your monthly allotment, overage status (active/inactive, charges accrued, spending cap), and full plan limits. Shows the remaining analytics capacity for the current billing period.

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. 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=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds value beyond that by disclosing what the response contains (quota vs allotment, overage charges, spending cap) and that the figures are scoped to the current billing period, which is genuinely useful behavioral context.

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 front-loaded sentences, with the enumerated return fields first. The closing sentence ('Shows the remaining analytics capacity for the current billing period') largely restates the allotment consumption already listed, so it is slightly redundant but still adds the time scope.

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, the description carries the job of describing return values, and it does so in reasonable detail across quota, overage and plan-limit dimensions. It does not cover freshness of the counters or whether overage figures are estimated, minor gaps for a read-only zero-parameter tool.

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 there is nothing for the description to disambiguate and the baseline of 4 applies. No parameter semantics are needed or missing.

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?

States a specific verb ('Get usage statistics') and enumerates the concrete resources returned: total links and clicks, tracked click consumption vs monthly allotment, overage status, and plan limits. This clearly separates it from analytics siblings like get_aggregate_stats or get_link_stats, though it never names an alternative explicitly.

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 by phrases like 'your monthly allotment' and 'current billing period', signalling an account/quota check rather than link-level reporting. There is no explicit when-to-use guidance and no statement of when another tool (e.g. get_aggregate_stats, get_affiliate_limits) would be the better choice.

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