Skip to main content
Glama

Search the WebAbility MCP docs

search_docs
Read-onlyIdempotent

Search the server’s offline documentation to resolve unclear argument names, enum values, and error codes before making a call, reducing failed tool invocations.

Instructions

Search this server's own documentation before guessing. Covers: the output controls (level, minImpact, rules, wcag, format, offset), the accepted WCAG tag and rule-id forms, the fix.op set and the three fixability tiers, verify_fix failure reasons, Lite vs hosted (localhost, tunnel, storageState), tool error codes and which are retriable, fair-use limits, and how generate_report_pdf / start_audit / get_audit differ. The index is inside the package: offline, no account, no cost, a few milliseconds. Call it when an argument name, an enum value or an error code is not obvious from the tool description — one search usually costs less than one failed call.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many sections to return (default 3, max 5)
queryYesWhat you need to know, in your own words or as the exact term (e.g. "minImpact", "fixability", "localhost", "rate limit", "not-verifiable")

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.12.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world, non-destructive behavior, so the bar is low; the description still adds non-derivable operational facts: the index is local to the package, works offline, requires no account, costs nothing, and returns in milliseconds. It doesn't describe result shape (sections, ranking), but the low latency and zero-cost claims are the decision-relevant additions.

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-loaded with the imperative and trigger, then the coverage list, then the cost rationale. The coverage enumeration is long but each entry maps to a real searchable domain, so it mostly earns its place; a couple of items (e.g. Lite vs hosted details) are dense enough to slow parsing slightly.

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?

For a two-parameter, annotation-backed lookup tool with no output schema, the definition supplies everything needed: what to query, when to query it, what topics exist, and the cost profile. No meaningful information gap remains for correct invocation.

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 baseline is 3; the description earns above baseline by supplying example query strings ("minImpact", "fixability", "localhost", "rate limit", "not-verifiable") that show the exact-term style the index accepts, and by enumerating the domains a query can target. The limit parameter is left entirely to the schema, which is acceptable given its coverage.

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?

"Search this server's own documentation" gives a specific verb plus a precise resource, and the scope is self-referential, so an agent immediately distinguishes it from scanning/inspection siblings like scan_page or get_rules. The following coverage list reinforces exactly which topics the corpus holds.

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?

States an explicit trigger ("when an argument name, an enum value or an error code is not obvious from the tool description") and an explicit decision rule ("one search usually costs less than one failed call"). It also names the pre-condition "before guessing", which tells the agent not to fabricate values instead.

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