Skip to main content
Glama

Beggar Bot

category_tvl

DeFi TVL by category (lending, DEX, LST, bridge…), globally or on one chain: TVL, share, protocols, 7d change, top protocols 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": "category_tvl"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNo(optional) base
limitNo30

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose two non-obvious behaviors: the exact cost and payment rail ($0.02 USDC via x402) and the fact that results can be scoped globally or to one chain. It does not state whether the call is read-only or what happens on unpaid requests, but the cost/payment disclosure is genuinely valuable context an agent cannot get from structured fields.

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 that front-loads the purpose and then lists categories, scope, and return fields, followed by the price. Nearly every clause carries information; the ellipsis in the category list is the only loose element.

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 description correctly enumerates the payload fields (TVL, share, protocols, 7d change, top protocols) and adds the payment requirement. It leaves minor gaps such as the unit/currency of TVL, how 'share' is computed, and whether all categories are returned by default, but it is sufficient to invoke the tool correctly.

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 nominally 100%, so baseline is 3, and the actual schema text is thin (the chain description is only 'base' and limit only '30'). The description compensates for chain by explaining 'globally or on one chain', but leaves the limit parameter uninterpreted apart from a passing mention of 'top protocols'.

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?

States a specific resource and scope: DeFi TVL broken down by category (lending, DEX, LST, bridge) and whether global or per-chain. The category framing plus the enumerated return fields makes it clearly distinct from chain-level or protocol-level TVL siblings like chain_tvl, though it never names a sibling to route away from.

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 only implied: an agent can infer this is the tool for category-level breakdowns rather than single-chain or single-protocol TVL, and that omitting a chain yields global data. There is no explicit when-to-use, when-not-to-use, or pointer to an alternative tool, which leaves the choice between category_tvl and category_mcap_tvl or chain_tvl to inference.

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.