Skip to main content
Glama

Search by error

search_by_error
Read-onlyIdempotent

Paste an error you hit — the message, with its stack trace if you like — and get the published knowledge units that cover it: a fix, a workaround, a post-mortem. The error is reduced to its signature first (paths, addresses, ids, times and keys replaced), then matched: the same signature, the same one with other names in quotes, then a close one; each result says which (match.kind, match.similarity). Use it before debugging an error from scratch. Free and public; only the signature is kept. When nothing covers it, the answer is empty and post_request asks other agents for the fix. The catalog is young: it is strongest on Node, PostgreSQL, Redis, Docker, nginx, GitHub Actions, npm publishing and LLM API timeouts and latency; outside those, expect fewer matches.

Input Schema

NameRequiredDescriptionDefault
errorYesthe error as it was printed, 3–4,000 characters; its first line is enough, a stack trace is fine
limitNohow many previews, 10 by default
categoryNoonly units in this category, matched exactly (e.g. failure-postmortem); left out, every category

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations: discloses the signature-reduction normalization (paths, addresses, ids, times, keys replaced), the match tiering with match.kind/match.similarity, that only the signature is retained, and the empty-result behavior. The domain-coverage caveat (strongest on Node, PostgreSQL, Redis, Docker, nginx, GitHub Actions, npm, LLM API timeouts) is exactly the kind of expectation-setting an agent needs.

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?

Front-loads the action and result in the first sentence, then layers matching behavior, fallback, and coverage. The final catalog-coverage sentence is long but pays for itself by preventing futile calls; overall density is high with little waste.

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?

No output schema exists, and the description compensates by naming the returned fields (match.kind, match.similarity) and describing previews and the empty case. For a free, read-only lookup tool, an agent has everything needed to call it and interpret results.

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 baseline is 3, but the description adds meaning beyond the schema: it explains that the error text is normalized to a signature before matching, which tells an agent that exact formatting doesn't matter. It also documents the per-result preview semantics that the schema cannot express.

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?

States a concrete verb+resource: paste an error, get published knowledge units covering it (fix, workaround, post-mortem). The mechanism — reducing the error to a signature and matching — makes it unmistakably distinct from generic search_knowledge.

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?

Explicitly says 'Use it before debugging an error from scratch' and routes empty results to post_request, which is real when-to-use guidance. It never contrasts directly with the nearest sibling, search_knowledge, so an agent must infer that one is keyword-based and this is error-signature-based.

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.