Skip to main content
Glama

Vault balance and spending

agentguard_balance
Read-only

Check vault balance, remaining spendable funds, 24-hour spending, and paid/blocked/pending payment counts for read-only AgentGuard payment monitoring.

Instructions

Balance, what can still be spent, spending in the last 24h, and counts of paid / blocked / pending payments. Read-only.

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": "agentguard_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.6/5.0
Behavior3/5

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

The readOnlyHint annotation already declares the safety profile, and 'Read-only' merely restates it. The description does add real behavioral content by disclosing which aggregates are computed and that blocked/pending counts are included, but says nothing about freshness, cadence, or whether the 24h window is rolling. For a no-parameter read tool that is adequate rather than rich.

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?

It is a single compact sentence with a trailing qualifier, front-loaded with the returned values an agent would search for. The final 'Read-only.' is largely wasted since the annotation already carries that fact, but the cost is minimal.

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?

With no output schema and no parameters, the description carries the burden of explaining what comes back, and it does list the principal fields plus the three payment-status counters. It does not describe exact field names or structure, which leaves a modest gap for an agent that needs to parse the response.

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 and the baseline of 4 applies. The text correctly presents itself as a parameterless snapshot, which matches the empty object schema.

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?

The description names a specific resource (vault) and enumerates the concrete values returned: balance, remaining spendable amount, 24h spending, and paid/blocked/pending payment counts. That is enough for an agent to know this is the snapshot/monitoring tool rather than a payment action. It stops short of a clean verb-plus-resource framing, opening with a bare noun 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?

Usage is only implied: an agent can infer this is the 'check current state' tool while agentguard_pay and agentguard_payment_status are action/status tools, but the description never states when to prefer it over agentguard_history or agentguard_policy. No exclusions or prerequisites are given.

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