Skip to main content
Glama

Odyssey Loopr

Quote open

quote_open
Read-only

Quote opening a leveraged position: expected collateral, debt, health factor and liquidation price. Returns a quote envelope; expiresAt is unix ms and quotes expire after 180 seconds. Amounts are base-unit integer strings.

Input Schema

NameRequiredDescriptionDefault
amountYesCollateral amount in base units
chainIdYesEVM chain id
leverageYesTarget leverage as a plain number between 1.01 and 100: 3 means 3x (not 1e18 fixed-point). An open must borrow, so 1 is not accepted; to add collateral without borrowing, adjust an existing position
slippageNoSlippage tolerance as a decimal: 0.005 means 0.5% (not 1e18 fixed-point)
strategyIdYesStrategy id from list_strategies (`strategyId`)
borrowTokenNoDisambiguates strategies that share strategyId and collateral
collateralTokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=false, and the description stays consistent with that (quoting, no state change). It adds genuinely useful behavior beyond the annotations: the return is a quote envelope, expiresAt is in unix ms, quotes expire after 180 seconds, and all amounts are base-unit integer strings.

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

Conciseness5/5

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

Three tight sentences, front-loaded with the resource and its outputs, then return envelope and expiry, then the unit convention. No redundant restatement of the name or title.

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 7-parameter, 5-required preview tool with no output schema, the description covers the key outputs, the expiry contract, and unit formats. The main remaining gap is not explaining how the quote relates to the build_open call that consumes it.

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 86%, so most parameters are already documented in the schema, including the leverage and slippage semantics. The description only reinforces unit conventions ('amounts are base-unit integer strings') and says nothing about the undocumented collateralToken or borrowToken parameters beyond what the schema already covers.

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 verb (quote) and resource (opening a leveraged position) and enumerates what the quote computes: expected collateral, debt, health factor and liquidation price. It does not explicitly distinguish itself from the sibling build_open, though 'Returns a quote envelope' implies a preview-only counterpart.

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?

Usage is implied by the name rather than stated; the description never says 'use this before build_open' or contrasts with quote_adjust/quote_repay. The 180-second expiry note is the only procedural guidance, hinting that the quote must be consumed promptly, which is useful but indirect.

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.

Resources