Skip to main content
Glama

W3c Search

w3c_search
Read-onlyIdempotent

Find W3C / web-standards specifications by keyword or topic, HTML, CSS, WCAG accessibility, DOM, SVG, WAI-ARIA, WebAuthn, Fetch, and 800+ others. Answers "what W3C spec defines X", "the CSS grid specification", "web accessibility standard", "which spec covers custom elements". Returns specs with shortname, title, status (Recommendation / Working Draft / Living Standard), organization, and official URL. Example: w3c_search({ query: "flexbox" }).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax results 1-25 (default 10).
queryYesKeyword(s) matched against spec titles, e.g. "flexbox", "accessibility", "web components".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "query": "flexbox"
      +  },
      +  {
      +    "limit": 5,
      +    "query": "web accessibility"
      +  }
      +]
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavior by enumerating the returned fields (shortname, title, status like Recommendation/Working Draft/Living Standard, organization, official URL), which matters because there is no output schema. It says nothing about ranking, ordering, or whether body text is searched versus titles only.

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?

It is a single dense paragraph, front-loaded with purpose, then coverage, then example queries, then return shape, then a call example. Every sentence contributes something the agent would otherwise have to guess.

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

Completeness4/5

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

With only two parameters and no output schema, the description covers purpose, coverage, and the return fields an agent needs to interpret results. The remaining gap is result ordering/ranking and whether matching is limited to titles, which would matter for interpreting a partial result set.

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

Parameters3/5

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

Schema coverage is 100% and already documents both parameters, including the 1-25 limit range and default. The description only reinforces that the query matches against spec titles and supplies an example invocation, adding little meaning beyond the schema — the baseline 3 is appropriate.

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 specific verb and resource — "Find W3C / web-standards specifications" — and narrows scope with a concrete domain list (HTML, CSS, WCAG, DOM, SVG, WAI-ARIA, WebAuthn, Fetch, 800+ others). It never names the sibling w3c_spec or explains how keyword search differs from fetching a known spec, so sibling differentiation is left implicit.

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?

Four quoted example questions ("what W3C spec defines X", "the CSS grid specification", "web accessibility standard", "which spec covers custom elements") give a clear picture of when this tool applies, plus a concrete call example. There is no explicit when-not-to-use or named alternative, so it stops short of full routing guidance.

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.