Skip to main content
Glama

Show the credit balance, prices and today’s usage

get_account
Read-only

Returns the credit balance, what each paid action costs, the plan, paid status, the maximum results per search, and today’s usage against the daily limits (unpaid accounts with less than 0.5 credits drop to 5 searches a day until any purchase). Free. Call it first to confirm the API key works, and before spending credits.

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.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint, openWorldHint), the description discloses that the call is free, that it exposes pricing before spending, and a non-obvious account-state rule: unpaid accounts under 0.5 credits drop to 5 searches/day until a purchase. That is meaningful behavioral context an agent could not infer from the 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?

The return fields are front-loaded in one dense sentence, followed by two short directives, with no filler. The middle clause is somewhat inventory-like, but every item corresponds to a distinct return value or cost implication.

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 output schema, the description carries the burden of describing return contents and does so by enumerating each field. It also covers cost and account-state implications, leaving nothing an agent needs before calling a no-argument diagnostic endpoint.

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 baseline is 4; there is no parameter meaning to add. The description's field enumeration serves as a pseudo-return contract rather than parameter guidance, which is the right use of space here.

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 a single specific resource and then enumerates exactly what it returns: credit balance, per-action prices, plan, paid status, max results per search, and today's usage against daily limits. That enumeration distinguishes it unambiguously from the creator/campaign/search siblings.

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?

It gives explicit when-to-use direction — 'Call it first to confirm the API key works, and before spending credits' — which is concrete and actionable. It doesn't name a when-not condition or an alternative tool, but for a zero-param free diagnostic call there is little ambiguity to resolve.

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