Skip to main content
Glama

Weir: Reddit and X (Twitter) data

Check credit balance

get_usage
Read-onlyIdempotent

The credit balance: what is available to spend, this month's free grant (granted, remaining, and when it resets), the tier, and whether spending is paused. Free. Call it when a tool reports 402 (out of credits: not retryable until the free credits renew or a pack is bought) or before a large batch of calls. Free: costs no credits.

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

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, so the description does not need to restate safety. Instead it adds genuine behavioral context: the call itself is free of charge, and a 402 means the agent should stop retrying until credits renew or a pack is bought — a non-obvious operational rule that shapes agent loop behavior.

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

Conciseness3/5

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

The return fields are front-loaded well, but 'Free' is asserted three separate times ('Free.', 'Free credits', and the closing 'Free: costs no credits') — a whole closing sentence that earns nothing. The 402 explanation is valuable, yet the redundancy inflates an otherwise tight description.

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 parameters and no output schema, the description carries the burden of describing the response and does so by enumerating each returned field, including the reset timing and pause flag. Nothing an agent needs to call it or interpret the result 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?

The tool takes zero parameters, so there is nothing to disambiguate and the baseline is 4. The description correctly implies a no-argument, always-available read rather than suggesting filters that do not exist.

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 names a specific resource (credit balance) and enumerates exactly what is returned: available spend, this month's free grant with granted/remaining/reset timing, tier, and pause state. It is clearly distinct from the social-data siblings, though it does not explicitly distinguish itself from the similarly named get_limits, which is the one place an agent could hesitate.

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

Usage Guidelines4/5

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

Offers two concrete invocation triggers: when another tool reports 402 (with the important nuance that it is not retryable until renewal or a pack purchase), and before a large batch of calls. This is actionable guidance rather than vague context, though it states no when-not-to-use condition.

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