get_oracles
Retrieve comprehensive data on all cryptocurrency oracles across multiple protocols to monitor and analyze decentralized finance information sources.
Instructions
GET /api/oracles
Overview of all oracles across all protocols.
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": "get_oracles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- defillama_server.py:287-294 (handler)The handler function for the 'get_oracles' MCP tool. It is decorated with @mcp.tool() for automatic registration and fetches an overview of all oracles from the DefiLlama API endpoint '/api/oracles' using the shared make_request utility.
@mcp.tool() async def get_oracles() -> str: """GET /api/oracles Overview of all oracles across all protocols. """ result = await make_request('GET', '/api/oracles') return str(result)