Skip to main content
Glama

PHANTOM ID — agent payments (USDC on Base)

Get the account's spending budget status

phantom_get_budget_status
Read-onlyIdempotent

Read-only view of the agent-wallet budget authorized with phantom_authorize_budget: allocated / spent / remaining USDC units (6 decimals), daily cap, spent today, funder wallet and binding mode. Use before spending to check remaining headroom, or to audit an agent's budget. Requires the account's PHANTOM_API_KEY.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
contentYes
isErrorNoTrue when the API call failed; text carries { error: { code, message } }.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds genuinely useful context beyond that: the PHANTOM_API_KEY auth requirement and the 6-decimal USDC unit convention. With the safety traits already in structured data, this is solid but not rich enough for 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, densely packed but zero waste: the first defines the resource and its fields, the second gives usage contexts, with the auth prerequisite appended. Content is front-loaded on what the tool returns rather than burying it behind preamble.

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 spelled out, yet the description still summarizes them usefully, and it discloses the API key requirement. Complete enough to invoke correctly; only a note on failure modes (e.g. no budget authorized yet) would improve it.

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 no parameter meaning for the description to convey; the baseline of 4 applies. The description's mention of 6-decimal units is about returned values, not inputs.

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?

States a specific verb and resource (read-only view of the agent-wallet budget) and enumerates exactly what the view contains: allocated/spent/remaining USDC units with 6 decimals, daily cap, spent today, funder wallet, binding mode. It also ties itself to the sibling that created the budget (phantom_authorize_budget), so an agent can distinguish it from budget-creation and payment tools.

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 explicit when-to-use guidance: 'Use before spending to check remaining headroom, or to audit an agent's budget.' That covers two distinct invocation contexts. It stops short of naming an alternative tool or a when-not-to-use condition, which is why it is not a 5.

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.