Skip to main content
Glama

Media Generator — Images, Videos & Audios

check_token

Check the current user's token status and account information.

This tool retrieves information about:

  • User ID

  • Paid account status

  • Remaining generation tokens (for non-paid users)

  • Account validity

Returns: A JSON string containing token status and account information

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / description
      Removed value: -"Generic wrapper for non-object return types."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations provided, the description carries the disclosure burden, and it does convey this is a read/inspect operation that returns status rather than mutating anything. It also enumerates the returned fields. It stops short of stating auth requirements or any rate limits, but for a zero-param read tool the behavioral profile is largely complete.

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?

Front-loaded with the core purpose, then a scannable field list and a Returns section. Slightly redundant in that the header line and Returns line restate the same idea, but it is well-sized and readable.

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?

An output schema exists, so the description need not define the response shape, and with zero parameters there are no schema gaps to fill. The account/token context is complete for the call, with the only real omission being explicit usage guidance.

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 leaves nothing to document; the baseline of 4 applies. The description appropriately adds no parameter detail because none exists.

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 ("Check") and resource ("current user's token status and account information") and enumerates the exact fields retrieved. It is clearly distinguishable from the sibling generation tools, though it never explicitly names or contrasts with them.

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 only implied — an agent can infer this is used to verify token balance before generation, but there is no explicit when-to-use statement, no alternatives named, and no prerequisite context. The note that remaining tokens apply to non-paid users gives some scoping help.

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.