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

@proof-holdings/mcp-server

Official

get_usage

Read-only

Retrieve usage metrics for the authenticated Proof account, including verification counts, API calls, and quota consumption, to monitor activity and track monthly limits.

Instructions

Get usage metrics for the authenticated account. Shows verification counts, API calls, and quota usage.

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

Input Schema

NameRequiredDescriptionDefault
monthsNoNumber of months of history
periodNoMonth to query in YYYY-MM format (e.g. 2026-01)

Output Schema

NameRequiredDescriptionDefault
planYes
limitYesThe plan's included verifications per month
balanceYesThe prepaid balance as `GET /me/billing/balance` reports it, without `billing_enabled` (the usage read carries that itself) or `top_up_charges`
periodsYesThe months asked for that have a record, newest first
hard_limitYes
percentageYes`current_usage` as a percentage of `limit`, rounded
is_on_trackYesnull when fewer than 5 days have passed or usage is 0
card_on_fileYes
top_channelsYes
current_usageYesVerifications, confirmations, authorizations and delegations this month, counted from the requested months' records: 0 when `period` names another month, since the current month's record is then not among them
current_periodYesThe current month, `YYYY-MM`
days_remainingYes
billing_enabledYes
projected_eom_usageYes
projection_unreliableYestrue when the projection exceeds the limit three times over
channels_with_zero_completionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.10.0
    • changedOutput schema / properties / balance / description
      Previous value: -"The prepaid balance as `GET /me/billing/balance` reports it, without `billing_enabled` (the usage read carries that itself)"New value: +"The prepaid balance as `GET /me/billing/balance` reports it, without `billing_enabled` (the usage read carries that itself) or `top_up_charges`"
  2. Changed2 schema fields changedv1.7.2
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "description": "Usage for the current billing period, with the months asked for",
      +  "properties": {
      +    "balance": {
      +      "additionalProperties": {},
      +      "description": "The prepaid balance as `GET /me/billing/balance` reports it, without `billing_enabled` (the usage read carries that itself)",
      +      "properties": {
      +        "auto_top_up": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "amount": {
      +              "anyOf": [
      +                {
      +                  "maximum": 9007199254740991,
      +                  "minimum": -9007199254740991,
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "enabled": {
      +              "type": "boolean"
      +            },
      +            "has_payment_method": {
      +              "type": "boolean"
      +            }
      +          },
      +          "required": [
      +            "enabled",
      +            "amount",
      +            "has_payment_method"
      +          ],
      +          "type": "object"
      +        },
      +        "balance": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "amount": {
      +              "maximum": 9007199254740991,
      +              "minimum": -9007199254740991,
      +              "type": "integer"
      +            },
      +            "currency": {
      +              "type": "string"
      +            },
      +            "mills": {
      +              "maximum": 9007199254740991,
      +              "minimum": -9007199254740991,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "amount",
      +            "currency",
      +            "mills"
      +          ],
      +          "type": "object"
      +        },
      +        "low_balance_threshold": {
      +          "maximum": 9007199254740991,
      +          "minimum": -9007199254740991,
      +          "type": "integer"
      +        },
      +        "top_up_amounts": {
      +          "items": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "balance",
      +        "low_balance_threshold",
      +        "top_up_amounts",
      +        "auto_top_up"
      +      ],
      +      "type": "object"
      +    },
      +    "billing_enabled": {
      +      "type": "boolean"
      +    },
      +    "card_on_file": {
      +      "type": "boolean"
      +    },
      +    "channels_with_zero_completions": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "current_period": {
      +      "description": "The current month, `YYYY-MM`",
      +      "type": "string"
      +    },
      +    "current_usage": {
      +      "description": "Verifications, confirmations, authorizations and delegations this month, counted from the requested months' records: 0 when `period` names another month, since the current month's record is then not among them",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "days_remaining": {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "hard_limit": {
      +      "anyOf": [
      +        {
      +          "maximum": 9007199254740991,
      +          "minimum": -9007199254740991,
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "is_on_track": {
      +      "description": "null when fewer than 5 days have passed or usage is 0",
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "limit": {
      +      "description": "The plan's included verifications per month",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "percentage": {
      +      "description": "`current_usage` as a percentage of `limit`, rounded",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "periods": {
      +      "description": "The months asked for that have a record, newest first",
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "by_channel": {
      +            "additionalProperties": {
      +              "maximum": 9007199254740991,
      +              "minimum": -9007199254740991,
      +              "type": "integer"
      +            },
      +            "properties": {},
      +            "type": "object"
      +          },
      +          "by_hitl_channel": {
      +            "additionalProperties": {
      +              "maximum": 9007199254740991,
      +              "minimum": -9007199254740991,
      +              "type": "integer"
      +            },
      +            "properties": {},
      +            "type": "object"
      +          },
      +          "by_type": {
      +            "additionalProperties": {},
      +            "properties": {
      +              "domain": {
      +                "maximum": 9007199254740991,
      +                "minimum": -9007199254740991,
      +                "type": "integer"
      +              },
      +              "email": {
      +                "maximum": 9007199254740991,
      +                "minimum": -9007199254740991,
      +                "type": "integer"
      +              },
      +              "phone": {
      +                "maximum": 9007199254740991,
      +                "minimum": -9007199254740991,
      +                "type": "integer"
      +              },
      +              "social": {
      +                "maximum": 9007199254740991,
      +                "minimum": -9007199254740991,
      +                "type": "integer"
      +              },
      +              "telegram_bot": {
      +                "maximum": 9007199254740991,
      +                "minimum": -9007199254740991,
      +                "type": "integer"
      +              },
      +              "wallet": {
      +                "maximum": 9007199254740991,
      +                "minimum": -9007199254740991,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "phone",
      +              "email",
      +              "domain",
      +              "social",
      +              "wallet",
      +              "telegram_bot"
      +            ],
      +            "type": "object"
      +          },
      +          "period": {
      +            "type": "string"
      +          },
      +          "total_authorizations": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          "total_confirmations": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          "total_delegations": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          "total_verifications": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "period",
      +          "total_verifications",
      +          "total_confirmations",
      +          "total_authorizations",
      +          "total_delegations",
      +          "by_type",
      +          "by_channel",
      +          "by_hitl_channel"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "plan": {
      +      "type": "string"
      +    },
      +    "projected_eom_usage": {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "projection_unreliable": {
      +      "description": "true when the projection exceeds the limit three times over",
      +      "type": "boolean"
      +    },
      +    "top_channels": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "channel": {
      +            "type": "string"
      +          },
      +          "completion_rate": {
      +            "type": "number"
      +          },
      +          "count": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "channel",
      +          "count",
      +          "completion_rate"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "plan",
      +    "limit",
      +    "billing_enabled",
      +    "card_on_file",
      +    "hard_limit",
      +    "balance",
      +    "current_period",
      +    "current_usage",
      +    "percentage",
      +    "days_remaining",
      +    "projected_eom_usage",
      +    "is_on_track",
      +    "projection_unreliable",
      +    "top_channels",
      +    "channels_with_zero_completions",
      +    "periods"
      +  ],
      +  "type": "object"
      +}
  3. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description's added value is the authentication prerequisite and restart requirement, which is genuinely useful context an agent cannot get from annotations. Beyond that it adds no behavioral detail — no empty-result behavior, no scoping of what 'authenticated account' means when sub-accounts exist — so a 3 rather than a 4.

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?

Front-loaded with the purpose, then a separate uppercase ACCESS block for the precondition, which is a sensible separation. All sentences carry information; the only redundancy is mild repetition of the account requirement across the purpose line and the access block.

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

Completeness4/5

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

An output schema exists, so return values need not be described, and the two parameters are optional and fully documented in the schema. The one real gap is the semantics of combining 'months' and 'period', but for a read-only metrics tool the definition is otherwise sufficient to call correctly.

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?

Schema description coverage is 100%, so both parameters are fully documented in the schema and a baseline of 3 applies. The description adds no meaning beyond it — notably it does not say whether 'months' and 'period' are mutually exclusive or how they interact, which is the one semantic gap the schema leaves open.

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?

States a specific verb and resource ('Get usage metrics for the authenticated account') and enumerates the contents (verification counts, API calls, quota usage), which distinguishes it from narrower siblings like get_api_key_usage. It does not, however, explicitly contrast itself with those siblings, so it falls short of a 5.

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 an explicit precondition (a Proof account with PROOF_API_KEY configured, plus a server restart) and, valuably, rules out a tempting wrong path: 'start_login does NOT open this tool.' It stops short of explaining when to use 'months' versus 'period', leaving the main selection decision to the caller.

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