Skip to main content
Glama

get_wallet

Retrieves a wallet summary with balance, frozen state, today's spend, and active policy so agents can check spending status before payments.

Instructions

Wallet summary: balance, frozen state, spend today, active policy.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "wallet_id": "<wallet_id>"
    },
    "name": "get_wallet"
  }
}

Input Schema

NameRequiredDescriptionDefault
wallet_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden; it does disclose the returned surface (balance, frozen state, spend today, active policy), which usefully signals a read operation. It says nothing about permissions, behavior for an unknown wallet_id, freshness/caching of 'spend today', or whether the call is side-effect free.

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?

One compact line, front-loaded with the resource and the highest-value field list. No filler, no redundancy with the name.

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

Completeness3/5

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

Listing return fields partially substitutes for the missing output schema, which is the strongest part of this definition. But for a tool with no annotations and an undocumented identifier parameter, gaps remain around read-only guarantees, ID semantics, and failure behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter wallet_id has 0% schema description coverage, so the description is the only source of meaning — and it never mentions the parameter, its format, or where to obtain a wallet_id. An agent cannot tell an internal ID from a user-facing handle without guessing.

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?

Identifies the resource (wallet) and the operation type (summary/retrieval) and enumerates the exact state fields returned, which clearly separates it from sibling mutations like fund_wallet, set_policy, and revoke. It stops short of a 5 because 'summary' is a noun phrase rather than an explicit verb, leaving the retrieval action implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit statement of when to call this versus alternatives such as audit_log or check_payment, nor any mention of prerequisites. The read-shaped phrasing implies a state-inspection use case, but the agent must infer that.

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