Skip to main content
Glama

Account balance and scopes

get_account
Read-only

Your current credit balance and the capabilities this credential holds. Free.

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
formatNoRendering of the human-readable text channel. "prose" (default) is the full result as a formatted document, every field included; "json" repeats the data verbatim; "report" is a formatted Markdown report to show a person; "html" is a standalone HTML document for saving, printing or PDF. Machine-readable structuredContent is always included either way.

Output Schema

NameRequiredDescriptionDefault
dataYes
displayNo
apiVersionYes
disclaimerYes
limitNoticeNo
balanceNoticeNo
suggestedNextNo
criminalCaveatNo
notConsumerReportYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / data / properties / limits
      Added value: +{
      +  "$ref": "#/properties/limitNotice/properties/usage"
      +}
    • addedOutput schema / properties / limitNotice
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "code": {
      +      "const": "approaching_daily_limit",
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "usage": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "criminalSameSubjectPerDay": {
      +          "type": "number"
      +        },
      +        "distinctSubjectsPerDay": {
      +          "type": "number"
      +        },
      +        "distinctSubjectsUsed": {
      +          "type": "number"
      +        },
      +        "resetAt": {
      +          "type": "string"
      +        },
      +        "sameSubjectPerDay": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "distinctSubjectsUsed",
      +        "distinctSubjectsPerDay",
      +        "sameSubjectPerDay",
      +        "criminalSameSubjectPerDay",
      +        "resetAt"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "usage",
      +    "message"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / display
      Added value: +{
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / format / description
      Previous value: -"Rendering of the human-readable text channel. \"prose\" (default) is a compact summary an agent can reason over; \"json\" repeats the data verbatim; \"report\" is a formatted Markdown report to show a person; \"html\" is a standalone HTML document for saving, printing or PDF. Machine-readable structuredContent is always included either way."New value: +"Rendering of the human-readable text channel. \"prose\" (default) is the full result as a formatted document, every field included; \"json\" repeats the data verbatim; \"report\" is a formatted Markdown report to show a person; \"html\" is a standalone HTML document for saving, printing or PDF. Machine-readable structuredContent is always included either way."
  4. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, closed-world, so the safety profile is covered. The description adds one genuinely behavioral fact not in the annotations: this call is free, i.e. it consumes no credits — material information in a credit-metered product where most siblings likely cost money. It stops short of saying anything about what the capability list looks like or whether it reflects the current key's permissions.

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?

Two short clauses, front-loaded with the primary return value (balance), then the secondary (capabilities), then the cost note. No wasted wording, though the phrase 'the capabilities this credential holds' could be tightened to 'its scopes'.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema exists, so return values need not be spelled out, and annotations cover safety. Still, for a tool whose second return value is a permission/scope listing, the description gives an agent no sense of how to interpret or act on those capabilities, which is the less obvious half of the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only one optional parameter and the schema documents it at 100% coverage, including all four enum renderings, so the schema carries the burden. The description says nothing about the 'format' parameter or which rendering suits which audience; baseline 3 applies.

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?

Names two concrete resources it returns: the credential's credit balance and its granted capabilities/scopes. An agent can tell this is an account-introspection read, clearly distinct from the person/property lookup siblings. Slightly docked because 'the capabilities this credential holds' is loose phrasing for what is presumably a scope list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit 'use when' or 'do not use when', but the purpose (checking balance and credential entitlements) makes the trigger reasonably implied, and the trailing 'Free' signals it is a cheap pre-flight check. No alternative tool is named for any related need.

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