Skip to main content
Glama
BlockRunAI

BlockRun MCP

Official
by BlockRunAI

blockrun_defi

Access real-time DeFi fundamentals including protocol TVL, chain TVL, yield pool APY, and token prices via DefiLlama. Pay per call with USDC, no API key needed.

Instructions

DeFi fundamentals via DefiLlama — protocol TVL, chain TVL, yield pools (APY), token prices. Pays per call in USDC, no API key.

Paths (GET only):

  • protocols ($0.005) — all DeFi protocols ranked by TVL

  • protocol/{slug} ($0.005) — one protocol's TVL history + chain breakdown, e.g. protocol/aave-v3

  • chains ($0.005) — TVL by chain

  • yields ($0.005) — yield pools with APY + TVL (large; filter client-side)

  • prices/{coins} ($0.001) — token prices, coins like 'base:0x833589...,coingecko:ethereum'

Examples: blockrun_defi({ path: "protocol/uniswap-v3" }) blockrun_defi({ path: "prices/coingecko:bitcoin,coingecko:ethereum" }) blockrun_defi({ path: "chains" })

Use blockrun_price (free) for plain spot quotes, blockrun_dex (free) for DEX pairs, blockrun_surf for labeled on-chain data — this tool is for protocol/TVL/yield fundamentals.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesEndpoint under /v1/defillama/, e.g. 'protocols', 'protocol/aave-v3', 'chains', 'yields', 'prices/coingecko:ethereum'
agent_idNoAgent identifier for budget tracking and enforcement.
Behavior5/5

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

No annotations provided, so description carries full burden. It discloses that calls are GET only, pricing per path (in USDC), no API key needed, and notes that the yields response is large (suggesting client-side filtering). No contradictions.

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?

Description is well-structured: summary line, bulleted list of paths with costs, two example invocations, and sibling guidance. Every sentence provides unique value, no redundancy. Front-loaded with core purpose.

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?

Given the tool's moderate complexity (multiple endpoints, pricing, no output schema), the description covers most needs: what each endpoint returns, costs, and basic usage. However, it does not describe the structure of responses (e.g., JSON format, fields), which could be helpful but is not critical since output schema is absent and endpoints are well-known (DefiLlama).

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

Parameters5/5

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

Input schema covers both parameters (path, agent_id) with 100% coverage. Description adds significant meaning: lists exact path suffixes with examples, explains price formatting (e.g., 'base:0x833589...,coingecko:ethereum'), and provides cost per endpoint. This goes beyond schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description explicitly states the tool provides DeFi fundamentals via DefiLlama, listing specific endpoints (protocols, chains, yields, prices). It clearly distinguishes from siblings like blockrun_price and blockrun_dex by contrasting their purposes ('plain spot quotes', 'DEX pairs').

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit guidance: 'Use blockrun_price (free) for plain spot quotes, blockrun_dex (free) for DEX pairs, blockrun_surf for labeled on-chain data — this tool is for protocol/TVL/yield fundamentals.' Also includes examples showing correct usage patterns.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BlockRunAI/blockrun-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server