Skip to main content
Glama
@proof-holdings/mcp-server

@proof-holdings/mcp-server

Official

get_balance

Read-only

Retrieve prepaid balance, low-balance threshold, top-up amounts, and auto top-up setting to check if proof requests can proceed or require funding.

Instructions

Get the prepaid balance (in euro cents and mills), the low-balance threshold, the top-up amounts on offer and the auto top-up setting. Proofs past the plan's included amount are drawn from this balance; once billing is live, an account whose balance is at or below zero is refused new proof requests (402 balance_empty) until it tops up. billing_enabled says whether billing is live. Topping up and changing auto top-up are done by the owner in the dashboard, on the Billing page (https://proof.holdings/billing).

ACCESS: needs a Proof account. Set PROOF_API_KEY and restart this server, then call this tool again. start_login does NOT open this tool.

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_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
balanceYes
auto_top_upYes
top_up_amountsYesThe top-up amounts on offer, in euros.
top_up_chargesNoWhat each amount in `top_up_amounts` charges this account, VAT included, as Stripe Tax works it out from the account's company details: an automatic top-up charges the saved card this total. Null when it cannot be worked out (billing off, no payment made yet, or Stripe not answering); absent from an API that predates it.
billing_enabledYesWhether billing is live. While it is off, nothing is drawn from the balance and nothing is paused.
low_balance_thresholdYesThe balance in euro cents below which the owner is sent a low-balance notice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.10.0
    • addedOutput schema / properties / top_up_charges
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "amount_eur": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          "total": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          "vat": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "amount_eur",
      +          "vat",
      +          "total"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "What each amount in `top_up_amounts` charges this account, VAT included, as Stripe Tax works it out from the account's company details: an automatic top-up charges the saved card this total. Null when it cannot be worked out (billing off, no payment made yet, or Stripe not answering); absent from an API that predates it."
      +}
  2. Addedv1.7.2

TDQS

A4.7/5.0
Behavior5/5

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

Beyond readOnlyHint=true the description discloses real behavioral context: proofs past the plan's included amount are drawn from this balance, and accounts at or below zero get refused new proof requests with 402 balance_empty. It also explains billing_enabled as the flag gating that enforcement and spells out the credential requirement (PROOF_API_KEY plus a server restart, and that start_login does not unlock this tool).

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 ordered by importance: what you get, what the values mean operationally, then how to act on them and what access is required. The access note is separated as a labeled paragraph, and no sentence is redundant.

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?

Return values are covered by the output schema and the description adds the operational interpretation the schema cannot. For a zero-parameter read tool with an output schema, the auth prerequisite, enforcement semantics, and the dashboard handoff make this complete enough to call correctly on the first attempt.

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 no parameters, so the baseline is 4 and nothing in the schema needs interpretation. The prose still adds value by naming the units (euro cents and mills) and the semantic meaning of billing_enabled, which the output schema cannot convey on its own.

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?

Opens with a specific verb and resource ('Get the prepaid balance') and enumerates exactly what the response contains: balance in euro cents and mills, low-balance threshold, top-up offers, and auto top-up setting. An agent can distinguish this from list_balance_ledger, which is clearly the transaction history rather than the current state.

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?

Explicitly rules out mutation paths — topping up and changing auto top-up are done by the owner in the dashboard at the given URL — which prevents a wrong-tool call. It also states the condition under which the balance matters (402 balance_empty once billing is live). It does not point to a sibling for browsing past balance movements, which is the only remaining gap.

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

Deploy Server

Other Tools