about
Retrieve platform information, pricing details, usage statistics, or documentation for MCP Analytics based on the specified topic.
Instructions
Get platform info, pricing, usage stats, or documentation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | Topic: platform, pricing, current_usage, manual, or a docs section |
Implementation Reference
- src/index.js:43-44 (registration)The 'about' tool is registered in the STATIC_TOOLS catalog array with its name, description, and inputSchema.
const STATIC_TOOLS = [ { name: "about", description: "Get platform info, pricing, usage stats, or documentation.", inputSchema: { type: "object", properties: { topic: { type: "string", description: "Topic: platform, pricing, current_usage, manual, or a docs section" } }, required: ["topic"] } }, - src/index.js:44-44 (schema)The inputSchema for the 'about' tool defines one required 'topic' property (string) describing the topic of interest.
{ name: "about", description: "Get platform info, pricing, usage stats, or documentation.", inputSchema: { type: "object", properties: { topic: { type: "string", description: "Topic: platform, pricing, current_usage, manual, or a docs section" } }, required: ["topic"] } }, - src/index.js:121-146 (handler)The 'about' tool's actual execution is proxied to the remote MCP server via remoteClient.callTool(). The generic CallToolRequestSchema handler forwards all tool calls (including 'about') to the remote API.
server.setRequestHandler(CallToolRequestSchema, async (request) => { if (!remoteClient) { return { content: [ { type: "text", text: "MCP Analytics API key required. Set MCP_ANALYTICS_API_KEY in your environment.\nGet a free key at https://app.mcpanalytics.ai", }, ], isError: true, }; } try { const result = await remoteClient.callTool({ name: request.params.name, arguments: request.params.arguments || {}, }); return result; } catch (err) { return { content: [{ type: "text", text: `Error: ${err.message}` }], isError: true, }; } });