Skip to main content
Glama

A wallet's DeFi positions

get_defi_positions
Read-onlyIdempotent

What a wallet has supplied, borrowed and locked as collateral across the DeFi protocols we decode, with net value in ADA.

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": {
      "address": "<address>"
    },
    "name": "get_defi_positions"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesWallet: addr1…, stake1… or $handle.

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?

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description's one real addition is 'across the DeFi protocols we decode', which usefully warns that coverage is partial, but it says nothing about return formatting, supported chains, or behavior for wallets with no positions.

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?

One tight sentence with zero filler, and the most useful information (what categories of position are returned and that value is denominated in ADA) is front-loaded. It is under-specified rather than padded.

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?

With no output schema, the description carries the burden of explaining what comes back; it lists the position categories and the net-value metric but not the per-protocol structure, asset fields, or empty-result behavior. Adequate to call correctly, thin for interpreting results.

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 description coverage is 100% and the single address parameter is fully documented in the schema (addr1/stake1/$handle pattern). The description adds no parameter meaning beyond that, so the baseline 3 applies.

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 names the resource precisely — a wallet's supplied, borrowed and collateral-locked DeFi positions, plus net value in ADA — so an agent knows the payload shape. It is phrased as a noun fragment with an implicit verb and never distinguishes itself from near-siblings like get_wallet_loans or get_perps_positions, which also report borrowed exposure.

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?

There is no guidance on when to call this versus get_wallet_loans, get_perps_positions, get_wallet_pnl or get_defi_tvl. The only hint is the phrase 'protocols we decode', which is a coverage caveat rather than an applicability rule.

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