Skip to main content
Glama
Open-Agent-Tools

Open Stocks MCP

schwab_cancel_order

Cancel a Schwab order by providing the account hash and order ID. Use this to remove pending or unfilled orders.

Instructions

Cancel a specific Schwab order.

Args:
    account_hash: Account hash from schwab_account_numbers
    order_id: Order ID to cancel

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_hashYes
order_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

Since no annotations exist, the description carries full burden. It only explains parameters and mentions a prerequisite for 'account_hash', but fails to disclose behavioral traits like irreversibility, authorization requirements, or rate limits.

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?

Extremely concise: two sentences plus a parameter list. Front-loaded with core purpose. Every sentence adds value without redundancy.

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?

For a simple cancellation tool with an output schema, the description adequately covers required arguments and prerequisite. However, it omits possible error scenarios or side effects, making it slightly incomplete.

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?

With 0% schema description coverage, the description adds meaning by explaining that 'account_hash' should come from 'schwab_account_numbers' and 'order_id' is the ID to cancel. This compensates for the lack of schema param descriptions.

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?

Description clearly states 'Cancel a specific Schwab order,' providing a specific verb and resource. However, it doesn't explicitly differentiate from sibling tools like 'schwab_cancel_option_order' or the cancellation batch tools, which share similar cancel functionality.

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?

No guidance is provided on when to use this tool versus alternatives such as 'schwab_cancel_all_stock_orders' or 'schwab_cancel_option_order'. The description lacks context for tool selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Open-Agent-Tools/open-stocks-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server