Skip to main content
Glama
Mofesto

ctbcsec-api-mcp-server

by Mofesto

futopt_modify_order

Modify an existing futures or options order by updating quantity and price. Provide order, account, and contract details to apply changes.

Instructions

Modify an existing futures/options order.

Args: account_id: Account ID order_id: Original order ID order_number: Order number contract_id: Contract ID new_quantity: New quantity current_quantity: Current remaining quantity matched_quantity: Matched quantity new_price: New price product_type: Product type trade_date: Trading date (defaults to today) modify_type: Modification type price_type: Price type condition: Order condition contract_id2: Second leg contract ID pre_order: Pre-order flag

Returns: Modification result

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_idYes
conditionNo
new_priceYes
pre_orderNo
account_idYes
price_typeNo
trade_dateNo
contract_idYes
modify_typeNo
contract_id2No
new_quantityYes
order_numberYes
product_typeNo
current_quantityYes
matched_quantityYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageNoResponse message or error description
successYesWhether the operation succeeded
order_idNoOrder ID if successful
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It only states the action and returns a vague 'Modification result.' It does not disclose side effects, prerequisites (e.g., order must be in modifiable state), reversibility, or the meaning of modification types. This is a mutation tool with zero behavioral 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 efficiently structured: a one-sentence purpose followed by a straightforward parameter list and return line. It wastes no words but is a bit terse; still, it earns its place for a parameter-heavy tool.

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?

With 15 parameters, 8 required, no annotations, and an output schema that is not shown here, the description is minimally adequate. It provides parameter names and one-liner definitions but omits critical details such as enum meanings, modification type semantics, ordering of operations, or example usage. It is not complete enough for an agent to confidently use the tool without additional knowledge.

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?

The description enumerates all 15 parameters with brief human-readable semantics (e.g., 'Original order ID', 'Current remaining quantity', 'Second leg contract ID') that go beyond the schema's bare titles. However, some parameters like modify_type, price_type, and condition lack explanation of their enum values or defaults, so it doesn't fully compensate for the 0% schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'Modify an existing futures/options order,' which is a specific verb+resource statement that clearly differentiates it from sibling tools like futopt_new_order and futopt_cancel_order. The intent is unambiguous.

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 is implied by the tool name and purpose ('modify an existing order'), but there is no explicit guidance on when to choose this over alternatives or any exclusions (e.g., cannot modify fully filled orders). It doesn't compare to futopt_cancel_order or futopt_new_order.

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/Mofesto/ctbcsec-api-mcp-server'

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