Skip to main content
Glama
B2B, DeFi & Security Intelligence MCP Server

B2B, DeFi & Security Intelligence MCP Server

bundle_defi_macro

Read-onlyIdempotent

Combine chain TVL rankings, stablecoin supply and 7-day flows, and top DEX trading pairs into one onchain macro briefing.

Instructions

DeFi Macro & Onchain Liquidity Bundle (Chain TVL + Stablecoins + DEX Pairs) API — One-shot onchain macro briefing combining DeFiLlama L1/L2 TVL rankings, stablecoin circulating supply & 7d flows, and DexScreener top liquid trading pairs. (x402 price: $0.045 USDC on Base)

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": "bundle_defi_macro"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoOptional chain filter (e.g. solana, base)
queryNoDexScreener pair query (default SOL USDC)SOL USDC
itemsPerSourceNoMax items per upstream source (1-15)5

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered. The description adds genuinely non-obvious behavior: this is a paid x402 endpoint at $0.045 USDC on Base, which an agent must know before calling. It stops short of describing the return payload's shape or how the three sources are combined.

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?

A single dense sentence, front-loaded with the outcome before the source list, plus a parenthetical price tag. The only waste is a title-like lead-in ('DeFi Macro & Onchain Liquidity Bundle ... API') that partially duplicates the title and tool name.

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?

For a zero-required-parameter bundle tool, the composition and payment model are stated, which covers the main selection risk. With no output schema present, the description should say more about what the combined response looks like — section keys, whether sources are merged or listed separately — and whether partial upstream failures are tolerated.

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%, so chain, query and itemsPerSource already carry inline meaning with defaults. The description mentions that a chain filter and a pair query exist but adds no extra semantics such as how chain filtering affects only the DeFiLlama leg, or what happens when itemsPerSource is exceeded. Baseline 3 given the schema does the work.

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?

Names a concrete verb+resource ('one-shot onchain macro briefing') and enumerates exactly what it aggregates: DeFiLlama L1/L2 TVL rankings, stablecoin supply and 7d flows, and DexScreener top liquid pairs. That cleanly separates it from the single-source siblings (defillama_chains, defillama_stablecoins, dexscreener_pairs), though it never explicitly says it is the combined alternative to them.

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?

The phrase 'one-shot ... briefing combining' implies the usage context: reach for this when you want all three macro signals at once rather than three separate calls. There is no explicit when-to-use/when-not guidance, no statement about when the individual single-source tools would be preferable, and no note on deduplication or overlap with them.

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