Skip to main content
Glama

Propose TWAP order

propose_twap

APPROVAL CARD ONLY — NEVER auto-executed. Approval card, never auto-executed: a venue-native Hyperliquid TWAP (the venue slices one order into market suborders over the running time, app closed or not): 5-10080 minutes, $100+ total, slices capped at 3% slippage. Opens the perps ticket in TWAP mode; the user signs; the TOTAL size counts against caps. Recorded as a proposed card; the result carries deep_link, the in-app page where the user reviews, confirms and signs. Never executes, never moves funds. Needs the trade:propose scope (PAT).

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": {
      "market": "<market>",
      "side": "<side>",
      "size": "<size>",
      "duration_minutes": "<duration_minutes>",
      "rationale": "<rationale>"
    },
    "name": "propose_twap"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideYes
sizeYesTOTAL base size.
venueNo
marketYese.g. ETH-USD
randomizeNo±20% slice sizes.
rationaleYes
reduce_onlyNoExit: slices only reduce.
duration_minutesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: explains that nothing is executed, no funds move, the output is a recorded approval card whose result carries a deep_link the user must sign, and that the TOTAL size counts against caps. It also discloses the venue-side slicing behavior and slippage guard, which annotations (readOnlyHint=false, destructiveHint=false) do not convey.

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

Conciseness3/5

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

The opening is front-loaded correctly with the safety constraint, but 'APPROVAL CARD ONLY — NEVER auto-executed' is immediately repeated as 'Approval card, never auto-executed' and 'Never executes, never moves funds' appears again at the end — the same point is made three times. Useful content is there, but the redundancy costs efficiency.

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

Completeness5/5

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

No output schema exists, and the description covers what comes back (a proposed card with deep_link to the in-app review/sign page), who acts next (the user signs), and the auth prerequisite. For an 8-param mutation-adjacent proposal tool, nothing essential is missing.

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

Parameters4/5

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

Schema coverage is only 50%, and the description compensates meaningfully: duration_minutes is bounded (5-10080), size is explicitly 'TOTAL base size' with a $100+ floor and cap-counting semantics. Remaining params (market, venue, side, rationale, randomize, reduce_only) are either self-evident or documented in the schema.

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?

States a specific verb and resource — propose a venue-native Hyperliquid TWAP where the venue slices one order into market suborders over the running time — and explicitly frames it against a plain perps ticket by saying it 'Opens the perps ticket in TWAP mode.' An agent can tell this apart from propose_trade/propose_dca without opening any 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?

Gives concrete gating context: 5-10080 minute duration window, $100+ total, 3% per-slice slippage cap, and the trade:propose PAT scope requirement, which is exactly what an agent needs to decide eligibility. It stops short of naming an alternative (e.g., when to use propose_trade or propose_dca instead), so no explicit exclusion rule is stated.

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.