Skip to main content
Glama
avivsinai

langfuse-mcp

create_dataset

Create a dataset to store evaluation test cases with input and expected output pairs for tracking LLM application performance.

Instructions

Create a new dataset in the project.

Datasets are used to store evaluation test cases with input/expected output pairs.

Args:
    ctx: Context object containing lifespan context with Langfuse client
    name: Name for the new dataset (must be unique)
    description: Optional description
    metadata: Optional custom metadata

Returns:
    A dictionary containing the created dataset details:
    - id: Unique dataset identifier
    - name: Dataset name
    - description: Dataset description
    - metadata: Custom metadata
    - createdAt: Creation timestamp

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName for the new dataset (must be unique in project)
descriptionNoOptional description of the dataset
metadataNoOptional custom metadata as key-value pairs

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. The description mentions uniqueness constraint for 'name' but does not disclose other behavioral traits like failure modes on duplicate names, required permissions, or side effects. For a creation tool, more context would be beneficial.

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?

Well-structured with clear sections. The Args/Returns format adds clarity but could be slightly more concise given schema coverage.

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 low complexity (3 simple parameters) and the presence of an output schema, the description covers essential aspects. The explanation of return fields is redundant due to output schema but still helpful.

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

Parameters4/5

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

Schema coverage is 100% with descriptions for each parameter. The description adds context like 'must be unique' for name and clarifies optionality, which is helpful beyond the schema.

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?

The description clearly states 'Create a new dataset in the project' and explains the purpose of datasets. It distinguishes from sibling tools like create_dataset_item and list_datasets by specifying it creates the dataset container.

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

Usage Guidelines3/5

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

No explicit guidance on when to use this tool versus alternatives (e.g., when to use create_dataset_item after). The description implies usage for initial dataset creation but lacks explicit when-not or alternative mentions.

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