Skip to main content
Glama

Search content

search_content
Read-only

Find pages, collection entries and globals in one region and locale, drafts included. By default it searches by meaning and by words together (hybrid), so 'warm clothes for winter' finds down jackets and fleeces in any language. Returns total and results, each with id, name, url, contentType, status, hasUnpublishedChanges and a snippet, plus gravity telling which mode was used. Meaning needs Gravity switched on for the environment; without it the answer says fallback: true and uses keywords. Leave query out to list everything, by address.

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

Input Schema

NameRequiredDescriptionDefault
modeNohybrid: meaning and words together. keyword: words in the name, address or SEO title only. semantic: meaning only.hybrid
limitNoMost results to return, 1 to 100.
queryNoWhat to look for, in any language. Leave out to list all content.
localeNoLocale code, such as de-DE. Defaults to the region's default locale.
regionNoRegion key, such as germany. Defaults to the default region.
contentTypeNoOnly this content type key, from get_schema, such as article or product.
environmentNoEnvironment key. Defaults to "staging".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / contentType / description
      Added value: +"Only this content type key, from get_schema, such as article or product."
    • addedInput schema / properties / limit / description
      Added value: +"Most results to return, 1 to 100."
    • addedInput schema / properties / mode / description
      Added value: +"hybrid: meaning and words together. keyword: words in the name, address or SEO title only. semantic: meaning only."
    • addedInput schema / properties / query / description
      Added value: +"What to look for, in any language. Leave out to list all content."
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, non-destructive, closed-world), and the description adds substantial behavior: hybrid-by-default ranking, keyword fallback with fallback: true when Gravity is off, drafts included, and cross-language matching. This is exactly the kind of degraded-mode and scope disclosure annotations cannot convey.

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-loads the resource scope, then strategy, then return shape, then the fallback caveat — a logical order with no filler. It is dense but every sentence carries information an agent needs.

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 seven optional parameters the schema documents defaults and constraints, and the description supplies the missing behavioral context, including the return fields and the Gravity prerequisite. Only pagination/ordering nuances and explicit sibling routing are absent.

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 the baseline is 3; the description still adds meaning by explaining that omitting query lists all content 'by address' and that meaning-based matching only works when Gravity is enabled. Mode and locale/region semantics are largely left to the schema.

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 (find) and specific resources (pages, collection entries, globals) plus scope constraints (one region and locale, drafts included). It also reveals the retrieval strategy (hybrid meaning+words, cross-language), so an agent can tell this is a relevance-ranked search rather than a plain listing.

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?

It gives useful cues: hybrid is the default, query may be omitted to list everything, and semantic mode requires Gravity to be enabled. But it never names an alternative (e.g. list_pages or find_similar) or states when NOT to use this tool, so routing against siblings is only implied.

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