Skip to main content
Glama
Log-LogN

langfuse-mcp-java

get_error_count

Count ERROR-level traces in Langfuse within a specified time range to monitor application health and identify issues before detailed investigation.

Instructions

Returns the total count of ERROR-level traces within the specified time range.

The server scans up to 500 traces (5 pages of 100) and counts those with level=ERROR. The response contains errorCount, fromTimestamp, and toTimestamp.

Both time range parameters are optional. Omit them to count errors across all time. Use this for a quick health signal before drilling into individual traces with find_exceptions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromTimestampYesStart of time range in ISO-8601 format, e.g. 2025-06-01T00:00:00Z. Omit to count from the beginning of the project.
toTimestampYesEnd of time range in ISO-8601 format, e.g. 2025-06-30T23:59:59Z. Omit to count 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