Skip to main content
Glama

Yield pool lookup ($0.001)

lookup_pool
Read-only

PAID $0.001 USDC. One on-chain DeFi lending pool (Aave v3/Compound v3/Moonwell/Morpho Blue) by pool id protocol:chain:token_address, e.g. aave-v3:base:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913: supply/borrow APY, utilization, TVL, impermanent-loss risk and risk score. Refreshed about every 30 min. Returns JSON for that pool: supply and borrow APY, utilization, TVL, impermanent-loss risk, and risk score.

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": {
      "pool_id": "<pool_id>"
    },
    "name": "lookup_pool"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoOptional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment'].
pool_idYesPool id. Format: protocol:chain:token_address. Example: aave-v3:base:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913. Required.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • addedInput schema / properties / pool_id / description
      Added value: +"Pool id. Format: protocol:chain:token_address. Example: aave-v3:base:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913. Required."
  2. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
    • removedInput schema / properties / pool_id / description
      Removed value: -"Pool id. Format: protocol:chain:token_address. Example: aave-v3:base:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913. Required."
  3. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • addedInput schema / properties / pool_id / description
      Added value: +"Pool id. Format: protocol:chain:token_address. Example: aave-v3:base:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913. Required."
  4. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
    • removedInput schema / properties / pool_id / description
      Removed value: -"Pool id. Format: protocol:chain:token_address. Example: aave-v3:base:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913. Required."
  5. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • addedInput schema / properties / pool_id / description
      Added value: +"Pool id. Format: protocol:chain:token_address. Example: aave-v3:base:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913. Required."
  6. Changed1 schema field changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
  7. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the description's added value is the price point ($0.001 USDC) and the data-freshness caveat ('Refreshed about every 30 min'), both of which matter for deciding whether the result is stale. It does not explain what happens on an unknown pool id or whether the call is charged on failure, which the payment note in the schema only partly covers.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Payment and purpose are well front-loaded, but the description closes by repeating the exact field list already given mid-sentence ('supply and borrow APY, utilization, TVL, impermanent-loss risk, and risk score'), wasting roughly a third of the text. It also nests the pool-id format and metric list inside one long sentence, making it denser than needed.

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 compensates by enumerating the returned fields, and it covers cost and refresh cadence for a simple single-object lookup. Remaining gaps are minor: no mention of failure behavior for an unrecognized pool id and no indication of which chains are supported.

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 both pool_id and api_key are already fully documented, including the protocol:chain:token_address format and an example identical to the one in the description. The description therefore adds almost no parameter meaning beyond the schema; the baseline 3 applies.

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?

States a specific verb and resource ('One on-chain DeFi lending pool') plus the exact protocols covered (Aave v3/Compound v3/Moonwell/Morpho Blue) and the return fields. The framing as a single pool addressed by pool id cleanly separates it from list-style siblings such as lookup_yields, and an agent can act without opening the schema.

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 description implies the use case (fetch one pool's metrics given a pool id) and the leading 'PAID $0.001 USDC' signals cost, but it never states when not to use it or names an alternative such as lookup_yields for discovery/listing. Guidance is inferable rather than explicit.

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.