{
  "x402Version": 2,
  "id": 37933,
  "slug": "37933",
  "resource": "https://api.teardrop.dev/tools/mcp#get_chain_metrics",
  "description": "Teardrop get_chain_metrics: Compare blockchain ecosystem health via DeFiLlama: current TVL, 7/30-day TVL change, and aggregate fee activity. Pass chains such as ['Ethereum', 'Arbitrum', 'Solana'] for a focused comparison, or omit chains to inspect the highest-TVL ecosystems.",
  "type": "http",
  "resourceType": "MCP Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF2Eec9De86274913F85A8aA6427Ad65a9B0bC90a",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "chains": {
            "items": {
              "properties": {
                "chain": {
                  "type": "string"
                },
                "chain_id": {
                  "anyOf": [
                    {
                      "type": "integer"
                    },
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "error": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null
                },
                "error_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null
                },
                "fees_24h_usd": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "fees_30d_change_pct": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "fees_30d_usd": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "fees_7d_change_pct": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "fees_7d_usd": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "token_symbol": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tvl_30d_change_pct": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tvl_7d_change_pct": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tvl_usd": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "chain",
                "chain_id",
                "token_symbol",
                "tvl_usd",
                "tvl_7d_change_pct",
                "tvl_30d_change_pct",
                "fees_24h_usd",
                "fees_7d_usd",
                "fees_30d_usd",
                "fees_7d_change_pct",
                "fees_30d_change_pct"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "error_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "note": {
            "type": "string"
          },
          "provenance": {
            "anyOf": [
              {
                "description": "Machine-readable source and freshness metadata for a tool response.",
                "properties": {
                  "cache_age_seconds": {
                    "anyOf": [
                      {
                        "minimum": 0,
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "cache_hit": {
                    "default": false,
                    "type": "boolean"
                  },
                  "cache_ttl_seconds": {
                    "anyOf": [
                      {
                        "minimum": 0,
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "provider": {
                    "type": "string"
                  },
                  "retrieved_at": {
                    "type": "string"
                  },
                  "source_fetched_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "source_urls": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "provider",
                  "retrieved_at"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Source and freshness metadata for the DeFiLlama response."
          },
          "requested_chains": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ]
          },
          "total_available": {
            "type": "integer"
          }
        },
        "required": [
          "chains",
          "requested_chains",
          "total_available",
          "note"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "description": "Compare blockchain ecosystem health via DeFiLlama: current TVL, 7/30-day TVL change, and aggregate fee activity. Pass chains such as ['Ethereum', 'Arbitrum', 'Solana'] for a focused comparison, or omit chains to inspect the highest-TVL ecosystems.",
          "inputSchema": {
            "properties": {
              "chains": {
                "anyOf": [
                  {
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 50,
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional chain names to compare, such as ['Ethereum', 'Arbitrum', 'Solana']. When omitted, return the highest-TVL chains up to limit.",
                "title": "Chains"
              },
              "days": {
                "default": 30,
                "description": "Lookback window used when selecting the historical TVL points to inspect.",
                "maximum": 365,
                "minimum": 7,
                "title": "Days",
                "type": "integer"
              },
              "limit": {
                "default": 20,
                "description": "Maximum number of chain rows to return when the result is not explicitly filtered.",
                "maximum": 50,
                "minimum": 1,
                "title": "Limit",
                "type": "integer"
              }
            },
            "title": "GetChainMetricsInput",
            "type": "object"
          },
          "toolName": "get_chain_metrics",
          "transport": "streamable-http",
          "type": "mcp"
        },
        "output": {
          "example": {
            "chains": [],
            "note": "",
            "requested_chains": [],
            "total_available": 0
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "description": {
                "type": "string"
              },
              "inputSchema": {
                "type": "object"
              },
              "toolName": {
                "type": "string"
              },
              "transport": {
                "enum": [
                  "streamable-http",
                  "sse"
                ],
                "type": "string"
              },
              "type": {
                "const": "mcp",
                "type": "string"
              }
            },
            "required": [
              "type",
              "toolName",
              "inputSchema"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "chains": {
                    "items": {
                      "properties": {
                        "chain": {
                          "type": "string"
                        },
                        "chain_id": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "error": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "default": null
                        },
                        "error_type": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "default": null
                        },
                        "fees_24h_usd": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "fees_30d_change_pct": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "fees_30d_usd": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "fees_7d_change_pct": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "fees_7d_usd": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "token_symbol": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "tvl_30d_change_pct": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "tvl_7d_change_pct": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "tvl_usd": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "chain",
                        "chain_id",
                        "token_symbol",
                        "tvl_usd",
                        "tvl_7d_change_pct",
                        "tvl_30d_change_pct",
                        "fees_24h_usd",
                        "fees_7d_usd",
                        "fees_30d_usd",
                        "fees_7d_change_pct",
                        "fees_30d_change_pct"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "error": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "error_type": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "note": {
                    "type": "string"
                  },
                  "provenance": {
                    "anyOf": [
                      {
                        "description": "Machine-readable source and freshness metadata for a tool response.",
                        "properties": {
                          "cache_age_seconds": {
                            "anyOf": [
                              {
                                "minimum": 0,
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "default": null
                          },
                          "cache_hit": {
                            "default": false,
                            "type": "boolean"
                          },
                          "cache_ttl_seconds": {
                            "anyOf": [
                              {
                                "minimum": 0,
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "default": null
                          },
                          "provider": {
                            "type": "string"
                          },
                          "retrieved_at": {
                            "type": "string"
                          },
                          "source_fetched_at": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "default": null
                          },
                          "source_urls": {
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "required": [
                          "provider",
                          "retrieved_at"
                        ],
                        "type": "object"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Source and freshness metadata for the DeFiLlama response."
                  },
                  "requested_chains": {
                    "anyOf": [
                      {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "total_available": {
                    "type": "integer"
                  }
                },
                "required": [
                  "chains",
                  "requested_chains",
                  "total_available",
                  "note"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.teardrop.dev",
  "lastUpdated": "2026-10-08T00:42:28.937Z",
  "quality": {
    "calls30d": 0,
    "uniquePayers30d": 0,
    "lastCalledAt": "2026-10-05T01:30:45.64Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "description": "Compare blockchain ecosystem health via DeFiLlama: current TVL, 7/30-day TVL change, and aggregate fee activity. Pass chains such as ['Ethereum', 'Arbitrum', 'Solana'] for a focused comparison, or omit chains to inspect the highest-TVL ecosystems.",
            "inputSchema": {
              "properties": {
                "chains": {
                  "anyOf": [
                    {
                      "items": {
                        "type": "string"
                      },
                      "maxItems": 50,
                      "type": "array"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Optional chain names to compare, such as ['Ethereum', 'Arbitrum', 'Solana']. When omitted, return the highest-TVL chains up to limit.",
                  "title": "Chains"
                },
                "days": {
                  "default": 30,
                  "description": "Lookback window used when selecting the historical TVL points to inspect.",
                  "maximum": 365,
                  "minimum": 7,
                  "title": "Days",
                  "type": "integer"
                },
                "limit": {
                  "default": 20,
                  "description": "Maximum number of chain rows to return when the result is not explicitly filtered.",
                  "maximum": 50,
                  "minimum": 1,
                  "title": "Limit",
                  "type": "integer"
                }
              },
              "title": "GetChainMetricsInput",
              "type": "object"
            },
            "toolName": "get_chain_metrics",
            "transport": "streamable-http",
            "type": "mcp"
          },
          "output": {
            "example": {
              "chains": [],
              "note": "",
              "requested_chains": [],
              "total_available": 0
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "description": {
                  "type": "string"
                },
                "inputSchema": {
                  "type": "object"
                },
                "toolName": {
                  "type": "string"
                },
                "transport": {
                  "enum": [
                    "streamable-http",
                    "sse"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "mcp",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "toolName",
                "inputSchema"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "chains": {
                      "items": {
                        "properties": {
                          "chain": {
                            "type": "string"
                          },
                          "chain_id": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "error": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "default": null
                          },
                          "error_type": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "default": null
                          },
                          "fees_24h_usd": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fees_30d_change_pct": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fees_30d_usd": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fees_7d_change_pct": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fees_7d_usd": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "token_symbol": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "tvl_30d_change_pct": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "tvl_7d_change_pct": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "tvl_usd": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "chain",
                          "chain_id",
                          "token_symbol",
                          "tvl_usd",
                          "tvl_7d_change_pct",
                          "tvl_30d_change_pct",
                          "fees_24h_usd",
                          "fees_7d_usd",
                          "fees_30d_usd",
                          "fees_7d_change_pct",
                          "fees_30d_change_pct"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "error": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "error_type": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "note": {
                      "type": "string"
                    },
                    "provenance": {
                      "anyOf": [
                        {
                          "description": "Machine-readable source and freshness metadata for a tool response.",
                          "properties": {
                            "cache_age_seconds": {
                              "anyOf": [
                                {
                                  "minimum": 0,
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "default": null
                            },
                            "cache_hit": {
                              "default": false,
                              "type": "boolean"
                            },
                            "cache_ttl_seconds": {
                              "anyOf": [
                                {
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "default": null
                            },
                            "provider": {
                              "type": "string"
                            },
                            "retrieved_at": {
                              "type": "string"
                            },
                            "source_fetched_at": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "default": null
                            },
                            "source_urls": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            }
                          },
                          "required": [
                            "provider",
                            "retrieved_at"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Source and freshness metadata for the DeFiLlama response."
                    },
                    "requested_chains": {
                      "anyOf": [
                        {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "total_available": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "chains",
                    "requested_chains",
                    "total_available",
                    "note"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.teardrop.dev",
    "manifest_name": "api.teardrop.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "chains": [
        {
          "chain": "string",
          "chain_id": null,
          "error": null,
          "error_type": null,
          "fees_24h_usd": null,
          "fees_30d_change_pct": null,
          "fees_30d_usd": null,
          "fees_7d_change_pct": null,
          "fees_7d_usd": null,
          "token_symbol": null,
          "tvl_30d_change_pct": null,
          "tvl_7d_change_pct": null,
          "tvl_usd": null
        }
      ],
      "error": null,
      "error_type": null,
      "note": "string",
      "provenance": null,
      "requested_chains": null,
      "total_available": 0
    },
    "type": "string"
  }
}