Skip to main content
Glama
schwab-mcp

schwab-mcp

by HGZ-20

Preview Custom Raw Order

preview_raw_order
Read-onlyIdempotent

Previews a raw Charles Schwab order through the official previewOrder endpoint, letting you validate order details without submitting a live trade.

Instructions

Call Schwab's official previewOrder endpoint directly without submitting a live order.

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": {
      "order_payload": "<order_payload>"
    },
    "name": "preview_raw_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNo
order_payloadYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds that this hits Schwab's official endpoint directly and does not submit a live order, but it omits auth requirements, validation behavior, and any rate-limit or error-handling context.

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 description is a single front-loaded sentence with no wasted wording. It is concise and readable, though its brevity contributes to the missing parameter and usage detail assessed elsewhere.

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

Completeness2/5

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

The tool involves a nested raw order payload and an optional account, yet the description gives no guidance on payload structure, account selection, or authentication. Output schema and annotations reduce the burden for return values and safety, but the definition remains too thin for an agent to invoke a raw endpoint wrapper confidently.

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?

Schema description coverage is 0%, and the description says nothing about the two parameters. It does not explain the optional account parameter or the structure expected in the required order_payload, leaving the schema to carry meaning that it does not actually document.

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 states a specific action and resource: calling Schwab's official previewOrder endpoint, and clarifies the key scope distinction that no live order is submitted. It is clear against the order-placement siblings, though it does not name an alternative explicitly.

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?

The phrase 'without submitting a live order' implies this is for validating or previewing an order rather than placing it, which gives useful context. However, there is no explicit when-to-use guidance, no stated prerequisites such as authentication, and no direct comparison to place_raw_order or other order tools.

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