Skip to main content
Glama

chain_morpho_position

Read-only

Morpho Blue position — A wallet's position in a Morpho Blue market: supplied and borrowed assets (shares converted with virtual-shares math, interest accrued to now), collateral and its value in the loan token, LTV vs LLTV, health factor, collateral drop to liquidation, max additional borrow, and status (NO_POSITION, SUPPLY_ONLY, COLLATERAL_ONLY, SAFE, WATCH, AT_RISK, LIQUIDATABLE). chain= ethereum|base, id= 0x market id, address= wallet or vault. Price: $0.003 USDC (Base, via x402).

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": {
      "chain": "<chain>",
      "id": "<id>",
      "address": "<address>"
    },
    "name": "chain_morpho_position"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc
chainYesethereum
addressYes0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds genuinely non-obvious behavior: results are computed with virtual-shares math and interest accrued to now (i.e., live, not stored state), the status enum enumerates all terminal states including NO_POSITION, and it discloses a paid x402 model at $0.003 USDC on Base — a cost signal an agent cannot get from any structured field.

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?

Front-loaded with the core concept, then the returned fields, then the parameter legend, then price. It is dense but every clause carries information — the field list is the substitute for a missing output schema. The single run-on sentence structure makes it slightly harder to scan than a bulleted form would be.

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?

With no output schema, the description bears responsibility for documenting return values and it does so thoroughly, including the status enum and a health-factor/liquidation framing. It also covers the payment requirement. The only residual gap is error/edge behavior beyond the NO_POSITION status (e.g., unknown market id or unsupported chain).

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 100%, so the baseline is 3; the description does add some meaning by clarifying that chain is restricted to ethereum|base (the schema only shows 'ethereum' as an example with no enum) and that address may be a wallet or a vault, plus that id is a 0x market id. It does not explain format constraints for id beyond the example or what happens with an unsupported chain.

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 a specific resource and scope — a single wallet's position in a specific Morpho Blue market — and enumerates exactly what is computed (supplied/borrowed assets, collateral value, LTV vs LLTV, health factor, liquidation drop, max borrow, status). That scope word 'position' implicitly separates it from market-level siblings like chain_morpho_market, but no sibling is named explicitly, so an agent still has to infer the boundary.

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: the description makes clear you call it with a chain, market id, and wallet/vault address to obtain that account's position. There is no explicit when-to-use/when-not guidance, no note on how it differs from chain_aave_positions or chain_morpho_market, and no mention of what to do if the market doesn't exist on the given chain.

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