Skip to main content
Glama
avivsinai

langfuse-mcp

delete_dataset_item

Remove a dataset item permanently by its ID. This action deletes the item from Langfuse observability and cannot be reversed.

Instructions

Delete a dataset item by ID.

This is a permanent deletion and cannot be undone.

Args:
    ctx: Context object containing lifespan context with Langfuse client
    item_id: The ID of the dataset item to delete

Returns:
    A dictionary confirming the deletion

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_idYesThe ID of the dataset item to delete

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries full burden and does well by explicitly stating 'This is a permanent deletion and cannot be undone' - a critical behavioral disclosure for a destructive operation. It also mentions the return format ('dictionary confirming deletion'), though it doesn't cover permissions, error conditions, or rate limits.

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?

The description is appropriately sized with clear front-loading of the main purpose. The three-sentence structure is efficient, though the Args/Returns formatting could be more integrated. Every sentence earns its place by adding value.

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?

For a destructive operation with no annotations but an output schema, the description provides adequate context by warning about permanence and confirming the return format. It covers the critical behavioral aspect (irreversible deletion) though could benefit from mentioning permissions or error handling.

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% with the single parameter 'item_id' well-documented in both schema and description. The description adds minimal value beyond the schema's parameter documentation, maintaining the baseline score of 3 for high schema coverage.

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 the specific action ('Delete') and resource ('dataset item by ID'), distinguishing it from sibling tools like 'get_dataset_item' or 'list_dataset_items' which are read operations. It precisely communicates the destructive nature of the operation.

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?

The description implies usage when permanent deletion of a dataset item is needed, but doesn't explicitly state when to use this versus alternatives like 'update' operations or provide prerequisites. It mentions permanence as a warning but lacks guidance on when-not scenarios or explicit sibling tool comparisons.

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