Skip to main content
Glama

find_knowledge

Search verified bug fixes by error signature and version, plus rules, playbooks, failure memories, tested recipes, and vetted packages to resolve errors or choose proven guidance.

Instructions

Search verified bug fixes (by exact error signature + version), rules, playbooks, failure memories and tested recipes. Call when: an error/failing test appears (pass the raw text in error), before a common pattern (kinds=["recipe"]), or to choose a playbook (kinds=["playbook"]). kinds: bugfix|rule|playbook|failure|recipe|package (package = a vetted library to import instead of rewriting; license fingerprinted from the package's own repo). Pass the raw error text in error for signature matching.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
errorNo
kindsNo
limitNo
queryNo
versionNo
languageNo
frameworkNo
project_dirNo
include_assetsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose non-obvious behavior: signature matching is exact against error text plus version, and 'package' entries are vetted libraries whose license is fingerprinted from the package's own repo. It says nothing about whether results are ranked, how `limit` affects them, or what happens when no signature matches, which leaves real ambiguity for a read tool with nine optional filters.

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?

Structure is good: purpose first, then a 'Call when:' routing block, then parameter notes. The closing sentence 'Pass the raw error text in `error` for signature matching' largely restates the earlier parenthetical, so there is a small amount of redundancy, but nothing else is wasted.

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?

For a nine-parameter, annotation-free, output-schema-free tool, the description covers the high-signal path (error-driven lookup) well but is not complete. An agent still cannot tell how to use `query`, `project_dir` or `include_assets`, nor what a result looks like.

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 description coverage is 0%, so the description must compensate and it only partly does. It gives meaning to `error` (raw text for signature matching), `kinds` (full enumeration plus an explanation of the 'package' value) and gestures at `version`, but `query`, `limit`, `language`, `framework`, `project_dir` and `include_assets` are never mentioned, leaving six of nine parameters opaque.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a concrete verb and resource set: 'Search verified bug fixes (by exact error signature + version), rules, playbooks, failure memories and tested recipes.' The enumerated 'kinds' values give an agent a precise picture of the corpus. It stops short of naming a sibling (e.g. get_knowledge, search_lessons) to contrast against, so the sibling-boundary is inferred rather than stated.

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 'Call when:' clause is explicit and actionable, giving three distinct triggers (an error/failing test appears, before a common pattern, or to choose a playbook) each paired with the parameter routing that selects it. What is missing is the negative case: nothing says when not to use this tool or which sibling to prefer instead.

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