Skip to main content
Glama

gateway.catalog_search

Search and filter tools across connected MCP servers, including cached offline options, to discover capabilities without loading full schemas.

Instructions

Search for available tools across all connected MCP servers. Returns compact capability cards without full schemas. Use filters to narrow results by server, tags, or risk level. Set include_offline=true to also include cached tools of offline servers and, with a query, provisionable manifest servers not yet started. This is the primary tool discovery entry point.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gateway.catalog_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results to return
queryNoSearch query to match against tool names, descriptions, and tags
filtersNoNarrow results by server, tags, or risk level
include_offlineNoAlso include cached tools of offline servers and, with a query, manifest servers never started (manifest_candidates)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv3.0.1
    • addedInput schema / properties / filters / anyOf
      Added value: +[
      +  {
      +    "properties": {
      +      "risk_max": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "low",
      +              "medium",
      +              "high"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Maximum risk level to include"
      +      },
      +      "server": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Filter to tools from a specific server"
      +      },
      +      "tags": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Filter to tools with any of these tags"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / filters / description
      Added value: +"Narrow results by server, tags, or risk level"
    • removedInput schema / properties / filters / properties
      Removed value: -{
      -  "risk_max": {
      -    "description": "Maximum risk level to include",
      -    "enum": [
      -      "low",
      -      "medium",
      -      "high"
      -    ],
      -    "type": "string"
      -  },
      -  "server": {
      -    "description": "Filter to tools from a specific server",
      -    "type": "string"
      -  },
      -  "tags": {
      -    "description": "Filter to tools with any of these tags",
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  }
      -}
    • removedInput schema / properties / filters / type
      Removed value: -"object"
    • changedInput schema / properties / include_offline / description
      Previous value: -"Include tools from offline servers"New value: +"Also include cached tools of offline servers and, with a query, manifest servers never started (manifest_candidates)"
    • addedInput schema / properties / query / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / query / type
      Removed value: -"string"
  2. Addedv1.21.1
  3. Removedv1.20.0
  4. First observedv1.18.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses the return shape ('compact capability cards without full schemas') and the non-obvious conditional behavior that include_offline with a query also surfaces provisionable manifest servers. It does not mention pagination or how limit interacts with truncation.

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?

Four tight sentences, front-loaded with purpose, then return shape, then parameter guidance, then role. Nothing is redundant or padding.

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?

There is no output schema, and the description at least characterizes the response as compact capability cards and flags the offline/provisionable inclusion rule. Missing only secondary details such as result ordering, whether cards include risk/tags, or the limit's default behavior.

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 description coverage is 100%, so all four parameters are already documented, including the include_offline nuance. The description largely restates that (server/tags/risk filters, include_offline) without adding format or precedence detail, so baseline 3 applies.

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?

States a specific verb and resource ('Search for available tools across all connected MCP servers') and adds scope ('across all connected servers'). It does not explicitly distinguish itself from sibling gateway.search_registry or gateway.describe, so an agent could still hesitate between discovery tools.

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?

Declares itself 'the primary tool discovery entry point' and explains how to narrow with filters and when to set include_offline. It offers no exclusion guidance, e.g. when to use gateway.describe for full schemas or gateway.search_registry instead.

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