Skip to main content
Glama

place_entry

Places market or limit orders to open LONG or SHORT positions with optional stop-loss and take-profit on Bybit.

Instructions

Place a market or limit order to enter a LONG or SHORT position with SL/TP

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": {
      "symbol": "<symbol>",
      "side": "<side>",
      "qty": "<qty>"
    },
    "name": "place_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
slNoStop-loss price (optional)
tpNoTake-profit price (optional)
qtyYesQuantity in base units (e.g. 14 LINK)
sideYesBuy=LONG, Sell=SHORT
priceNoLimit price (required for Limit orders)
symbolYesTrading pair, e.g. LINKUSDT
leverageNoLeverage 1-100. Omitted → from strategy config (strategy.long/short.leverage). Actual leverage is read back after entry; mismatch is reported
order_typeNoOrder type: Market (default) or Limit (requires price)Market

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv11.5.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full burden for a live order-placement tool, and it discloses almost nothing behavioral: no indication that this executes real trades, whether it blocks until filled, how partial fills or rejections surface, or that SL/TP attach to the entry. The only substantive behavioral detail (leverage read-back and mismatch reporting) lives in the schema, not the description.

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?

One clause, front-loaded with the action and resource, with no filler. It is efficient but so compressed that it omits details a caller of an order-entry tool needs.

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?

For an 8-parameter mutation tool with no annotations and no output schema, the description is inadequate: it never says what a successful call returns (order id, fill price), what the failure modes are, or that it places real orders. The rich schema partially compensates on parameters, but not on behavior.

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?

Schema description coverage is 100%, including enum clarifications (Buy=LONG, Sell=SHORT) and the Limit-requires-price dependency, so baseline 3 applies. The description only echoes 'SL/TP' and 'market or limit', adding essentially no meaning beyond the schema.

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?

States a specific verb and resource ('Place a market or limit order') plus the outcome scope ('enter a LONG or SHORT position with SL/TP'), which is enough to distinguish it from the read-only siblings such as get_positions and scan_market. It stops short of saying whether it can also exit or modify positions, which matters given the name only implies entry.

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 word 'enter' implies this is for opening exposure rather than closing it, and the market/limit split is at least named. But there is no explicit when-to-use guidance, no prerequisites (account/margin/API credentials), and no statement about what to do if a position already exists.

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