prices
Retrieve current market pricing trends to understand cost dynamics and make informed decisions in the agent economy.
Instructions
Get market pricing trends across the agent economy
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.js:22-22 (registration)Tool 'prices' is registered in the ListToolsRequestSchema handler with its name, description, and inputSchema.
{ name: 'prices', description: 'Get market pricing trends across the agent economy', inputSchema: { type: 'object', properties: {} } }, - server.js:37-43 (handler)The 'prices' handler is implemented as a free endpoint. When the tool name matches 'prices', it fetches data from BASE_URL + '/prices' and returns the JSON response.
const freeEndpoints = { stats: '/stats', quality: '/quality', protocols: '/protocols', prices: '/prices', trends: '/trends' }; if (freeEndpoints[name]) { const resp = await fetch(BASE_URL + freeEndpoints[name]); const data = await resp.json(); return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] }; } - server.js:22-22 (schema)The input schema for 'prices' is an empty object (type: 'object', properties: {}), meaning it takes no arguments.
{ name: 'prices', description: 'Get market pricing trends across the agent economy', inputSchema: { type: 'object', properties: {} } },