Skip to main content
Glama
hackle-io
by hackle-io

data-report-list

Fetch and manage A/B test data reports with the Hackle MCP server, enabling easy access and organization of performance metrics for analysis and insights.

Instructions

fetch data report list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/index.ts:227-237 (registration)
    Registers the 'data-report-list' MCP tool using server.tool. The tool has no input parameters (empty schema) and an inline async handler that calls WebClient.get('/api/v1/data-reports') to fetch the data report list and returns it as JSON-formatted text content.
    // Data report list tool server.tool('data-report-list', 'fetch data report list.', {}, async () => { return { content: [ { type: 'text', text: JSON.stringify(await WebClient.get(`/api/v1/data-reports`)), }, ], }; });
  • The inline handler function that executes the core logic of the 'data-report-list' tool: fetches the list from the API endpoint '/api/v1/data-reports' using WebClient and wraps the JSON response in the required MCP content format.
    server.tool('data-report-list', 'fetch data report list.', {}, async () => { return { content: [ { type: 'text', text: JSON.stringify(await WebClient.get(`/api/v1/data-reports`)), }, ], }; });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hackle-io/hackle-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server