Skip to main content
Glama

risk_reward

Risk/reward ratio from entry, stop and target, the win rate needed to break even and position size for a fixed risk. 0.001 USDC per call via x402.

Input Schema

NameRequiredDescriptionDefault
stopYesStop loss
entryYesEntry
targetYesTake profit
riskAmountNoMoney at risk
paymentProofNoPayment proof: USDC tx hash on Polygon or Base (0x...) or Solana tx signature. Omit on the first call to receive the 402 payment instructions, pay, then call again with the proof.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries full burden; it does disclose the pricing model (0.001 USDC per call via x402), which is meaningful behavioral context. However, it omits error behavior, what permissions/flow are needed beyond the brief pricing note, and the return structure.

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?

Two tight sentences, front-loaded with the core purpose and followed by the pricing note. No filler, though the pricing could arguably be folded more tightly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers purpose, the computed outputs (useful since there's no output schema), and pricing. But with five parameters, no annotations, and overlapping siblings, it lacks usage routing and enough behavioral detail for a mutation-adjacent financial tool.

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 the schema already documents all five parameters, giving a baseline of 3. The description ties 'position size for a fixed risk' to riskAmount and lists the computed outputs, but adds no new syntax or format detail 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 computation (risk/reward ratio, break-even win rate, position size) from named inputs (entry, stop, target), so an agent can tell what the tool does. It doesn't explicitly distinguish itself from siblings like break_even_price, kelly_size, or position_pnl, whose outputs partially overlap.

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?

No when-to-use or when-not guidance is given, and the closest siblings (break_even_price for break-even win rate, kelly_size for position sizing, position_pnl) are never mentioned. The agent must infer selection from the description alone.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.