Skip to main content
Glama
avivsinai

langfuse-mcp

get_data_schema

Retrieve the schema definitions for traces, spans, events, and other Langfuse data structures to understand their fields and structure.

Instructions

Get schema of trace, span and event objects.

Args:
    ctx: Context object containing lifespan context with Langfuse client
    dummy: Unused parameter for API compatibility (can be left empty)

Returns:
    String containing the detailed schema definitions for traces, spans, events,
    and other core Langfuse data structures

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dummyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Without annotations, the description partially covers behavior by stating it returns a string with schema definitions and noting the dummy parameter is unused. However, it lacks details on side effects, error handling, or performance implications.

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?

The description is concise at about 50 words, front-loading the purpose before Args and Returns. Every sentence is informative, with no unnecessary repetition.

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?

Given the tool's simplicity (1 optional param, output schema available), the description is mostly complete. It could mention that no authentication or side effects exist, but the core functionality is well-covered.

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

Parameters4/5

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

The description adds meaning beyond the schema by explaining the 'dummy' parameter as 'Unused parameter for API compatibility (can be left empty)', which prevents confusion. The schema only provides type and default.

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 'Get schema of trace, span and event objects', using a specific verb and resource. It distinguishes the tool from siblings like 'get_prompt' or 'get_dataset' which retrieve specific objects, not schemas.

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?

No guidance on when to use this tool versus alternatives, nor any context on prerequisites or exclusions. It only describes what the tool does without advising on usage scenarios.

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/avivsinai/landfuse-mcp'

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