Skip to main content
Glama
schwab-mcp

schwab-mcp

by HGZ-20

Place OCO Exit Order

place_oco_order
Destructive

Place or preview a One-Cancels-Other order that pairs take-profit and stop-loss exits for a position, with an optional dry run before submitting.

Instructions

Place (or dry-run preview) an OCO (One-Cancels-Other) order for Take-Profit + Stop-Loss.

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

Input Schema

NameRequiredDescriptionDefault
symbolNo
accountNo
dry_runNo
durationNoGOOD_TILL_CANCEL
quantityNo
asset_typeNoEQUITY
child_ordersNo
confirm_liveNo
stop_loss_priceNo
exit_instructionNo
stop_limit_priceNo
take_profit_priceNo
trailing_stop_offsetNo
trailing_stop_link_typeNoPERCENT
trailing_stop_link_basisNoBID

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 disclose that this is a destructive, open-world, non-idempotent mutation. The description adds useful context by mentioning dry-run preview and explaining the OCO one-cancels-other behavior, but it does not clarify live-trading confirmation, irreversible placement effects, or permission requirements.

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, and the dry-run parenthetical is efficient. It is somewhat too compressed for a 15-parameter high-stakes order tool, but that is better assessed under contextual completeness.

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?

This is a complex, high-stakes order-placement tool with 15 parameters and no schema parameter descriptions, so the description is materially incomplete. Although annotations and the output schema cover safety and return-value aspects, the description does not explain confirmation semantics, core order fields, or how the many optional parameters interact.

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 schema has 15 parameters with 0% description coverage, so the description must carry the burden of explaining them. It only hints at take-profit, stop-loss, and dry-run behavior while leaving symbol, account, quantity, duration, asset type, child orders, confirm_live, stop-limit, and trailing-stop parameters undocumented.

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 verb ('Place') and resource ('OCO order') and clarifies the intended use case: Take-Profit plus Stop-Loss. It does not differentiate this tool from sibling order-placement tools such as bracket or trailing-stop orders, but the core purpose is clear.

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?

It implies usage for combined take-profit and stop-loss exits and mentions a dry-run preview, which gives some when-to-use context. However, it provides no explicit guidance on when to choose OCO versus bracket, trailing-stop, trigger, or other order tools, and no when-not conditions.

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