Skip to main content
Glama
avivsinai

langfuse-mcp

update_prompt_labels

Add labels to specific prompt versions in Langfuse to organize and track different iterations of your LLM prompts.

Instructions

Update labels for a specific prompt version.

This is the only supported mutation for existing prompts. Provided labels are added to the version (existing labels are preserved). Labels are unique across versions, and the 'latest' label is managed by Langfuse.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name of the prompt to update
versionYesThe prompt version to update
labelsYesLabels to add to this version (can be empty to add none). Existing labels are preserved; labels are unique across versions.

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 the full burden and does well by disclosing key behavioral traits: it's a mutation tool (implied by 'Update'), labels are added and preserved (not replaced), labels are unique across versions, and the 'latest' label is managed externally by Langfuse. It lacks details on permissions, rate limits, or error handling, but covers essential operational context.

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

Conciseness5/5

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

The description is appropriately sized and front-loaded, with the first sentence stating the core purpose and subsequent sentences adding crucial context without waste. Every sentence earns its place by clarifying mutation scope, label behavior, and management constraints.

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 moderate complexity (mutation with 3 parameters), no annotations, and the presence of an output schema (which handles return values), the description is largely complete. It covers purpose, usage context, and key behaviors, but could improve by mentioning prerequisites like authentication or error scenarios, though the output schema mitigates some gaps.

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%, so the schema already documents all parameters (name, version, labels). The description adds minimal value beyond the schema by reiterating that labels are added and preserved, and labels are unique across versions, but does not provide additional syntax, format, or usage details for the parameters. Baseline 3 is appropriate as the schema does the heavy lifting.

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 ('Update labels for a specific prompt version') with the resource ('prompt version'), distinguishing it from siblings like 'create_text_prompt' or 'get_prompt' which handle creation or retrieval rather than label updates. It explicitly mentions this is the only supported mutation for existing prompts, further differentiating its purpose.

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

Usage Guidelines4/5

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

The description provides clear context on when to use this tool ('the only supported mutation for existing prompts') and implies usage for adding labels to prompt versions. However, it does not explicitly state when not to use it or name specific alternatives among siblings, such as using 'create_text_prompt' for new prompts instead.

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