Skip to main content
Glama

Get account

get_account
Read-onlyIdempotent

Returns the account's e-mail, prepaid balance, purchase limits and account_url for top-ups and API keys. Use it for questions about balance or limits, or after purchase_letter failed. Read-only; top-ups only on the account page, and create_payment_link needs no balance.

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
noteNoHow paying works.
emailNoE-mail address of the connected account.
balanceNoPrepaid balance.
test_modeNoSet when purchases are simulated.
account_urlNoAccount page for top-ups and API keys.
balance_centNoPrepaid balance in cents.
limit_per_dayNoHighest amount per 24 hours for purchase_letter.
spent_last_24hNoAmount spent in the last 24 hours.
letters_last_24hNoLetters commissioned in the last 24 hours.
limit_per_letterNoHighest price per letter for purchase_letter.
daily_letter_limitNoLetters purchase_letter may commission per 24 hours.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties
      Added value: +{
      +  "account_url": {
      +    "description": "Account page for top-ups and API keys.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "balance": {
      +    "description": "Prepaid balance.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "balance_cent": {
      +    "description": "Prepaid balance in cents.",
      +    "type": [
      +      "integer",
      +      "null"
      +    ]
      +  },
      +  "daily_letter_limit": {
      +    "description": "Letters purchase_letter may commission per 24 hours.",
      +    "type": [
      +      "integer",
      +      "null"
      +    ]
      +  },
      +  "email": {
      +    "description": "E-mail address of the connected account.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "letters_last_24h": {
      +    "description": "Letters commissioned in the last 24 hours.",
      +    "type": [
      +      "integer",
      +      "null"
      +    ]
      +  },
      +  "limit_per_day": {
      +    "description": "Highest amount per 24 hours for purchase_letter.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "limit_per_letter": {
      +    "description": "Highest price per letter for purchase_letter.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "note": {
      +    "description": "How paying works.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "spent_last_24h": {
      +    "description": "Amount spent in the last 24 hours.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "test_mode": {
      +    "description": "Set when purchases are simulated.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • removedOutput schema / title
      Removed value: -"get_accountDictOutput"
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already establish that the tool is read-only, idempotent, non-destructive, and closed-world. The description adds useful operational context about top-up location and the connection to failed purchase_letter calls, though it does not discuss error behavior or authentication details.

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?

The description is two tight sentences that front-load what the tool returns and then explain when to use it. Every clause adds actionable context without repetition.

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?

An output schema already exists, so the description need not explain return structure. With annotations covering safety and the description covering purpose, usage, and field contents, an agent has what it needs to call this tool 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 tool has zero parameters, so there is no parameter meaning to add. The baseline for a no-parameter tool is 4, and nothing in the description is needed to clarify inputs.

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 states a specific verb and resource, then enumerates the returned fields: e-mail, prepaid balance, purchase limits, and account_url. It also clarifies the purpose of account_url for top-ups and API keys, making the tool's role distinct from purchase and payment-link siblings.

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 explicit when-to-use conditions: questions about balance or limits, or after purchase_letter failed. It also clarifies when not to rely on it by noting that create_payment_link needs no balance and that top-ups happen only on the account page.

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