Skip to main content
Glama

Your RailCore API usage

get_my_usage
Read-onlyIdempotent

Your RailCore API plan and this month's usage: requests used and left, the per-minute and per-day limits, use per API key and in the docs playground, and when the allowance refills. Requires sign-in to your RailCore account.

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_my_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
planNo
unitYes
by_keyYes
limitsNo
partialYestrue: some counters could not be read, so figures may be low.
has_planYes
key_countYes
this_monthNo
pricing_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds context the annotations cannot: it requires the caller to be signed in to a RailCore account, and it discloses that the response includes refill timing and both per-minute and per-day limit dimensions, which is genuinely new behavioral information.

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?

A single front-loaded sentence identifies the resource, followed by a colon-delimited inventory of what the response contains, and it closes with the one prerequisite. No filler, and every clause carries information the agent can use.

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 tool with full annotations and an output schema, the description covers purpose, contents, and the sign-in prerequisite, so an agent can call it confidently. The only minor gap is that it does not say how fresh the usage figures are or whether the call itself consumes quota.

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?

There are zero parameters and the schema is empty by design, so the baseline is 4. The description correctly implies no arguments are needed to scope the result: it always reports the authenticated caller's own plan and usage.

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 exact resource (your plan plus this month's usage) and enumerates the contents: requests used and left, per-minute and per-day limits, per-key usage, playground usage, and refill timing. That level of detail clearly separates it from siblings like get_plans (available plans) and list_my_keys (key inventory).

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 rather than stated: an agent can infer this is the tool for checking current usage or remaining quota. There are no explicit when-to-use or when-not-to-use rules and no named alternatives (e.g., when to prefer get_plans for plan comparison), so the agent must work it out from the content list.

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