Skip to main content
Glama
Log-LogN

langfuse-mcp-java

find_exceptions_in_file

Identify ERROR-level traces linked to a specific source file in Langfuse. Filter exceptions by file name substring to debug Java application issues.

Instructions

Returns ERROR-level traces whose metadata contains the given file name as a substring.

Both conditions must be true for a trace to appear in the result: (1) the trace level is ERROR, and (2) the trace metadata JSON contains the fileName string anywhere inside it.

Use this to isolate errors originating from a specific source file. fileName is required. Both time range parameters are optional — omit them to search across the full project history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNameYesSubstring to match against trace metadata, typically a source file name such as OrderService.java. Required — the call will be rejected if this is missing or blank.
fromTimestampYesStart of time range in ISO-8601 format, e.g. 2025-06-01T00:00:00Z. Omit to search from the beginning of the project.
toTimestampYesEnd of time range in ISO-8601 format, e.g. 2025-06-30T23:59:59Z. Omit to search up to the current time.

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