Skip to main content
Glama

APKCube

Check credits

get_account
Read-only

How many credits are left on the key you are using, and what that key is. Free. Every successful call also reports this in _meta, so reach for this one when you need to know before you spend — a download costs 10 — or when your calls have been failing and you have not seen a balance in a while.

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

Output Schema

NameRequiredDescriptionDefault
keyIdYesId of the credential that made this call, as `<kind>:<id>` — `key:` for an API key, `oauth:` for an MCP client's OAuth grant. Treat it as an opaque string: it identifies the credential, not the account, and further kinds may appear.
creditsYesCredits left on the account this key bills to, after this call.
memberSinceYesWhen the account was created.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover only the safety profile (readOnlyHint=true, openWorldHint=false), and the description adds genuinely new behavior: the call itself is free, so probing costs nothing, and the balance is redundantly reported in `_meta` on every successful response. The 10-credit download cost gives the agent a concrete budgeting unit that exists nowhere in structured fields.

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?

Purpose is front-loaded in the first clause, then usage and cost detail follow in a compact flow. The closing clause about failing calls is a touch conversational but still carries actionable diagnostic guidance; no sentence is pure filler.

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 zero parameters and an output schema present, the description need not explain return shape, and it doesn't. It supplies exactly the missing pieces — cost of the call, cost of a download, and cross-tool `_meta` redundancy — which is everything an agent needs to decide to invoke it.

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 no parameters, so the baseline is 4 under the stated rule. The description correctly adds no invented parameter discussion and instead implies key identity is derived from the calling credential, which is consistent with an empty object schema.

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 opening clause states both the returned resource and its scope precisely: remaining credits and the identity of the key being used. No sibling in the list reports account balance, so an agent can immediately place it as the billing/identity probe rather than an app- or version-level read.

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?

Explicit when-to-use guidance: before spending (with the concrete cost signal that a download costs 10) and as a diagnostic when calls fail without a visible balance. It also implicitly bounds usage by noting every successful call already surfaces this in `_meta`, so the agent knows this is a deliberate pre-spend or recovery check, not a routine call.

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