Skip to main content
Glama
Agent Trading Desk

Agent Trading Desk

evaluate_dynamic_exit

Monitors open positions to lock in partial profits at momentum peaks and automatically ratchets trailing stops, securing gains without static take-profit orders.

Instructions

Autonomous in-trade profit guardian for AI agents. Continuously monitors open positions to lock in partial profits during momentum peaks and automatically ratchets trailing stops to secure risk-free runners without rigid static take-profits ($0.01).

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>",
      "entryPrice": "<entryPrice>"
    },
    "name": "evaluate_dynamic_exit"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideNoPosition direction ("LONG" or "SHORT")
symbolYesThe asset pair symbol, e.g. "APT/USD", "SOL/USD"
entryPriceYesThe execution price where the position was entered
currentPriceNoOptional live price override. If omitted, uses Sim Lab server real-time feed
minutesInTradeNoOptional elapsed time in trade (minutes)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/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 behavioral burden, and it fails: "continuously monitors" and "automatically ratchets trailing stops" imply a stateful, side-effecting process, while the schema shows a stateless one-shot evaluation keyed on symbol/entryPrice. It never clarifies whether orders are placed, whether stops are mutated server-side, or whether output is advisory only.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but both sentences are marketing phrasing ("profit guardian for AI agents," "risk-free runners") that consume the whole budget without stating the operation or return value. The parenthetical "($0.01)" is unexplained and adds confusion rather than precision.

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 a 5-parameter tool with no annotations and no output schema, the agent still cannot tell what comes back (a decision, a stop price, a status) or what to do with it. The description leaves the core contract of the tool undefined despite being the only source of that information.

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 coverage is 100%, so every parameter including side's enum and the currentPrice fallback is already documented in the schema. The description adds no meaning beyond it, and the "($0.01)" aside references a take-profit concept that maps to no parameter. Baseline 3 applies when the schema does the heavy lifting.

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

Purpose3/5

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

The description signals the domain (in-trade exit/profit management) and distinguishes it from pre-trade siblings, but it never states the actual operation: whether it returns an exit recommendation, a stop level, or executes anything. "Autonomous in-trade profit guardian" is a persona label rather than a verb+resource, leaving the agent to infer that evaluate_dynamic_exit produces an evaluation.

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?

There is no when-to-use guidance, no condition selecting this over siblings like pre_trade_check or get_active_strategy, and no stated prerequisites. The only implicit cue is "in-trade," which hints at a phase but not at call timing or alternatives.

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