Skip to main content
Glama

Langfuse docs

searchLangfuseDocs

Read-only

Semantic search (RAG) over the Langfuse documentation. Use this whenever the user asks a broader question that cannot be answered by a specific single page. Returns the text of the most relevant docs pages, with their URLs. For prices, call getLangfuseDocsPage with /pricing or /pricing-self-host. Prefer this before guessing. If a specific page is needed call getLangfuseDocsPage first. The raw provider response is included in _meta.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "searchLangfuseDocs"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesThe user's question in natural language. Include helpful context like SDK/language (e.g., Python v3, JS v4), self-hosted vs cloud, and short error messages (trim long stack traces). Keep under ~600 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, and the description stays consistent with that while adding return-shape context: relevant page text plus URLs, and a raw provider response under _meta. It does not mention result count, ranking breadth, or limits, but otherwise covers the behavior an agent needs.

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

Conciseness4/5

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

Front-loaded with the core purpose, then routing rules, then the return shape. It is four dense sentences with little waste, though "Prefer this before guessing" is filler and the ordering of the two routing instructions creates mild back-and-forth.

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?

For a one-parameter read-only search tool, the agent knows what the tool does, when to prefer it, what it returns, and where the raw response lives. Missing only minor operational details such as how many pages come back or how ranking works.

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?

There is a single required query parameter with 100% schema description coverage, including format advice (SDK/language, cloud vs self-hosted, trimmed errors, ~600 character cap). The description adds nothing about the parameter, but the schema already covers it fully, so the 3 baseline applies.

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?

States a specific verb and resource ("Semantic search (RAG) over the Langfuse documentation") and explicitly distinguishes itself from getLangfuseDocsPage. An agent can tell from the description alone which of the two doc tools to reach for.

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?

Gives concrete selection criteria: use it for broad questions that a single page can't answer, and route to getLangfuseDocsPage when a specific page is needed. It even names a concrete case (prices → /pricing or /pricing-self-host), which is unusually actionable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.