Skip to main content
Glama

Check StructOCR Account Credit Balance

get_account_balance
Read-onlyIdempotent

Retrieve remaining non-expiring StructOCR credits, lifetime usage, and current-month API request metrics to monitor account usage and plan OCR work.

Instructions

Retrieve your remaining StructOCR non-expiring credit balance, lifetime usage, and current-month API request metrics (GET /v1/account/balance, 0 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_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description's job is to add context — and it does, disclosing that credits are non-expiring and that the call costs 0 credits. Those are behaviorally meaningful facts not present in structured fields. It stops short of describing response shape or any rate limits, which keeps it from a 5.

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?

A single well-formed sentence that front-loads the primary resource (balance) and appends the secondary metrics and endpoint. No filler, no redundancy with the title.

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?

For a zero-parameter, read-only status tool with rich annotations and no output schema, the description supplies everything needed: what is returned, that it costs nothing, and the endpoint. An agent can invoke it correctly with only this text.

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 there is nothing for the description to disambiguate; baseline 4 applies. The description correctly does not waste space restating an empty 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 description names a specific verb (Retrieve) and three concrete resources — non-expiring credit balance, lifetime usage, and current-month API request metrics — plus the underlying endpoint GET /v1/account/balance. That is enough for an agent to distinguish it immediately from the sibling extraction/document tools.

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?

Usage is implied rather than stated: an agent can infer this is the tool for checking credit/quota status, and the '(0 credits)' note usefully signals it is free to call. However, there is no explicit when-to-use or when-not-to-use framing, and no mention of when an agent should check balance versus simply attempting a paid operation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.