Skip to main content
Glama

Search Docs

search-docs
Read-onlyIdempotent

Searches the whole standard, every section of every page and every checklist rule, and returns the best matches: where each one is, a short excerpt, and for rules, their ID, level and scope.

WHEN TO USE: to find where a topic is covered when you don't know the page or the section, like "focus after delete", "spinner", "aria-pressed" or "dark mode". Then read a section with get-page, or rules with list-rules. WHEN NOT TO USE: to list a component's rules, use list-rules. To see which components there are, use list-components.

Search for a few specific words rather than a whole question.

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
typeNoOnly search sections, or only rules.
limitNoHow many results to return, at most.
queryYesA few words, like "focus after delete" or "aria-pressed".
componentNoOnly search this page and its rules, like button or design-tokens.

Output Schema

NameRequiredDescriptionDefault
queryYes
totalYesHow many sections and rules match, of which the best come first.
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / component / enum
      Previous value: -[
      -  "introduction",
      -  "roadmap",
      -  "mcp-server",
      -  "agent-plugin",
      -  "design-tokens",
      -  "button",
      -  "card",
      -  "checkbox-group",
      -  "checkbox",
      -  "combobox",
      -  "dialog",
      -  "field",
      -  "input",
      -  "popover",
      -  "radio-group",
      -  "select",
      -  "spinner",
      -  "switch",
      -  "tag-group",
      -  "tag",
      -  "textarea",
      -  "tooltip"
      -]New value: +[
      +  "introduction",
      +  "roadmap",
      +  "mcp-server",
      +  "agent-plugin",
      +  "design-tokens",
      +  "button",
      +  "card",
      +  "checkbox-group",
      +  "checkbox",
      +  "combobox",
      +  "dialog",
      +  "field",
      +  "input",
      +  "popover",
      +  "radio-group",
      +  "select",
      +  "spinner",
      +  "switch",
      +  "tag-group",
      +  "tag",
      +  "textarea",
      +  "tooltip",
      +  "button-checklist",
      +  "card-checklist",
      +  "checkbox-checklist",
      +  "checkbox-group-checklist",
      +  "combobox-checklist",
      +  "dialog-checklist",
      +  "field-checklist",
      +  "input-checklist",
      +  "popover-checklist",
      +  "radio-group-checklist",
      +  "select-checklist",
      +  "spinner-checklist",
      +  "switch-checklist",
      +  "tag-checklist",
      +  "tag-group-checklist",
      +  "textarea-checklist",
      +  "tooltip-checklist"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / component / enum
      Previous value: -[
      -  "introduction",
      -  "roadmap",
      -  "mcp-server",
      -  "agent-plugin",
      -  "design-tokens",
      -  "button",
      -  "card",
      -  "checkbox-group",
      -  "checkbox",
      -  "dialog",
      -  "field",
      -  "input",
      -  "popover",
      -  "radio-group",
      -  "select",
      -  "spinner",
      -  "switch",
      -  "tag-group",
      -  "tag",
      -  "textarea",
      -  "tooltip"
      -]New value: +[
      +  "introduction",
      +  "roadmap",
      +  "mcp-server",
      +  "agent-plugin",
      +  "design-tokens",
      +  "button",
      +  "card",
      +  "checkbox-group",
      +  "checkbox",
      +  "combobox",
      +  "dialog",
      +  "field",
      +  "input",
      +  "popover",
      +  "radio-group",
      +  "select",
      +  "spinner",
      +  "switch",
      +  "tag-group",
      +  "tag",
      +  "textarea",
      +  "tooltip"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / component / enum
      Previous value: -[
      -  "introduction",
      -  "roadmap",
      -  "mcp-server",
      -  "agent-plugin",
      -  "design-tokens",
      -  "button",
      -  "card",
      -  "checkbox-group",
      -  "checkbox",
      -  "dialog",
      -  "field",
      -  "input",
      -  "popover",
      -  "radio-group",
      -  "select",
      -  "spinner",
      -  "switch",
      -  "tag",
      -  "textarea",
      -  "tooltip"
      -]New value: +[
      +  "introduction",
      +  "roadmap",
      +  "mcp-server",
      +  "agent-plugin",
      +  "design-tokens",
      +  "button",
      +  "card",
      +  "checkbox-group",
      +  "checkbox",
      +  "dialog",
      +  "field",
      +  "input",
      +  "popover",
      +  "radio-group",
      +  "select",
      +  "spinner",
      +  "switch",
      +  "tag-group",
      +  "tag",
      +  "textarea",
      +  "tooltip"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / component / enum
      Previous value: -[
      -  "introduction",
      -  "roadmap",
      -  "mcp-server",
      -  "agent-plugin",
      -  "design-tokens",
      -  "button",
      -  "card",
      -  "checkbox-group",
      -  "checkbox",
      -  "dialog",
      -  "field",
      -  "input",
      -  "popover",
      -  "radio-group",
      -  "select",
      -  "spinner",
      -  "switch",
      -  "textarea",
      -  "tooltip"
      -]New value: +[
      +  "introduction",
      +  "roadmap",
      +  "mcp-server",
      +  "agent-plugin",
      +  "design-tokens",
      +  "button",
      +  "card",
      +  "checkbox-group",
      +  "checkbox",
      +  "dialog",
      +  "field",
      +  "input",
      +  "popover",
      +  "radio-group",
      +  "select",
      +  "spinner",
      +  "switch",
      +  "tag",
      +  "textarea",
      +  "tooltip"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / component / enum
      Previous value: -[
      -  "introduction",
      -  "roadmap",
      -  "mcp-server",
      -  "agent-plugin",
      -  "design-tokens",
      -  "button",
      -  "card",
      -  "checkbox-group",
      -  "checkbox",
      -  "dialog",
      -  "field",
      -  "input",
      -  "popover",
      -  "radio-group",
      -  "spinner",
      -  "switch",
      -  "textarea",
      -  "tooltip"
      -]New value: +[
      +  "introduction",
      +  "roadmap",
      +  "mcp-server",
      +  "agent-plugin",
      +  "design-tokens",
      +  "button",
      +  "card",
      +  "checkbox-group",
      +  "checkbox",
      +  "dialog",
      +  "field",
      +  "input",
      +  "popover",
      +  "radio-group",
      +  "select",
      +  "spinner",
      +  "switch",
      +  "textarea",
      +  "tooltip"
      +]
  6. Changed1 schema field changed
    • changedInput schema / properties / component / enum
      Previous value: -[
      -  "introduction",
      -  "roadmap",
      -  "mcp-server",
      -  "agent-plugin",
      -  "design-tokens",
      -  "button",
      -  "card",
      -  "checkbox-group",
      -  "checkbox",
      -  "dialog",
      -  "input",
      -  "popover",
      -  "radio-group",
      -  "spinner",
      -  "switch",
      -  "textarea",
      -  "tooltip"
      -]New value: +[
      +  "introduction",
      +  "roadmap",
      +  "mcp-server",
      +  "agent-plugin",
      +  "design-tokens",
      +  "button",
      +  "card",
      +  "checkbox-group",
      +  "checkbox",
      +  "dialog",
      +  "field",
      +  "input",
      +  "popover",
      +  "radio-group",
      +  "spinner",
      +  "switch",
      +  "textarea",
      +  "tooltip"
      +]
  7. Changed1 schema field changed
    • changedInput schema / properties / component / enum
      Previous value: -[
      -  "introduction",
      -  "roadmap",
      -  "mcp-server",
      -  "agent-plugin",
      -  "design-tokens",
      -  "button",
      -  "card",
      -  "checkbox-group",
      -  "checkbox",
      -  "dialog",
      -  "input",
      -  "radio-group",
      -  "spinner",
      -  "switch",
      -  "textarea",
      -  "tooltip"
      -]New value: +[
      +  "introduction",
      +  "roadmap",
      +  "mcp-server",
      +  "agent-plugin",
      +  "design-tokens",
      +  "button",
      +  "card",
      +  "checkbox-group",
      +  "checkbox",
      +  "dialog",
      +  "input",
      +  "popover",
      +  "radio-group",
      +  "spinner",
      +  "switch",
      +  "textarea",
      +  "tooltip"
      +]
  8. Changed1 schema field changed
    • changedInput schema / properties / component / enum
      Previous value: -[
      -  "introduction",
      -  "roadmap",
      -  "mcp-server",
      -  "agent-plugin",
      -  "design-tokens",
      -  "radio-group",
      -  "button",
      -  "card",
      -  "checkbox-group",
      -  "checkbox",
      -  "dialog",
      -  "input",
      -  "spinner",
      -  "switch",
      -  "textarea",
      -  "tooltip"
      -]New value: +[
      +  "introduction",
      +  "roadmap",
      +  "mcp-server",
      +  "agent-plugin",
      +  "design-tokens",
      +  "button",
      +  "card",
      +  "checkbox-group",
      +  "checkbox",
      +  "dialog",
      +  "input",
      +  "radio-group",
      +  "spinner",
      +  "switch",
      +  "textarea",
      +  "tooltip"
      +]
  9. Changed1 schema field changed
    • changedInput schema / properties / component / enum
      Previous value: -[
      -  "introduction",
      -  "roadmap",
      -  "mcp-server",
      -  "agent-plugin",
      -  "design-tokens",
      -  "button",
      -  "card",
      -  "checkbox-group",
      -  "checkbox",
      -  "dialog",
      -  "input",
      -  "spinner",
      -  "switch",
      -  "textarea",
      -  "tooltip"
      -]New value: +[
      +  "introduction",
      +  "roadmap",
      +  "mcp-server",
      +  "agent-plugin",
      +  "design-tokens",
      +  "radio-group",
      +  "button",
      +  "card",
      +  "checkbox-group",
      +  "checkbox",
      +  "dialog",
      +  "input",
      +  "spinner",
      +  "switch",
      +  "textarea",
      +  "tooltip"
      +]
  10. Changed1 schema field changed
    • changedInput schema / properties / component / enum
      Previous value: -[
      -  "introduction",
      -  "roadmap",
      -  "mcp-server",
      -  "agent-plugin",
      -  "design-tokens",
      -  "button",
      -  "spinner",
      -  "input",
      -  "card",
      -  "checkbox",
      -  "dialog",
      -  "switch",
      -  "textarea",
      -  "tooltip",
      -  "checkbox-group"
      -]New value: +[
      +  "introduction",
      +  "roadmap",
      +  "mcp-server",
      +  "agent-plugin",
      +  "design-tokens",
      +  "button",
      +  "card",
      +  "checkbox-group",
      +  "checkbox",
      +  "dialog",
      +  "input",
      +  "spinner",
      +  "switch",
      +  "textarea",
      +  "tooltip"
      +]
  11. Changed1 schema field changed
    • changedInput schema / properties / component / enum
      Previous value: -[
      -  "introduction",
      -  "roadmap",
      -  "mcp-server",
      -  "agent-plugin",
      -  "design-tokens",
      -  "button",
      -  "spinner",
      -  "input",
      -  "card",
      -  "checkbox",
      -  "switch",
      -  "textarea",
      -  "tooltip",
      -  "checkbox-group"
      -]New value: +[
      +  "introduction",
      +  "roadmap",
      +  "mcp-server",
      +  "agent-plugin",
      +  "design-tokens",
      +  "button",
      +  "spinner",
      +  "input",
      +  "card",
      +  "checkbox",
      +  "dialog",
      +  "switch",
      +  "textarea",
      +  "tooltip",
      +  "checkbox-group"
      +]
  12. Changed1 schema field changed
    • changedInput schema / properties / component / enum
      Previous value: -[
      -  "introduction",
      -  "roadmap",
      -  "mcp-server",
      -  "agent-plugin",
      -  "design-tokens",
      -  "button",
      -  "spinner",
      -  "input",
      -  "card",
      -  "checkbox",
      -  "switch",
      -  "textarea",
      -  "tooltip"
      -]New value: +[
      +  "introduction",
      +  "roadmap",
      +  "mcp-server",
      +  "agent-plugin",
      +  "design-tokens",
      +  "button",
      +  "spinner",
      +  "input",
      +  "card",
      +  "checkbox",
      +  "switch",
      +  "textarea",
      +  "tooltip",
      +  "checkbox-group"
      +]
  13. Changed1 schema field changed
    • changedInput schema / properties / component / enum
      Previous value: -[
      -  "introduction",
      -  "roadmap",
      -  "mcp-server",
      -  "agent-plugin",
      -  "design-tokens",
      -  "button",
      -  "spinner",
      -  "input",
      -  "card",
      -  "checkbox",
      -  "switch",
      -  "tooltip"
      -]New value: +[
      +  "introduction",
      +  "roadmap",
      +  "mcp-server",
      +  "agent-plugin",
      +  "design-tokens",
      +  "button",
      +  "spinner",
      +  "input",
      +  "card",
      +  "checkbox",
      +  "switch",
      +  "textarea",
      +  "tooltip"
      +]
  14. Changed1 schema field changed
    • changedInput schema / properties / component / enum
      Previous value: -[
      -  "introduction",
      -  "roadmap",
      -  "mcp-server",
      -  "agent-plugin",
      -  "design-tokens",
      -  "button",
      -  "spinner",
      -  "input",
      -  "switch",
      -  "tooltip"
      -]New value: +[
      +  "introduction",
      +  "roadmap",
      +  "mcp-server",
      +  "agent-plugin",
      +  "design-tokens",
      +  "button",
      +  "spinner",
      +  "input",
      +  "card",
      +  "checkbox",
      +  "switch",
      +  "tooltip"
      +]
  15. Changed1 schema field changed
    • changedInput schema / properties / component / enum
      Previous value: -[
      -  "introduction",
      -  "roadmap",
      -  "mcp-server",
      -  "agent-plugin",
      -  "design-tokens",
      -  "button",
      -  "spinner",
      -  "input",
      -  "tooltip"
      -]New value: +[
      +  "introduction",
      +  "roadmap",
      +  "mcp-server",
      +  "agent-plugin",
      +  "design-tokens",
      +  "button",
      +  "spinner",
      +  "input",
      +  "switch",
      +  "tooltip"
      +]
  16. Changed1 schema field changed
    • changedInput schema / properties / component / enum
      Previous value: -[
      -  "introduction",
      -  "roadmap",
      -  "mcp-server",
      -  "agent-plugin",
      -  "design-tokens",
      -  "button",
      -  "spinner",
      -  "input"
      -]New value: +[
      +  "introduction",
      +  "roadmap",
      +  "mcp-server",
      +  "agent-plugin",
      +  "design-tokens",
      +  "button",
      +  "spinner",
      +  "input",
      +  "tooltip"
      +]
  17. First observed

TDQS

A4.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without the prose. The description adds ranking semantics ('returns the best matches') and the breadth of the index searched, which the annotations cannot express, though it partly restates the return shape that the output schema already defines and says nothing about no-match or truncation behavior.

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?

Front-loads the one-sentence purpose, then uses labeled WHEN TO USE / WHEN NOT TO USE blocks for scanning, ending with a short usage tip. Every line does work, and the only mild redundancy is the example queries mirroring the schema.

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?

With an output schema present, the description needn't re-specify return fields, and annotations cover the safety profile; what remains — scope of the index, routing to alternatives, and query style — is all present. An agent can call this correctly on the first attempt.

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% with two enum-constrained parameters, so the baseline is 3; the description earns above baseline by giving query-construction advice ('Search for a few specific words rather than a whole question') that the schema's 'A few words, like...' hint does not fully convey. It does not explain the type or component filters, but those enums are self-documenting.

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 specific verb and resource plus an unusually precise scope: 'searches the whole standard, every section of every page and every checklist rule,' and names what comes back (location, excerpt, rule ID/level/scope). This makes it unmistakable next to get-page and list-rules without needing to open either schema.

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?

Includes explicit WHEN TO USE with concrete example queries ('focus after delete', 'aria-pressed', 'dark mode') and a WHEN NOT TO USE block that routes to list-rules and list-components by name. It also names the follow-up tool (get-page) so the agent knows how to continue after a match.

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.