Skip to main content
Glama

Search project content

search_content
Read-only

Search a project's pages and collection entries by text. Collections themselves are not searchable: list_collections lists them. Returns { results, limit, capped }: at most limit pages and limit entries, each with its type and metadata; capped true means there may be more, so narrow the query or raise the limit.

Input Schema

NameRequiredDescriptionDefault
limitNoMost results of each kind, pages and entries (1 to 50, default 20)
queryYesSearch query text
entityNoOnly pages, or only collection entries (entries with their own page are found through their page and marked pageBackedEntry)
projectIdYesThe project ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / entity / description
      Previous value: -"Filter by entity type (e.g. 'page', 'entry')"New value: +"Only pages, or only collection entries (entries with their own page are found through their page and marked pageBackedEntry)"
    • addedInput schema / properties / entity / enum
      Added value: +[
      +  "page",
      +  "entry"
      +]
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 20,
      +  "description": "Most results of each kind, pages and entries (1 to 50, default 20)",
      +  "maximum": 50,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With readOnlyHint/openWorldHint/destructiveHint already declaring the safety profile, the description still adds real behavior: the return shape { results, limit, capped } and the meaning of capped=true as a truncation signal. It leaves the per-result metadata vague ('its type and metadata'), so it is strong but not exhaustive.

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?

Three tight sentences: purpose first, exclusion second, return contract third. Zero filler and no repetition of annotation-declared facts.

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?

With no output schema, the description carries the return contract and does it well, and all four parameters are covered. Missing only smaller details an agent might want, such as match semantics (substring vs. fuzzy) and what fields the 'metadata' contains.

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; the description adds value by explaining cap semantics ('capped true means there may be more') that the schema does not express. The limit explanation ('at most limit pages and limit entries') largely restates the schema's 'results of each kind' wording.

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 ('Search a project's pages and collection entries by text') and explicitly delimits scope with 'Collections themselves are not searchable'. An agent can distinguish it from list_collections, list_pages, and list_entries without opening any schema.

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?

Names a concrete alternative for the excluded case ('Collections themselves are not searchable: list_collections lists them') and gives actionable guidance when results are truncated ('narrow the query or raise the limit'). It does not cover when to prefer this over list_pages/list_entries for browsing without a query, so it stops short of full when/when-not coverage.

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