Skip to main content
Glama

honeycomb_datasets_list

Retrieve a comprehensive list of all datasets available in the environment using the MCP server for efficient data management and analysis.

Instructions

List all datasets in the environment

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "type": "object" }

Implementation Reference

  • Handler implementation for the honeycomb_datasets_list tool. It calls the client's listDatasets method and returns the JSON-stringified response as tool output.
    case "honeycomb_datasets_list": { const response = await client.listDatasets(); return { content: [{ type: "text", text: JSON.stringify(response) }], }; }
  • Tool definition including name, description, and input schema (empty object since no parameters required).
    const datasetsListTool: Tool = { name: "honeycomb_datasets_list", description: "List all datasets in the environment. A Dataset represents a collection of related events that come from the same source, or are related to the same source.", inputSchema: { type: "object", properties: {}, }, };
  • index.ts:782-798 (registration)
    Registration of all tools, including datasetsListTool, in the ListToolsRequest handler.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: [ authTool, datasetsListTool, datasetGetTool, columnsListTool, queryCreateTool, queryGetTool, queryResultCreateTool, queryResultGetTool, datasetDefinitionsListTool, boardsListTool, boardGetTool, ], }; });
  • HoneycombClient method that performs the actual API call to list datasets from https://api.honeycomb.io/1/datasets.
    async listDatasets(): Promise<any> { const response = await fetch(`${this.baseUrl}/datasets`, { method: "GET", headers: this.headers, }); if (!response.ok) { throw new Error(`Failed to list datasets: ${response.statusText}`); } return await response.json(); }

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/kajirita2002/honeycomb-mcp-server'

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