Skip to main content
Glama

Langfuse Docs

submitFeedback

Submit explicit user-approved feedback to the Langfuse team. Before calling, ask permission and show the exact payload. If the user wants a reply, ask them to include their email address in the feedback text; only use an address they explicitly provide and show it in the exact payload preview. Do not include secrets, credentials, customer/project data, trace payloads, or unrelated context; the only contact detail to include is an explicitly provided reply email.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
goalNo
targetYesThe specific instance within targetType: the skill name, MCP tool name, CLI command, API endpoint path, or docs page path (e.g. 'queryMetrics', '/docs/mcp'). An identifier, not a sentence.
feedbackYes
targetTypeYesCategory of the thing the feedback is about.
referenceUrlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses the consent requirement, the need to preview the exact payload, and privacy/data-hygiene constraints such as excluding credentials, trace payloads, and unrelated context. It does not describe response behavior, but the main behavioral risks around submission are addressed.

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 compact and front-loaded with the purpose, followed by concise preconditions and guardrails. Every sentence adds actionable information, with no filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers purpose, permission, payload preview, and content restrictions. However, with no output schema or annotations, it does not state what happens after submission—whether a confirmation is returned, whether feedback is queued, or how the agent should interpret the result. This is a notable but not critical gap for a simple submission tool.

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 coverage is only 40%; goal, feedback, and referenceUrl are undocumented in the schema. The description does not define these parameters, though it adds content-level constraints such as putting the reply email in the feedback text and excluding secrets/credentials. This partially compensates for the schema gap but leaves the meaning of goal and referenceUrl to inference.

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 opens with a specific verb and object: 'Submit explicit user-approved feedback to the Langfuse team.' This clearly states the tool's function and distinguishes it from sibling doc-retrieval tools, which read documentation rather than send feedback.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear procedural guidance: ask permission, show the exact payload, include an email only if the user explicitly provides one and wants a reply, and avoid secrets or sensitive data. It does not explicitly route away from sibling tools, but those siblings serve a different purpose, so no exclusion is necessary.

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.

Resources