Skip to main content
Glama

Leverage quote

gage_leverage_quote
Read-onlyIdempotent

Preview a leveraged loop for a pledge and a multiple: amounts, cost and the most the purchase costs. Signs nothing.

Input Schema

NameRequiredDescriptionDefault
ownYesThe tokens you put in, raw units
termYesLoan term in seconds, one of the terms gage_capabilities lists
tokenYes
walletNo
multipleYesLeverage, 1.1 to 3 with at most two decimals (2 = twice the pledge held for the loan)
lendAssetNoUSDG only: leverage lends USDG (a loop in a lend asset is refused; a lend asset's puts open with put_open)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / lendAsset / description
      Previous value: -"USDG only: leverage lends USDG (a loop in a lend asset is refused)"New value: +"USDG only: leverage lends USDG (a loop in a lend asset is refused; a lend asset's puts open with put_open)"
  2. 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 readOnly/idempotent/non-destructive, and 'Signs nothing' reinforces the no-side-effect profile while describing what the preview returns (amounts, cost, maximum purchase cost) — valuable since there is no output schema. It stops short of stating refuse conditions or the wallet's role.

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?

A single front-loaded sentence that names the action, the inputs, the outputs, and the safety property with zero wasted words.

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 read-only quote with no output schema, the description adequately conveys what comes back and that nothing is signed. Minor omissions are the valid-term source and behavior when a lend asset is refused, both of which the schema partially covers.

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 67% and already documents own, term, multiple, and lendAsset well, including the refuse/open semantics of lendAsset. The description adds only the 'pledge'/'multiple' framing and nothing about the undocumented token and wallet parameters, so it does not compensate for the gap.

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 and resource ('Preview a leveraged loop') plus the key inputs (pledge, multiple) and the returned content (amounts, cost, max purchase cost). The closing 'Signs nothing' implicitly separates it from the prepare_* siblings, though it never names gage_prepare_leverage directly.

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 rather than stated: an agent can infer this is the dry-run before gage_prepare_leverage, but there is no explicit 'use this before preparing' guidance, no when-not condition, and no reference to gage_capabilities for valid terms.

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