Skip to main content
Glama
avivsinai

langfuse-mcp

get_dataset

Retrieve a Langfuse dataset by name to access its details, metadata, items, and runs. Get dataset ID, description, and usage statistics.

Instructions

Get a specific dataset by name.

Retrieves dataset details including metadata and item count.

Args:
    ctx: Context object containing lifespan context with Langfuse client
    name: The name of the dataset to fetch

Returns:
    A dictionary containing dataset details:
    - id: Unique dataset identifier
    - name: Dataset name
    - description: Dataset description
    - metadata: Custom metadata
    - items: List of dataset items (if included by the API)
    - runs: List of dataset runs (if included by the API)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name of the dataset to fetch

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description bears full burden. Describes return fields (id, name, description, etc.) but does not disclose behavior on missing datasets (error vs. null) or side effects. Adequate but not comprehensive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Structured with a two-line summary plus Args/Returns sections. All content is relevant, though the Returns section could be omitted if output schema is present. Concise enough for a simple tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (one parameter, read-only) and presence of an output schema, the description covers purpose and return structure adequately. Lacks usage guidance but is otherwise complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% for the single parameter 'name'. Description repeats the schema description ('The name of the dataset to fetch') without adding new context, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description explicitly states 'Get a specific dataset by name' with clear verb and resource. Distinguishes from siblings like list_datasets, get_dataset_item, and create_dataset by focusing on retrieving a single dataset by name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool vs. alternatives (e.g., list_datasets for browsing, get_dataset_item for items). No mention of prerequisites or exclusion criteria.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/avivsinai/landfuse-mcp'

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