Skip to main content
Glama

Get account

get_account
Read-onlyIdempotent

The connected Mage account: its username, its Gems balance, what auto top-up can add when a generation needs more (gems.auto_top_up: the Gems of one package, bought at most once per generation, and the Gems it can still add this month, null for no monthly limit; both 0 when it is off), and how many generations are in flight against its limit. Every generation started here is paid from this balance, and generate refuses one past the limit (too_many_requests), counting generations started in the Mage app too, so read this before starting a batch.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, and the description adds substantive context beyond them: this balance funds every generation started here, the limit counts generations started in the Mage app too, and exceeding it yields `too_many_requests`. That is exactly the cross-tool behavioral coupling an agent needs.

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?

It is a single front-loaded sentence that opens with the resource and defers the usage rule to the end, so the key facts arrive early. The nested parenthetical defining auto top-up is dense and slows parsing, but every clause carries information not available in structured fields.

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 input parameters, no output schema, and only coarse annotations, the description carries the full burden and meets it: it describes the returned data, the meaning of its null/zero edge cases, and the operational implication for the generate sibling. Nothing essential for correct invocation 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?

There are zero input parameters, so the baseline is 4. The description goes further by defining the semantics of returned fields, notably `gems.auto_top_up` (one package per generation, at most once per generation, remaining monthly allowance, null meaning no monthly limit, both zero when off), which compensates for the absent output schema.

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 the specific resource and enumerates exactly what it exposes: username, Gems balance, auto top-up state, and in-flight generation count against the limit. It is unmistakably distinct from siblings like get_model or list_history, though it never states the operation as a verb ("get/read") and relies on a noun phrase.

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?

It gives an explicit call condition: "read this before starting a batch," and explains the consequence of skipping it — generate refuses with `too_many_requests` once the limit is passed. That is a concrete when-to-use rule tied to a named sibling's failure mode, not an inference.

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