Skip to main content
Glama

Look up a verified fix for an error

knowbase_lookup

Find verified, source-backed entries for a concrete technical error. Paste the error message, error code, or the whole stack trace — boilerplate is discounted automatically, so it does not need cleaning first. Returns a match verdict of strong, partial or none; on none it returns nothing rather than the nearest entry, which means this corpus genuinely does not cover that failure and you should not treat anything from it as the answer. Each strong result lists the possible root causes with a cheap check that tells them apart. After running those checks, call knowbase_diagnose to narrow to one. Partial results are related leads only; do not diagnose or apply them without an independent match.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorYesThe error message, code, or pasted stack trace.
limitNoMaximum entries to return. 1-10, default 3.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

No annotations are provided, so the description carries full burden — and it excels: it discloses that boilerplate is discounted automatically, that 'none' verdict means the corpus genuinely lacks coverage, that strong results include root causes with cheap checks, and that partial results are only leads. This goes far beyond a simple 'lookup' statement.

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?

Four sentences, each earning its place: the first defines the tool, the second covers input flexibility, the third explains the verdict semantics and its implication, and the fourth gives actionable next steps. Front-loaded with the primary purpose; no fluff or repetition.

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

Completeness5/5

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

Given the modest schema (2 params, no output schema) and sibling context, the description fully equips an agent to call it correctly and interpret the result. It covers input format, output verdicts, edge case behavior ('none'), and the follow-up action — nothing essential is missing for correct invocation and use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents both parameters. The description adds meaningful context about the 'error' parameter by suggesting it accepts messages, codes, or stack traces and that boilerplate is auto-filtered — exceeding what the schema's one-line description provides. The 'limit' parameter is implicit but not explicitly detailed, a minor gap.

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 states a specific verb ('Find') and resource ('verified, source-backed entries for a concrete technical error') and clearly distinguishes this from siblings like knowbase_diagnose by positioning it as an initial lookup step. The scope is explicit: returns only strong/partial/none verdicts, not the nearest entry.

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?

Explicitly tells the agent when to use it ('Paste the error message, error code, or the whole stack trace'), what to expect (verdict types), and what not to do (do not use partial results without an independent match). It also routes to knowbase_diagnose after strong matches, naming the alternative tool and the trigger condition.

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.

TDQS

A4.6/5.0
Disambiguation5/5

Each tool has a clearly distinct role: lookup finds verified entries, recall surfaces community attempts, diagnose narrows root causes, complete_resolution applies fixes, and the register/report/retract/rotate/forget tools manage identity and reports. The only potential overlap (lookup vs recall) is explicitly differentiated by source and purpose, and each description specifies when not to use it.

Naming Consistency5/5

All tools share the 'knowbase_' prefix followed by a descriptive verb or verb phrase in snake_case (e.g., knowbase_lookup, knowbase_rotate_secret). The pattern is uniform, with compound names for multi-step actions but no mixed casing or inconsistent verb styles.

Tool Count5/5

With 9 tools, the surface is well-scoped for a debugging knowledge base. Each tool covers a distinct part of the workflow (search, diagnose, resolve, report, account management) without redundancy or bloat, earning its place in the set.

Completeness5/5

The tool set covers the full lifecycle: initial discovery (recall/lookup), root-cause diagnosis (diagnose), resolution application (complete_resolution), contribution (report), correction (retract), identity management (register, rotate_secret, forget_me). No critical operations are missing for the stated purpose, and edge cases like resolving conflicting reports or handling lost secrets are addressed.