Skip to main content
Glama

Mdn Search Search

mdn_search_search
Read-onlyIdempotent

Full-text search across MDN content.

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 layout"
    },
    "name": "mdn_search_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page
sizeNo1-100 (default 10)
queryYes
localeNoen-US (default) | fr | es | ja | zh-CN | ...

Output Schema

NameRequiredDescriptionDefault
metadataNoSearch metadata
documentsNoArray of search result documents

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / locale / description
      Previous value: -"en-US (default) | fr | es | ja | zh-CN | …"New value: +"en-US (default) | fr | es | ja | zh-CN | ..."
  2. Changed2 schema fields changed
    • addedOutput schema / properties / metadata / properties / total / properties
      Added value: +{
      +  "relation": {
      +    "type": "string"
      +  },
      +  "value": {
      +    "type": "number"
      +  }
      +}
    • changedOutput schema / properties / metadata / properties / total / type
      Previous value: -"number"New value: +"object"
  3. Added

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so safety is covered. Beyond that the description says nothing: no indication of what corpus is searched, how results are ranked or truncated, whether locale changes matching, or how pagination beyond the last page behaves.

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?

A single front-loaded sentence with zero filler, which is the right shape for a search tool. It is arguably too terse rather than padded, but the brevity itself is well executed.

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

Completeness2/5

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

An output schema is present, so return values need not be explained, and annotations cover the safety profile. Still, for a search tool with four parameters and a directly competing sibling, the definition omits the query syntax and the choice between this tool and mdn_search_summary, which are the two things an agent most needs.

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

Parameters2/5

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

The description adds no meaning beyond the input schema for any of the four parameters. Coverage is 75%, and the one undocumented parameter is the required one (query), whose syntax — search operators, phrase handling, multi-word behavior — is explained nowhere in the description or schema.

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?

"Full-text search across MDN content" gives a specific verb (full-text search) and resource (MDN content), so an agent knows exactly what the tool retrieves. It does not, however, contrast itself with the sibling mdn_search_summary, leaving the agent to infer that this is the raw-result variant rather than the summarized one.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, and no alternative is named. The sibling mdn_search_summary is the obvious competing choice for the same resource, but the description never tells the agent which to pick; usage is only implied by the phrase "full-text search".

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.