agorion_stats
Retrieve aggregate statistics for the Agorion discovery network, including total providers, services, and capabilities breakdown.
Instructions
Get aggregate stats for the Agorion discovery network: total providers, services, capabilities breakdown.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:195-204 (handler)The registration and implementation handler for the 'agorion_stats' tool. It fetches data from the AGORION_URL/stats endpoint and returns it as JSON.
server.tool( 'agorion_stats', 'Get aggregate stats for the Agorion discovery network: total providers, services, capabilities breakdown.', {}, async () => { const res = await fetch(`${AGORION_URL}/stats`); const data = await res.json(); return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] }; }, );