Skip to main content
Glama

Read a site page

read_site_page
Read-onlyDestructive

On one site of the account, named in site. One file of the site folder — pages/about.liquid, assets/hero.css — whole or by a line range, front matter included. A large file is cut with a note saying how to page.

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": {
      "site": "<site>",
      "path": "<path>"
    },
    "name": "read_site_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesThe file inside the site folder, like pages/about.liquid
siteYesThe site to work on, as list_sites names it
end_lineNo
start_lineNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, the description discloses three behaviors an agent could not otherwise know: front matter is included in the returned content, oversized files are truncated, and the truncation note explains how to page through the remainder. That truncation/paging behavior is exactly the kind of context that prevents a misread of a partial file. It does not say what happens on a missing path or how the content is formatted.

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 short fragments, no filler, and the site-scoping constraint is stated first. The telegraphic style is terse but every clause carries information (scope, examples, range mode, front matter, truncation).

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?

For a read tool with no output schema, the description covers the essentials: which file, which site, partial reads, front matter, and truncation with paging guidance. It does not cover failure modes or confirm that the content is returned verbatim, which would complete the picture.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%, and the two undocumented parameters (start_line, end_line) are precisely the ones the description addresses by explaining the 'whole or by a line range' mode. That compensates meaningfully, but it omits details such as 1-based indexing, whether end_line is inclusive, and what happens if only one bound is supplied.

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 scopes the tool precisely to a single file inside one site folder, with concrete examples (`pages/about.liquid`, `assets/hero.css`) that make the resource unambiguous. It lacks an explicit verb (the 'read' only appears in the name/title) and never distinguishes itself from the sibling read_theme_file, so an agent must infer which of the two read tools applies.

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 implied rather than stated: 'One file of the site folder' hints at the contrast with list_site_pages, and 'whole or by a line range' plus the truncation note hints at when to pass start_line/end_line. There is no explicit when-to-use, no exclusion, and no mention of the alternative read_theme_file or edit_site_page/write_site_page for the write path.

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