Skip to main content
Glama

Read site pages

read_site_pages
Read-onlyIdempotent

Pages from a crawl, paged: URL, title, page type, status, scores, issue count and the rule ids of each page's issues by finding class. Pass url to find a page by its address, rule_id (from read_site_health top_issues or an issue group) to list exactly the pages affected by that issue, each with rule_evidence: what that check found on that page (a site-level architecture issue is recorded once on the home page, and its rule_evidence names the affected pages), and, when the crawl kept one, a reference_snippet: redacted markup of the failing element and its label context from one affected page (text and attribute values replaced by [text] and [redacted]), to write an exact fix; filter by page_kind or status to find pages by type or status. This returns metadata, not page copy: use read_page_text for a page's words. view issue_history with site_url_id lists the issues that page has resolved. read_site_health gives the totals.

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": {
      "project_id": "<project_id>"
    },
    "name": "read_site_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoA page address or part of one, such as https://example.com/pricing or /pricing; keeps pages whose URL contains it, ignoring scheme, www and a trailing slash.
viewNopages
limitNoHow many rows to return; omit for the default page size.
cursorNoThe next_cursor a previous page returned.
statusNoKeep only pages in this state.
rule_idNoA Site Health rule_id; returns only the pages with a current issue of it.
crawl_idNoA crawl id that read_site_health returned; omit for the latest crawl.
page_kindNoKeep only pages of this type.
project_idYesA project id that list_projects returned.
site_url_idNoWith view issue_history: a page id from this tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / site_url_id
      Added value: +{
      +  "description": "With view issue_history: a page id from this tool.",
      +  "format": "uuid",
      +  "type": "string"
      +}
    • addedInput schema / properties / view
      Added value: +{
      +  "default": "pages",
      +  "enum": [
      +    "pages",
      +    "issue_history"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / url
      Added value: +{
      +  "description": "A page address or part of one, such as https://example.com/pricing or /pricing; keeps pages whose URL contains it, ignoring scheme, www and a trailing slash.",
      +  "maxLength": 2048,
      +  "minLength": 1,
      +  "type": "string"
      +}
  3. Changed4 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"How many rows to return; omit for the default page size."
    • addedInput schema / properties / page_kind / description
      Added value: +"Keep only pages of this type."
    • addedInput schema / properties / project_id / description
      Added value: +"A project id that list_projects returned."
    • addedInput schema / properties / status / description
      Added value: +"Keep only pages in this state."
  4. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/closed-world, so the description's job is context, and it delivers: it discloses that site-level architecture issues are recorded once on the home page with rule_evidence naming affected pages, and that reference_snippet is redacted markup with [text] and [redacted] substitutions. It stops short of describing pagination behavior beyond 'paged'/'next_cursor' and return size limits, which keeps it from a 5.

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?

Nearly every clause carries information — field list, filter behavior, cross-tool routing, redaction semantics — with no filler. The weakness is structure: the middle is one very long sentence with nested parentheticals, which makes the rule_id/rule_evidence relationship slower to parse than it needs to be.

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?

With 10 parameters and no output schema, the description carries the return-shape burden and does: it names the returned fields, explains the special case of site-level issues and reference_snippet redaction, and points to sibling tools for totals and page text. Nothing an agent needs to invoke this correctly is missing.

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 description coverage is 90%, so the baseline is 3; the description adds meaning on top by explaining url matching semantics implicitly through examples and, more importantly, by documenting where rule_id comes from and how rule_evidence/reference_snippet differ between page-level and site-level issues. It does not restate the enum meanings (page_kind, status, view), which the schema already covers.

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 resource and enumeration: 'Pages from a crawl, paged' followed by the exact fields returned (URL, title, page type, status, scores, issue count, rule ids by finding class). It explicitly separates itself from read_page_text ('This returns metadata, not page copy'), so an agent can pick correctly without opening the 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?

Gives concrete routing rules: pass url to find a page by address, rule_id (sourced from read_site_health top_issues or an issue group) to list affected pages, view issue_history with site_url_id for resolved issues, and read_page_text for actual page copy. Alternatives are named with the condition that selects them.

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