Skip to main content
Glama

Beggar Bot

morpho_borrow_position

A wallet's Morpho Blue market position on-chain: supplied, borrowed, collateral and its value, LTV vs LLTV, health factor, liquidation price, borrow headroom. Paid: $0.02 USDC via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "morpho_borrow_position"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNochain
addressNoaddress
market_idNomarket_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one important behavioral trait: the call is paid ($0.02 USDC via x402), which is unusual and material to invocation. However, it never states failure behavior (e.g., what is returned for a wallet with no position in the market), whether the read is live/on-chain versus cached, or what a missing market_id does. Safety profile is implied by the read-only nature of a 'position' query but not stated.

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?

Two sentences, zero waste: the resource and its returned fields are front-loaded, and the payment condition is appended as a compact second sentence. No filler or restatement of the tool name.

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?

There is no output schema, so the enumerated field list is exactly what an agent needs to know what comes back, and it is provided. The remaining gap is the empty required array — the description never explains what happens when chain, address, or market_id are omitted, which matters for a position query that is meaningless without them.

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, but the schema descriptions are bare restatements ('chain', 'address', 'market_id'). The description adds only the framing that market_id refers to a Morpho Blue market and address to a wallet. It does not clarify whether chain defaults, whether address defaults to the caller, or how market_id is formatted — notable given required is empty.

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 — a wallet's Morpho Blue market position — and enumerates exactly what is reported (supplied, borrowed, collateral, LTV vs LLTV, health factor, liquidation price, borrow headroom). That is far more specific than a generic 'get position', and the 'Morpho Blue market' qualifier implicitly separates it from vault-position siblings. It stops short of explicitly contrasting with alternatives, so it does not reach a 5.

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 statement of when to use this tool versus morpho_vault_position, morpho_market_detail, or the other lending-position tools, and no prerequisites or exclusions. Usage is only inferable from the resource name. An agent must guess whether a market_id alone suffices or whether a wallet address is mandatory.

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.