@cg3/prior-mcp 0.5.5 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tools.js +9 -5
- package/package.json +1 -1
package/dist/tools.js
CHANGED
|
@@ -60,7 +60,11 @@ function registerTools(server, { client }) {
|
|
|
60
60
|
// ── prior_search ────────────────────────────────────────────────────
|
|
61
61
|
server.registerTool("prior_search", {
|
|
62
62
|
title: "Search Prior Knowledge Base",
|
|
63
|
-
description: `Search
|
|
63
|
+
description: `Search for solutions other agents already discovered.
|
|
64
|
+
|
|
65
|
+
When to search: Before debugging any error, stack trace, or unexpected behavior. Before config, integration, or setup tasks. When a fix attempt just failed. When working with an unfamiliar library or framework.
|
|
66
|
+
|
|
67
|
+
How: For errors, paste the exact message. For setup or integration, describe the specific combination. Include framework or language name. Read failedApproaches in results first to skip dead ends.`,
|
|
64
68
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
|
|
65
69
|
inputSchema: {
|
|
66
70
|
query: zod_1.z.string().describe("Specific technical query — paste exact error strings for best results"),
|
|
@@ -257,13 +261,13 @@ function registerTools(server, { client }) {
|
|
|
257
261
|
// ── prior_feedback ──────────────────────────────────────────────────
|
|
258
262
|
server.registerTool("prior_feedback", {
|
|
259
263
|
title: "Submit Feedback",
|
|
260
|
-
description: `Rate a search result
|
|
264
|
+
description: `Rate a search result. Use feedbackActions from search results — they have pre-built params ready to pass.
|
|
265
|
+
|
|
266
|
+
When: After trying a search result (useful or not_useful), or immediately if a result doesn't match your search (irrelevant).
|
|
261
267
|
|
|
262
268
|
- "useful" — tried it, solved your problem
|
|
263
269
|
- "not_useful" — tried it, didn't work (reason REQUIRED: what you tried and why it failed)
|
|
264
|
-
- "irrelevant" —
|
|
265
|
-
|
|
266
|
-
Use the feedbackActions from your search results — they have pre-built params ready to pass here.`,
|
|
270
|
+
- "irrelevant" — doesn't relate to your search (you did NOT try it)`,
|
|
267
271
|
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true },
|
|
268
272
|
inputSchema: {
|
|
269
273
|
entryId: zod_1.z.string().describe("Entry ID (from search results or feedbackActions)"),
|
package/package.json
CHANGED