Skip to main content
Glama

get_usage

Read-only

Read how many captures the account has used and has left. Returns the plan, screenshots_used, screenshots_limit, screenshots_remaining (the monthly allowance left plus extra_credits), the period and the reset date (resets_at, UTC). For an email sign-up that is not verified yet it also returns why the limit is 25 (limit_reason) and where to verify (verify_at). Counts are live and the call is free. Use it before a large batch_screenshots job, or when a capture says the month is used up; pass month to read an earlier month.

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
monthNoCalendar month to query in YYYY-MM format (default: the current quota period)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / month / description
      Previous value: -"Month to query in YYYY-MM format (default: current month)"New value: +"Calendar month to query in YYYY-MM format (default: the current quota period)"
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, and the description adds genuinely new behavior: counts are live, the call is free, timestamps are UTC, screenshots_remaining includes extra_credits, and unverified email sign-ups return limit_reason and verify_at. It stops short of describing failure modes or auth/permission requirements, which keeps it from 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.

Conciseness5/5

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

Front-loaded purpose sentence, then a compact field enumeration, then when-to-use, then the parameter hint — no filler sentences and no repetition of the annotations.

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

Completeness5/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 full burden of describing return values and does so field by field, including the edge case of an unverified email account. Nothing needed to invoke or interpret the call is missing.

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?

Schema coverage is 100% and the month parameter's YYYY-MM format is documented in the schema; the description adds the useful semantic that omitting month gives the current period and passing it reads an earlier month, which is meaning beyond the schema text.

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?

Opens with a specific verb+resource (read capture usage and remaining allowance) and then enumerates the exact returned fields (plan, screenshots_used, screenshots_limit, screenshots_remaining, period, resets_at), so an agent knows precisely what comes back without opening a schema.

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 concrete triggers — before a large batch_screenshots job, or when a capture reports the month is exhausted — and names the sibling batch_screenshots explicitly, plus the month parameter for retroactive checks. It does not state a when-not case, but the positive 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.