Skip to main content
Glama
Public.com MCP Server

Public.com MCP Server

Official
by PublicDotCom

place_short_order

Places an equity short-sale order after preflighting against limits; refused orders are not sent, and supported clients ask for confirmation before executing the real trade.

Instructions

Place an equity short-sale order.

⚠️ This executes a real trade. Before submitting, the server preflights this exact order and refuses it if the preflight fails or breaks a configured limit; when the client supports it, the user is asked to confirm. A refused order comes back with "submitted": false and is not sent.

Args: symbol: Ticker symbol to short (e.g. "AAPL"). quantity: Number of shares to short. order_type: MARKET, LIMIT, STOP, STOP_LIMIT, MARKET_ON_CLOSE or LIMIT_ON_CLOSE. Default is MARKET. The on-close types execute at the closing auction. time_in_force: DAY or GTD. Default is DAY. limit_price: Required for LIMIT, STOP_LIMIT and LIMIT_ON_CLOSE orders. stop_price: Required for STOP and STOP_LIMIT orders. expiration_time: Required when time_in_force is GTD. ISO 8601 format. equity_market_session: CORE or EXTENDED. account_id: Account ID. Optional if PUBLIC_COM_ACCOUNT_ID is set.

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>",
      "quantity": "<quantity>"
    },
    "name": "place_short_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYes
quantityYes
account_idNo
order_typeNoMARKET
stop_priceNo
limit_priceNo
time_in_forceNoDAY
expiration_timeNo
equity_market_sessionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=false, openWorldHint=true), the description discloses that this executes a real trade, that a server-side preflight gate can refuse it, that users may be prompted to confirm, and that refusal returns "submitted": false without sending. What it omits is the non-idempotency risk stated in annotations—nothing warns against retrying after an ambiguous response, which matters for a real-money order.

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 one-line purpose is front-loaded, immediately followed by the real-trade warning, then a scannable args block—good ordering with no filler prose. It is longer than average, but the length is justified by nine undocumented parameters; only the repeated parameter names are mildly redundant.

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 nine-parameter, non-idempotent trading mutation, the definition covers the safety gate, refusal semantics, conditional parameter requirements, and defaults, and an output schema exists so return shape needn't be explained. Remaining gaps are minor: no default or behavior stated for equity_market_session, and no mention of account permissions or duplicate-submission handling.

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

Parameters5/5

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

With 0% schema coverage across 9 parameters, the description carries the full burden and does: it explains symbol and quantity, enumerates all order_type and time_in_force values with defaults, states which price field is conditionally required for which order type, specifies ISO 8601 for expiration_time when GTD, and notes account_id's fallback to an environment variable.

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?

"Place an equity short-sale order" gives a specific verb (place), resource (order), and a scope qualifier (equity short-sale) that separates it from the generic place_order and the multileg/spread siblings. An agent can pick this tool without opening the schema.

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

Usage Guidelines4/5

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

It establishes the trigger condition (shorting an equity) and implicitly de-conflicts with the preflight sibling by stating the server preflights the exact order automatically, plus that a client-side confirmation may occur. It stops short of explicit when-not guidance (e.g., use place_order for longs, or that a standalone preflight call is unnecessary).

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