Skip to main content
Glama

honeycomb_dataset_get

Retrieve detailed information about a specific dataset by providing its unique slug using the MCP server tool designed for dataset queries.

Instructions

Get information about a specific dataset

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
datasetSlugYesDataset slug to retrieve

Implementation Reference

  • Handler case in the tool request switch that extracts datasetSlug argument and invokes client.getDataset to retrieve dataset information.
    case "honeycomb_dataset_get": { const args = request.params.arguments as unknown as DatasetGetArgs; if (!args.datasetSlug) { throw new Error("datasetSlug is required"); } const response = await client.getDataset(args.datasetSlug); return { content: [{ type: "text", text: JSON.stringify(response) }], }; }
  • Tool definition object containing the name, description, and inputSchema for parameter validation (requires datasetSlug).
    const datasetGetTool: Tool = { name: "honeycomb_dataset_get", description: "Get information about a specific dataset. 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: { datasetSlug: { type: "string", description: "The dataset slug.", }, }, required: ["datasetSlug"], }, };
  • index.ts:786-787 (registration)
    Registration of the datasetGetTool in the tools array returned by ListToolsRequestHandler.
    datasetsListTool, datasetGetTool,
  • HoneycombClient.getDataset method: performs HTTP GET to /datasets/{slug} endpoint to fetch dataset details.
    async getDataset(slug: string): Promise<any> { const response = await fetch(`${this.baseUrl}/datasets/${slug}`, { method: "GET", headers: this.headers, }); if (!response.ok) { throw new Error(`Failed to get dataset: ${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