Skip to main content
Glama

web_read

Read a managed HTML/CSS/text file by ID, returning up to 16,384 characters, revision info, and next offset; opaque assets cannot be read.

Instructions

Read up to 16,384 characters of a managed HTML/CSS/text file, with revision and next offset. Opaque assets cannot be read.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoExclusive character offset.
startNoInclusive character offset.
file_idYesFile id from web_pages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does reasonably well: it discloses the truncation cap, that a revision and next offset are returned (pagination signal), and that opaque assets are unreadable. It stops short of describing permission requirements or what happens at end-of-file, but the core read behavior is transparent.

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?

Two tight sentences with zero filler. The size cap and return shape come first, and the readability exclusion follows immediately, so the most decision-relevant information is front-loaded.

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?

No output schema exists, so the description wisely names what comes back (revision and next offset), covering the return-value gap. Combined with 100% schema coverage, an agent has enough to call it correctly; only edge behavior at the end of the file is unstated.

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 description coverage is 100%, so file_id, start, and end are already documented as inclusive/exclusive offsets in the schema. The description's mention of 'next offset' adds a hint about pagination continuity but no syntax or format detail beyond what the schema already supplies; baseline 3 is appropriate.

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?

States a specific verb (Read), resource (managed HTML/CSS/text file), and an explicit scope cap of 16,384 characters. Clear enough for an agent to distinguish this from write-oriented siblings like web_set_text, but it does not name or contrast with any specific sibling tool.

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 by the verb and the stated 'Opaque assets cannot be read' exclusion, which is a useful when-not condition. However, there is no guidance on when to prefer this over web_find or web_pages, nor any mention of prerequisites for obtaining a file_id beyond the schema's reference to web_pages.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.