Skip to main content
Glama
therealsachin

Langfuse MCP Server

get_traces

Fetch traces from Langfuse analytics with flexible filtering by time, cost, user, tags, and environment to analyze usage patterns and performance.

Instructions

Fetch traces with flexible filtering options.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromNoStart timestamp (ISO 8601)
toNoEnd timestamp (ISO 8601)
limitNoMaximum number of traces to return (default: 25)
orderByNoField to order by (default: timestamp)
orderDirectionNoOrder direction (default: desc)
userIdNoFilter by user ID
nameNoFilter by trace name (substring match)
tagsNoFilter by tags
environmentNoFilter by environment
minCostNoMinimum cost filter
maxCostNoMaximum cost filter
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions 'flexible filtering options' but doesn't describe key behaviors: whether this is a read-only operation, if it requires authentication, rate limits, pagination (beyond the 'limit' parameter), or what the return format looks like. For a tool with 11 parameters and no output schema, this is a significant gap in transparency.

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 a single, efficient sentence that gets straight to the point without fluff. It's appropriately sized for a tool with many parameters, though it could be more front-loaded with critical context. There's no wasted verbiage, earning it a high score for conciseness.

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

Completeness2/5

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

Given the tool's complexity (11 parameters, no annotations, no output schema, and many sibling tools), the description is incomplete. It doesn't explain what 'traces' are, how results are returned, or when to use it versus alternatives. For a data-fetching tool with rich filtering, more context is needed to guide effective use, especially without annotations or output schema.

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?

The description adds minimal value beyond the input schema, which has 100% coverage with detailed parameter descriptions. It implies filtering capabilities ('flexible filtering options') but doesn't explain semantics like how 'tags' filtering works (e.g., AND/OR logic) or the relationship between parameters. With high schema coverage, the baseline is 3, and the description doesn't significantly enhance parameter understanding.

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

Purpose3/5

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

The description states 'Fetch traces with flexible filtering options' which identifies the verb ('fetch') and resource ('traces'), but it's vague about what 'traces' are and doesn't differentiate from sibling tools like 'get_trace_detail', 'top_expensive_traces', or 'get_observations'. It provides a basic purpose but lacks specificity.

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?

The description offers no guidance on when to use this tool versus alternatives. With many sibling tools like 'get_trace_detail' (for single traces), 'top_expensive_traces' (for cost-focused queries), or 'get_observations' (potentially related), there's no indication of context, prerequisites, or exclusions. It merely states the tool's function without usage context.

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/therealsachin/langfuse-mcp'

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