Skip to main content
Glama

Meirra API

Get account balance

get_account
Read-onlyIdempotent

Read the prepaid API wallet of the account this API key belongs to: the balance, the total added and spent, in pence. Free. Call it before a paid tool to check the balance covers it.

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
dataYes
currencyYesThe wallet currency of cost_pence and balance_after.
cost_penceYesWhat this call debited; 0 when it ran but was not charged, in whole wallet pence.
balance_afterYesThe API wallet balance after this call, in whole wallet pence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so safety needs no restating. The description adds genuinely new behavior: the call is free, currency is in pence, and the account scope is derived from the API key rather than a parameter — useful context an agent can't get from annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with what is read and scoped to the calling key, then cost, then the pre-call recommendation. No filler or redundant restatement of the name.

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?

A zero-parameter read tool with a rich annotation set and an output schema; the description covers scope, units, cost, and usage timing, and the return-value detail is appropriately delegated to the output schema.

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 and there is nothing for the description to disambiguate. The description correctly implies no inputs are needed by anchoring scope to the API key itself.

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?

States a specific verb and resource (read the prepaid API wallet) plus the exact scope (the account this API key belongs to) and the returned fields (balance, total added, total spent, in pence). An agent can tell this is the account-funds readout rather than any of the paid sibling tools without opening the schema.

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?

Gives a clear calling context: 'Call it before a paid tool to check the balance covers it', which effectively directs the agent to use this ahead of check_serp/run_seo_report/etc. It falls short of an explicit exclusion clause (e.g. what to do if the balance is insufficient), so it is strong but not fully prescriptive.

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