Skip to main content
Glama
Log-LogN

langfuse-mcp-java

get_exception_details

get_exception_details
Destructive

Inspect specific error traces in Langfuse by retrieving full details including nested observations, input/output, metadata, and timing for debugging LLM application failures.

Instructions

Returns the full detail of a single ERROR-level trace identified by its ID.

Equivalent to fetch_trace but semantically scoped to error traces. Use this after find_exceptions to inspect a specific failure in depth — the response includes all nested observations, input/output, metadata, and timing.

The traceId is required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
traceIdYesThe Langfuse trace ID (UUID) of the error trace to inspect. Required — the call will be rejected if this is missing or blank.
Behavior1/5

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

The description presents this as a read-only operation ('Returns', 'inspect'), but annotations declare readOnlyHint: false and destructiveHint: true. This is a serious contradiction—the description fails to disclose what gets destroyed or why a 'get' operation is flagged as destructive.

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?

Well-structured with clear information hierarchy: purpose statement first, sibling differentiation second, usage context third, parameter requirement last. No wasted words or redundant phrases.

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?

Compensates well for missing output schema by detailing response contents ('includes all nested observations, input/output, metadata, and timing'). workflow context with find_exceptions is helpful. Minor gap: does not address the destructiveHint implication or potential side effects.

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 coverage is 100%, so the schema fully documents the traceId parameter including its format and requirement. The description adds 'The traceId is required' but this merely duplicates the schema's 'required' constraint without adding semantic context (e.g., where to obtain the ID). Baseline 3 appropriate.

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 tool 'Returns the full detail of a single ERROR-level trace' and explicitly distinguishes it from the sibling 'fetch_trace' by noting it is 'semantically scoped to error traces.' Specific verb+resource+differentiation present.

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

Usage Guidelines5/5

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

Provides explicit workflow guidance: 'Use this after find_exceptions to inspect a specific failure in depth.' Also notes the equivalent alternative ('Equivalent to fetch_trace') while clarifying when to prefer this tool (error-specific cases).

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/Log-LogN/langfuse-mcp-java'

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