A feedback tool for your MCP server
Add submit_feedback so an agent can tell you what went wrong even when the tool call succeeded. Each report describes the user's goal and how the problem affected it. Your server can attach the release, and MLP redacts common secrets before storing the report.
submit_feedback({
kind: "broken",
tool: "search_orders",
summary: "search_orders ignores the since filter",
goal: "Find orders placed last week",
impact: "worked_around"
})- trust: authenticated
- plan: pro
- app: v2.14.0
search_orders ignores the since filter
24 reports11 accountssince v2.14.0
Fix prompt ready for your coding agent
Every call succeeded. Did the agent get what it needed?
If your MCP server is in production, agents are using it right now on someone's behalf. Your logs show the calls. They don't show the agent that guessed a date format, retried a search four times, or told the user your product can't do that.
A feedback tool lets the agent tell you, in one structured report, what it was trying to do, what went wrong and how much it cost the task. Most Loved Product collects those reports, groups the repeats and ranks them, so you know which fix helps the most agents.
Find bugs that look like success
Some bugs return a normal response with the wrong data, like a filter that ignores one of its values or a search that misses matching records. Error tracking only sees exceptions, so it can't catch these. The agent can, because it knows what it expected to get back.
Fix the descriptions agents misread
A vague parameter name or an unstated unit costs agents extra calls on every task. Reports name the tool and what was confusing, so you know which wording to change.
See what agents wish your tools did
When a task needs a capability you don't offer, the agent says so, along with what the user was trying to do. That's a roadmap written by the people using your product the most.
Two profiles, one schema
Pick per server, or per host when you can detect it.
proactive default
For developer products and coding agents
The agent files feedback on its own after hitting a problem: an error for valid input, a misleading description, a missing capability. One report per distinct problem per task.
conservative
For consumer hosts and directory review
The agent only files feedback when the user asks to report a problem, or a tool clearly failed and the user has already been told.
The tool definition
Every server gets the same name, wording and schema, apart from the product name, so each improvement we measure reaches everyone using it.
Name, title, and description
submit_feedback, titled “Send feedback to the {Product} team”. Hosts with a flat namespace can use submit_{product}_feedback.
Send a short written report about {Product}'s tools to the {Product} team. This is a one-way note to the developers, not a way to get help and not shown to the user.
Use it when, while doing the user's task with {Product}'s tools, one of these happened:
- broken: a tool returned an error, or wrong or incomplete results, for input that matched its schema.
- confusing: a tool's description, parameters or response misled you or cost you extra calls.
- missing: the task needed a capability or data that {Product}'s tools don't offer.
- idea: one specific change would have made this task clearly easier.
Do not use it for: your own mistakes (such as invalid input you then corrected), problems with other tools, servers or the host app, things only the user can fix (sign-in, permissions, their own data), general impressions or praise, or questions.
Send at most one report per distinct problem per task, after you have finished or given up on the affected step. Write for an engineer who cannot see this conversation. Describe inputs in general terms. Never include private information in any parameter. Omit personal details, identifiers, credentials, confidential content and conversation text.
The reply is only an acknowledgement. Continue the user's task either way and never retry this tool.Send a short written report about {Product} to the {Product} team. This is a one-way note to the developers, not a way to get help.
Use it only when:
- the user asks you to report a problem or pass feedback to {Product}, or
- a {Product} tool clearly failed or could not do what the user asked, and you have already told the user so.
Do not use it for your own mistakes, problems with other tools or the app you are running in, things only the user can fix, general impressions, or questions. Send at most one report per problem.
Write for an engineer who cannot see this conversation. Describe inputs in general terms. Never include private information in any parameter. Omit personal details, identifiers, credentials, confidential content and conversation text.
The reply is only an acknowledgement. Continue helping the user either way and never retry this tool.What the agent gets back
Recorded for the Acme team (ref 01a1d56f). Continue with the user's task. Nothing else is needed and you should not call this tool again for the same problem.Any failure (timeout, rate limit, kill switch) returns “could not be recorded right now… continue and do not retry” with isError: false, so a feedback failure never looks like a task failure.
Input schema
Plain JSON Schema: no oneOf, no $ref, additionalProperties: false. Four required fields force the shape of a good bug report.
Required · 4
kindenum- Which of the four cases this is.
- brokenconfusingmissingidea
summarystring, 10–300- One sentence an engineer could use as an issue title. Name the tool and the symptom.
goalstring, 10–500- What the user was trying to accomplish, in general terms and without private information.
impactenum- Could not complete the step, completed it another way, or completed it at extra cost.
- blockedworked_aroundfriction
Optional · 5
toolstring, ≤ 200- The tool involved, exactly as named.
actualstring, ≤ 1000- A short description of the error or result, with private details omitted.
expectedstring, ≤ 1000- What the agent expected instead.
suggestionstring, ≤ 500- The smallest change that would have fixed it.
requested_by_userboolean- True only if the user explicitly asked to send feedback.
Annotations
readOnlyHint: falsedestructiveHint: falseidempotentHint: falseopenWorldHint: false
Trusted context comes from your server, not the model
Omit private information from every parameter, including identifiers, secrets and conversation text. Your handler attaches trusted context.
- Trust level: authenticated, known host or anonymous. Only server keys can attest it.
- Your opaque user id and plan, so issues can be weighted by who hit them.
- App version and experiment flags, so you can see which release or variant broke.
- A kill switch checked on every call, and its own rate-limit bucket.
import { createFeedbackHandler } from "@mostlovedproduct/mcp";
const feedback = createFeedbackHandler({
key: env.MLP_SERVER_KEY,
product: "Acme",
enabled: () => !env.FEEDBACK_KILL_SWITCH,
context: (call) => ({
trust: call.signedIn ? "authenticated" : "anonymous",
user: { id: call.opaqueUserId, tier: call.plan },
app: { version: BUILD_SHA, env: "production" },
}),
});
// tools/list: plain JSON Schema, no MCP SDK required
tools.push(feedback.tool);
// tools/call: never throws, never blocks the user's task
if (name === feedback.tool.name) return feedback.call(args, callInfo);Host rules: what we know, as of November 2026
Directory hosts review tools before listing them. These notes come from OpenAI's published app guidelines as we read them in November 2026. They change, so check the current version before you submit.
Documented
- Every tool needs explicit
readOnlyHint,destructiveHintandopenWorldHint. A tool that writes can't be marked read-only, so a feedback tool usesreadOnlyHint: false. - No transcripts, prior-turn arrays or broad “just in case” inputs. The schema above stays inside that rule.
- Side effects must not be hidden, and metadata must not encourage overly broad triggering.
- After publication, new tools stay unavailable until approved; existing approved tools keep working.
- Your privacy policy must cover data categories, purposes, recipients, retention and user controls.
Not documented yet
- Which annotation values trigger a confirmation prompt before a write tool runs. Reports from developers are inconsistent.
- Whether a tool called mainly for the developer's benefit will be approved.
- What happens to tool changes while a review is in progress.
Setup
About ten minutes, or one prompt to your coding agent.
Create a server capture key
Store it as a secret, for example
MLP_SERVER_KEY. It is write-only.Install the SDK
npm i @mostlovedproduct/mcp. Zero Node-only dependencies; safe on Workers.Add the tool
One
registerFeedbackTool()call, or addfeedbackTool()to your tool list and route calls to the handler.Pick a profile, add a kill switch
Conservative for consumer directories. Give feedback its own rate-limit bucket.
Update your privacy notice
Before production traffic. We provide template language.
Verify
Call the tool once from an MCP inspector and see the report arrive.
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { registerFeedbackTool } from "@mostlovedproduct/mcp/sdk";
const server = new McpServer({ name: "acme", version: "1.0.0" });
// Adds the standard submit_feedback tool, with write annotations.
registerFeedbackTool(server, {
key: process.env.MLP_SERVER_KEY!, // server capture key (write-only)
product: "Acme",
profile: "proactive", // "conservative" for consumer hosts
});FAQ
What is an MCP feedback tool?
A tool your MCP server exposes next to its own tools, usually called submit_feedback, that lets an AI agent send your team a short structured report when one of your tools errored, misled it, or lacked something the task needed.
Won't agents over-report or blame my tools for their own mistakes?
The wording asks agents to file once per problem per task. The eval set covers repeat failures, mistakes by the agent, and failures on other servers.
Does filing a report cost the user tokens?
A little. Each report is one short tool call. The schema asks for everything up front instead of a second round trip, and it never asks for transcripts or other large fields.
Can it break or slow down my server?
No. The handler never throws, uses a short deadline, and on any failure tells the agent to continue without retrying. It has its own kill switch and should get its own rate-limit bucket.
Can I use the tool without your hosted service?
Yes. The tool definition and wording are an open spec, and the SDK posts to a documented HTTP API. If you only want the convention, implement the spec and send reports wherever you like.
Get started
Create an account, choose a plan and add the feedback tool to your MCP server. Most Loved Product is in Preview, so it changes often.