Skip to main content
Glama

The Republic Community Projects

Search a site

search_site
Read-only

The site's pages that hold some words, best first: titles starting with them, then titles holding them, then descriptions and page text; a question no page holds word for word is matched in English, stems and all. Each with its path, url, title, description and the passage the words are in, the first 20 of total: the same rows as the site's search page and /search.json?q=.

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

Input Schema

NameRequiredDescriptionDefault
queryYesThe words to find

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnly, non-destructive, closed-world behavior, and the description adds substantial context on top: match ranking (title-prefix, then title, then description/text), stemming and natural-language fallback for questions, a 20-row cap out of `total`, and parity with the site's own search endpoint. It stops short of covering empty-result behavior or any limits on refining a query.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Everything said is substantive, but it is delivered as one long, heavily punctuated sentence that opens with the result set rather than the action, making it harder to parse than necessary. Front-loading the verb and splitting ranking from return shape would improve it.

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 compensates well by naming every returned field (path, url, title, description, passage) plus the 20-of-total pagination. Only edge cases such as zero results and how to reach rows past the first 20 are left unaddressed.

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?

With one parameter at 100% schema coverage the baseline is 3, but the description adds real meaning: the input can be a natural-language question, matching is stemmed and English-aware, and word-for-word presence is not required. That goes beyond the schema's bare "The words to find".

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 concretely describes a full-text search over the site's pages, including ranking order and returned fields, so the resource and operation are unmistakable. It never explicitly contrasts itself with siblings like read_page or get_site, so it falls short of a 5.

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

Usage Guidelines3/5

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

Usage is only implied: it is clearly the keyword/query entry point ("the same rows as the site's search page and /search.json?q="), which suggests reaching for it when you have search terms. There is no explicit when-to-use versus read_page, and no statement about what to do when the query matches nothing.

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.

Resources