Skip to main content
Glama

search

Find MCP servers matching a capability across registries, returning ranked server_ids with credential-readiness so you can pick one to mount.

Instructions

Discover MCP servers across registries — the entry point to mounting.

Returns a ranked list of server_ids with name, description, source, and credential-readiness status. Records discovered servers in session so status() can summarize them. Reports per-registry failures inline rather than failing the whole call.

Use when: you need to find a server matching a capability before mounting. Avoid when: the server_id is already known — go straight to shapeshift() or inspect().

search('web search') # find candidates search('postgres', compare=True) # side-by-side token-cost table search('vector db', registry='official')

registry: all|official|mcpregistry|glama|npm|pypi

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"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYesKeywords, capability description, or natural-language phrase
compareNoReturn a side-by-side token-cost comparison table
registryNoall

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.20.5
    • addedInput schema / properties / compare / description
      Added value: +"Return a side-by-side token-cost comparison table"
    • addedInput schema / properties / query / description
      Added value: +"Keywords, capability description, or natural-language phrase"
  2. Changed7 schema fields changedv0.20.3
    • removedInput schema / properties / compare / description
      Removed value: -"If True, return a side-by-side token-cost comparison table instead of the default list — useful before committing to a shapeshift() target."
    • removedInput schema / properties / limit / description
      Removed value: -"Maximum number of results to return (typical range 1-20)."
    • removedInput schema / properties / limit / maximum
      Removed value: -50
    • removedInput schema / properties / limit / minimum
      Removed value: -1
    • removedInput schema / properties / query / description
      Removed value: -"Search phrase — keywords, capability description, or natural language. Examples: 'web search', 'github issues', 'postgres', 'fetch and summarize web pages'."
    • removedInput schema / properties / registry / description
      Removed value: -"Which registry/registries to search. 'all' (default) fans out across every configured source; pass a specific one to scope."
    • removedInput schema / properties / registry / examples
      Removed value: -[
      -  "all",
      -  "official",
      -  "mcpregistry",
      -  "glama",
      -  "npm",
      -  "smithery",
      -  "pypi"
      -]
  3. Changed7 schema fields changedv0.20.2
    • addedInput schema / properties / compare / description
      Added value: +"If True, return a side-by-side token-cost comparison table instead of the default list — useful before committing to a shapeshift() target."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of results to return (typical range 1-20)."
    • addedInput schema / properties / limit / maximum
      Added value: +50
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • addedInput schema / properties / query / description
      Added value: +"Search phrase — keywords, capability description, or natural language. Examples: 'web search', 'github issues', 'postgres', 'fetch and summarize web pages'."
    • addedInput schema / properties / registry / description
      Added value: +"Which registry/registries to search. 'all' (default) fans out across every configured source; pass a specific one to scope."
    • addedInput schema / properties / registry / examples
      Added value: +[
      +  "all",
      +  "official",
      +  "mcpregistry",
      +  "glama",
      +  "npm",
      +  "smithery",
      +  "pypi"
      +]
  4. First observedv0.20.1

TDQS

A4.3/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 most of it: it discloses the side effect (records discovered servers in session so status() can summarize them) and the failure semantics (per-registry failures reported inline rather than failing the whole call). Remaining gaps are latency, rate limits, and any auth requirements for the registries, but the core mutation-and-error behavior is well covered.

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 with purpose, then return shape, side effects, and when-to-use, all in short scannable lines. The trailing "registry: all|official|..." line is a raw fragment that reads like a dump rather than prose, though it is still useful content.

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?

An output schema exists, so return values needn't be explained, yet the description still summarizes them. It covers side effects, partial-failure behavior, and sibling routing. Only the limit parameter and any registry-specific prerequisites are left unaddressed.

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 only 50%, so the description must compensate. It adds real value for registry by enumerating the accepted values (all|official|mcpregistry|glama|npm|pypi), which the schema does not, and demonstrates compare with a side-by-side example. However, the limit parameter is never explained in either the schema or the description, leaving a quarter of the inputs undocumented.

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 ("Discover MCP servers across registries") and frames its role as "the entry point to mounting", which positions it against siblings. It also names which siblings to use instead (shapeshift(), inspect()) so the agent can distinguish it without opening a 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?

Explicit "Use when" and "Avoid when" clauses, with the avoid case naming the exact alternative tools that take over once a server_id is known. Nothing about tool selection is left to inference.

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