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

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/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 full burden of behavioral disclosure. It clearly states that the tool 'retrieves information' and provides a return type (JSON string) plus the exact set of fields returned. While it doesn't mention side effects, the read-only nature is implied and adequately documented.

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?

The description is well-organized with a brief intro, a bulleted list, and a returns line. It is concise and each part adds meaning, though the bullet list could be compressed slightly without losing clarity.

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?

Given the tool has no parameters and an output schema exists, the description fully specifies the tool's purpose and expected output. The list of retrieved properties and the return format make it complete for an agent to select and invoke correctly.

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 input schema has zero parameters, and the description correctly does not fabricate parameter details. The baseline score for zero parameters is 4, and the description adds value by explaining the output context even though there is nothing to document about parameters.

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 opens with a specific verb 'Check' and a clear resource: 'the current user's token status and account information.' It then enumerates the exact data points (User ID, paid status, remaining tokens, validity), which unambiguously distinguishes it from all sibling tools that focus on media generation or editing.

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?

The usage context is clear: this tool is for querying one's own token/account info. The phrase 'current user' specifies who the information pertains to, making it obvious when to use it. However, it doesn't explicitly state alternatives or exclusions, though no sibling tool performs a similar function.

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