Skip to main content
Glama
PatternFly MCP Server

PatternFly MCP Server

Official
by patternfly

searchPatternFlyDocs

Search PatternFly documentation collections to find component names, doc and guideline URLs, resource URIs, and versions for retrieving markdown docs, guidelines, and schemas.

Instructions

Search collections and get component names with documentation and guidance URLs. Supports case-insensitive partial, version-specific (e.g., "card v5"), and all ("*") matches.

  **Usage**:
    1. Input a "searchQuery" to find documentation and guideline URLs, resource URIs, and component names.
    2. Use the returned resource names OR URLs OR URIs OR version with the "usePatternFlyDocs" tool to get markdown documentation, guidelines, and component JSON schemas.

  **Returns**:
    - Component and resource names that can be used with "usePatternFlyDocs"
    - Documentation and guideline URLs that can be used with "usePatternFlyDocs"
    - Resource URIs that can be used with "usePatternFlyDocs" or directly as MCP resources
  

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": {
      "searchQuery": "<searchQuery>"
    },
    "name": "searchPatternFlyDocs"
  }
}

Input Schema

NameRequiredDescriptionDefault
collectionNoFilter results by a primary collection of records (e.g. "patternfly-component-schemas", "patternfly-docs", "patternfly-api", "ai-handbook")
searchQueryYesCase-insensitive query for full or partial keywords, resource names, versions and more (e.g., "button", "card v6", "react", "*")

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.6.0
    • changedInput schema / properties / collection / description
      Previous value: -"Filter results by a primary collection of records (e.g. \"patternfly-api\", \"patternfly-component-schemas\", \"patternfly-docs\", \"ai-handbook\")"New value: +"Filter results by a primary collection of records (e.g. \"patternfly-component-schemas\", \"patternfly-docs\", \"patternfly-api\", \"ai-handbook\")"
  2. Changed3 schema fields changedv2.5.0
    • addedInput schema / properties / collection
      Added value: +{
      +  "description": "Filter results by a primary collection of records (e.g. \"patternfly-api\", \"patternfly-component-schemas\", \"patternfly-docs\", \"ai-handbook\")",
      +  "type": "string"
      +}
    • changedInput schema / properties / searchQuery / description
      Previous value: -"Full or partial resource or component name to search for (e.g., \"button\", \"react\", \"*\")"New value: +"Case-insensitive query for full or partial keywords, resource names, versions and more (e.g., \"button\", \"card v6\", \"react\", \"*\")"
    • removedInput schema / properties / version
      Removed value: -{
      -  "description": "Filter results by a specific PatternFly version (e.g. \"current\", \"latest\", \"v6\")",
      -  "enum": [
      -    "current",
      -    "latest",
      -    "v6"
      -  ],
      -  "type": "string"
      -}
  3. Addedv1.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full load and does disclose matching semantics — case-insensitive partial matches, version-scoped matches ("card v5"), and "*" for all — plus the three categories of returned data. It stops short of stating result limits, pagination, or how many matches to expect for a broad query like "*".

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 purpose sentence followed by compact Usage and Returns blocks that are easy to scan. There is mild repetition — the phrase 'that can be used with usePatternFlyDocs' appears three times in the Returns list and could be stated once.

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?

A two-parameter, annotation-free search tool with no output schema; the description closes the important gaps by explaining what comes back and what to do with it next. What remains unstated is scale-related behavior (result caps, pagination) that matters when searching with "*".

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, but the description adds genuine semantics beyond the schema examples: it names version-specific matching and wildcard-all behavior as supported query modes. The 'collection' filter is only documented in the schema, not the prose, which keeps this just under a 5.

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 (Search) and resource (PatternFly doc collections), and enumerates what it returns: component names, documentation/guidance URLs, and resource URIs. It also implicitly distinguishes itself from the sibling by framing itself as the discovery step that feeds 'usePatternFlyDocs'.

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?

Gives an explicit two-step workflow: input 'searchQuery' to find names/URLs/URIs, then pass any of them (or a version) to 'usePatternFlyDocs'. The alternative sibling is named with the exact condition that selects it, leaving no ambiguity about which tool to call first.

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

Deploy Server

Other Tools