Skip to main content
Glama
Log-LogN

langfuse-mcp-java

fetch_sessions

fetch_sessions
Destructive

Retrieve paginated session data from Langfuse with time-based filtering for analyzing LLM application observability and debugging.

Instructions

Paginated list of all sessions with optional time range filter. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYesPage number
limitYesItems per page
fromTimestampYesISO-8601 start timestamp
toTimestampYesISO-8601 end timestamp
Behavior1/5

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

Description claims 'Read-only' but annotations specify readOnlyHint=false and destructiveHint=true, indicating mutation/deletion capabilities. This is a dangerous contradiction. Description mentions pagination but fails to clarify destruction behavior that annotations indicate.

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

Conciseness3/5

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

Brief two-sentence structure is appropriately concise, but both sentences contain inaccuracies (false optionality claim, read-only contradiction) that waste the agent's time and risk harmful invocations.

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?

Missing output schema explanation (what session data returns?), no differentiation from similar list tools, and contains critical safety misinformation. Incomplete for a tool with destructive annotations that claims to be read-only.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has 100% coverage (baseline 3), but description incorrectly characterizes timestamp parameters as 'optional' when schema marks them required. Mentions 'paginated' implying page/limit usage but doesn't add syntax guidance beyond schema.

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?

States specific action (list) and resource (sessions) with scope details (paginated, time range). However, claims time range is 'optional' when schema marks timestamps as required, and fails to distinguish from sibling tools like get_session_details (singular) or get_user_sessions (user-scoped).

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?

Provides no guidance on when to use versus alternatives like get_session_details or get_user_sessions. No mention of prerequisites, authorization requirements, or when the time range filter is necessary versus fetching all sessions.

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