Skip to main content
Glama
schwab-mcp

schwab-mcp

by HGZ-20

Get Account Details

get_account_details
Read-onlyIdempotent

Fetch balances, buying power, margin status, and open positions for a Schwab account.

Instructions

Fetch balances, buying power, margin status, and positions for a specific Schwab account.

Args: account: Account number, last 4 digits, or encrypted hashValue (optional if only 1 account or default set). include_positions: Include open positions. raw: Return full unmodified Schwab JSON payload.

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

Input Schema

NameRequiredDescriptionDefault
rawNo
accountNo
include_positionsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/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 that include_positions defaults to including open positions and that raw returns the unmodified Schwab payload — useful but mostly restated as parameter meaning rather than deeper behavior such as error handling when an account cannot be resolved.

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?

The summary sentence is front-loaded with the returned data, followed by a compact Args block, so an agent can scan it quickly. The Args formatting duplicates parameter names already present in the schema, which is mild redundancy but aids readability.

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, and the description covers all three parameters adequately for a read-only, zero-required-parameter tool. What remains missing is the failure mode when multiple accounts exist and no account is supplied, which matters given the openWorldHint.

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?

Schema description coverage is 0%, so the description carries the full burden and does so: account accepts a full number, last 4 digits, or encrypted hashValue, and is optional under stated conditions; include_positions and raw are each explained. The gap is that accepted formats are not exemplified and the resolution order among identifier types is unspecified.

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 uses a specific verb ('Fetch') plus an enumerated resource set (balances, buying power, margin status, positions) scoped to 'a specific Schwab account'. That is clearly distinguishable from siblings like list_accounts or get_quotes, though it does not explicitly contrast itself with get_positions, which overlaps on the positions field.

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 context is implied through the argument notes: account is 'optional if only 1 account or default set', which tells an agent when the parameter can be omitted. However, there is no explicit statement of when to choose this tool over list_accounts or get_positions, and no prerequisites or exclusions are given.

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