Skip to main content
Glama

Compare DeFi Borrow vs Sell (FREE)

compare_borrow_vs_sell

Compare selling appreciated crypto vs borrowing USDC on Aave v3 with a free preview of after-tax costs, LTV, and planId for liquidity decisions.

Instructions

FREE preview comparing selling appreciated crypto vs borrowing USDC on Aave v3. Returns after-tax cost comparison, LTV, and planId.

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": {
      "jurisdiction": "<jurisdiction>",
      "regime": "<regime>",
      "collateralAsset": "<collateralAsset>",
      "collateralAmount": "<collateralAmount>",
      "collateralPriceUsd": "<collateralPriceUsd>",
      "collateralCostBasisUsd": "<collateralCostBasisUsd>",
      "holdingDays": "<holdingDays>",
      "liquidityNeededUsd": "<liquidityNeededUsd>"
    },
    "name": "compare_borrow_vs_sell"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNo
regimeYes
borrowAprNo
holdingDaysYes
horizonDaysNo
pricingTierNo
jurisdictionYes
referrerWalletNo
borrowerAddressNo
collateralAssetYes
collateralAmountYes
collateralPriceUsdYes
liquidityNeededUsdYes
marginalOrdinaryRateNo
collateralCostBasisUsdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool is free and lists some return values, but says nothing about whether the operation is read-only, requires authentication, stores data, or has side effects. For a multi-parameter financial calculation, this is a significant gap.

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 two efficient, front-loaded sentences with no wasted wording. It states the comparison and the returns clearly, though it is under-specified rather than overly concise.

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?

The tool has high complexity: 15 parameters, 8 required, 4 enums, no annotations, and no output schema. The description only states the core comparison and mentions three outputs, leaving parameter semantics, required-field rationale, and behavioral constraints undocumented.

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

Parameters1/5

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

Schema description coverage is 0% across 15 parameters (8 required), and the description explains none of them. It does not clarify required inputs like jurisdiction, regime, collateralAsset, or the cost-basis and liquidity fields, so it fails to compensate for the schema 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?

The description states a specific comparison verb and resources: selling appreciated crypto vs borrowing USDC on Aave v3, plus the outputs. It is clear what the tool does, but it does not differentiate itself from the sibling tax tools by name or scope.

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?

The phrase 'FREE preview' hints that this is a preview step, but the description gives no explicit when-to-use guidance, no when-not-to-use conditions, and no alternatives among the sibling tools. An agent must infer its role from the title alone.

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