Skip to main content
Glama
Jeric1223

tossinvest-mcp

Prepare order modification

toss_prepare_order_modify
Destructive

Preview changes to an existing open order (quantity, price, or type) and get a confirmation token for user approval. Validates the request without sending it to the market.

Instructions

Previews a change to an EXISTING open regular order — its quantity, price, or order type. The order keeps its identity; only the listed fields change. Find the orderId with toss_get_orders (status 'OPEN'). Use toss_prepare_conditional_order_modify for conditional orders. Nothing reaches the market from this call: it only validates the request and returns a preview plus a confirmation token. Show that preview to the user, obtain explicit approval, then pass the token to toss_submit_prepared_order. The token is single-use and expires 60 seconds after this call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
priceNoNew limit price as a positive decimal string. Required when `orderType` is LIMIT.
orderIdYesIdentifier of the open order, as returned by toss_get_orders.
quantityNoNew share count as a positive decimal string. Omit to leave the quantity unchanged.
orderTypeYesOrder type after the change. LIMIT requires `price`; MARKET forbids it.
Behavior1/5

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

The description states 'Nothing reaches the market from this call: it only validates the request and returns a preview plus a confirmation token,' but the annotations declare destructiveHint: true. This is a direct contradiction: the tool is described as non-destructive while the annotation implies destructive effects. No other behavioral traits beyond the contradictory statement are disclosed.

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?

The description is a single, focused paragraph of four sentences. It front-loads the main purpose, then covers prerequisites, alternatives, side effects, and next steps without redundancy or filler.

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 preparation tool with no output schema, the description covers the core workflow: validation, preview, token, expiry, and submission. It doesn't describe the preview's contents or return format, but it's sufficient for an agent to understand the tool's role in the order modification process.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already provides 100% coverage of parameter meanings, including conditional requirements. The description adds a little context (e.g., 'only the listed fields change,' 'Find the orderId with toss_get_orders'), but these are minor additions. Baseline of 3 is appropriate.

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 clearly states the tool previews a change to an existing open regular order, specifying the fields (quantity, price, order type). It also distinguishes from the sibling tool toss_prepare_conditional_order_modify by explicitly saying to use that for conditional orders.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit when-to-use guidance: find orderId via toss_get_orders with status 'OPEN', use a different tool for conditional orders, and follow the workflow of showing the preview, obtaining approval, then submitting via toss_submit_prepared_order. This clearly directs the agent.

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/Jeric1223/tossinvest-mcp'

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