Skip to main content
Glama

execute_hedged_trade

Route a trade through automated safety checks before execution, using a risk score to block high-risk orders and prevent liquidation cascades.

Instructions

Routes a trade with pre-trade risk sentinel gating to prevent liquidation cascades and preserve capital.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sideYesOrder side
symbolYesTrading pair (e.g., BTCUSDT)
amountUsdYesNotional trade size in USD
riskScoreYesRisk score from evaluate_trade_risk (0-100)
overrideApprovedNoSet true to override CAUTION recommendations

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries full burden for disclosing behavior. It mentions risk gating but gives no concrete details about what gates or rejects a trade, how overrideApproved interacts with gating, whether an order is actually placed, or what side effects or failure modes exist. This is especially significant for a trade-execution tool.

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 a single front-loaded sentence with no filler. It briefly states what the tool does and why. It loses a point only because the phrase 'pre-trade risk sentinel gating' is jargon-heavy and compresses a lot of unexplained behavior.

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?

This is a potentially irreversible financial action with no annotations and no output schema, yet the description omits crucial context: what happens when risk gating blocks, how override works, and what the caller should expect after execution. The provided schema covers parameters but not the behavioral context needed to invoke it safely.

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%, so the schema already documents every parameter. The description adds no specific parameter-level semantics beyond the general notion of risk gating, which is appropriately at the baseline of 3.

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's core function: routing a trade with pre-trade risk sentinel gating. It also conveys the intended outcome (prevent liquidation cascades, preserve capital), and the verb 'routes' distinguishes this execution tool from the risk-evaluation and parsing siblings.

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 phrase 'pre-trade risk sentinel gating' implies this is the execution step after risk evaluation, and the riskScore parameter references evaluate_trade_risk. However, the description never explicitly states when to use this tool versus alternatives or when not to use it.

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

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/Chainz-Blockchain/binance-agent-mcp'

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