Skip to main content
Glama

A1 Gallery

Search pages

search_pages
Read-only

Browse full-page captures of one page type across every site in the gallery — 'show me pricing pages', 'how do good about pages look'. Pass query to full-text search INSIDE the page copy instead — 'pricing pages that mention usage-based billing', 'about pages that talk about remote work' — each match then carries a highlighted snippet of the copy that hit. Optionally narrow to websites of a given type so you get a cohort rather than every site in the gallery. Returns inline screenshots for the first 4 results so the model can read the layouts directly — set includeImages=false for metadata only. Each result links to the live page and to its gallery entry. Use get_website_pages when you already know which site you want.

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

Input Schema

NameRequiredDescriptionDefault
limitNoHow many to return (max 50, default 20).
queryNoFull-text search inside the page copy (title + body text). Plain words, websearch syntax supported ('usage-based billing', 'refund -crypto'). Omit to browse by type alone.
offsetNoRows to skip, for the next page: pass nextOffset from the last result (max 200, default 0).
pageTypeNoPage type to browse. Omit to sample across all types.
websiteTypeNoNarrow to websites of this TYPE slug: 'landing', 'agency', 'portfolio', 'shop', 'one-page', 'waitlist', 'directory', 'blog', 'template'. Type is the shape of the site, not its industry — 'saas', 'fintech' and the like are categories, which this filter does not accept. Aliases like 'ecommerce' or 'landing-page' are resolved. Use get_design_filters → types for counts.
includeImagesNoInclude inline screenshots for the first 4 results (default true). Set false for token-light, metadata-only queries.

Output Schema

NameRequiredDescriptionDefault
noteNoGuidance when nothing matched
countYesNumber of pages returned
pagesYesMatching page captures
totalNoTotal matching rows, when known
offsetNoRows skipped before this page
hasMoreNoWhether more rows exist after this page
nextOffsetNoThe offset for the next page, when hasMore is true and the tool takes offset
siteLimitNoteNoPresent when the daily site limit stripped some rows
resolvedWebsiteTypeNoThe type slug the websiteType alias resolved to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare read-only, non-destructive, closed-world behavior, and the description adds real value beyond them: matches carry highlighted snippets, the first 4 results include inline screenshots by default with includeImages=false for metadata-only, and each result links to the live page and gallery entry. The only gap is that it doesn't mention pagination behavior, though offset/nextOffset is documented in the schema.

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 core browse behavior, then the search mode, then narrowing and output format, which is a sensible order. It is slightly long and repeats the includeImages/screenshot behavior already stated in the schema, but every sentence still contributes orientation rather than filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 fully spelled out, yet the description still previews the salient output traits (snippets, inline screenshots, live and gallery links). Combined with full schema documentation and clear annotations, an agent has everything needed to call it correctly.

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, but the description adds interpretive meaning: it clarifies the browse-vs-search switch driven by `query` and describes `websiteType` as selecting a cohort rather than an industry. Some of this restates the schema (aliases, type-vs-category), keeping it just short of 5.

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 ('browse full-page captures of one page type across every site in the gallery') and immediately illustrates the retrieval mode with concrete example queries. It also explicitly separates itself from the sibling get_website_pages, so an agent can distinguish it without opening other schemas.

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?

Gives an explicit when-to-use rule: omit `query` to browse by page type, pass `query` to full-text search inside page copy, and optionally narrow by website type to get a cohort. It also names the alternative (get_website_pages) for the known-site case, covering the main routing decision an agent faces.

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.