Skip to main content
Glama

Read View

tb_read_view

Get a readable Markdown view of a web page by URL or active tab for scope checking, with options for token budget, main content only, and domain restrictions.

Instructions

Return a readable Markdown view of a target or opened daemon tab for scope checking. In a session, omit target to use the active opened tab.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNoThe URL or target to convert into a readable view. Required for stateless reads; optional when sessionId points at an opened active tab.
browserNoWhen true, use the browser-backed acquisition path for this operation.
budgetNoToken budget for snapshot and semantic processing. Default is 512.
mainOnlyNoWhen true, return only the page's main content in the read view.
sourceRiskNoThe source risk label to attach to the result or citation.
sourceLabelNoThe human-readable source label to attach to the result or citation.
allowDomainsNoRestrict the operation to this list of allowed domains.
sessionIdNoThe browser session to use for this operation.
tabIdNoThe specific tab to use inside the session. If omitted, the active tab is used.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceUrlNo
sourceTitleNo
markdownTextNo
approxTokensNo
charCountNo
lineCountNo
mainOnlyNo
mainContentQualityNo
mainContentReasonNo
mainContentHintNo
refIndexNo
sessionStateNo
sessionIdNo
tabIdNo
diagnosticsNo
resultNo
Behavior3/5

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

With no annotations, the description must bear the burden of behavioral disclosure. It implies a read operation through the verb 'Read' and output format, but does not explicitly state non-destructiveness, permissions needed, or error behavior. This is adequate but leaves gaps.

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?

The description is two sentences, front-loaded with the core purpose, followed by a concise usage tip. Every word serves a purpose with no redundancy.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite having 9 parameters, the description focuses only on target and session usage. With output schema present, it may be sufficient for basic use, but the many configuration parameters (budget, mainOnly, etc.) are left unexplained, limiting completeness for complex scenarios.

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 baseline is 3. The description adds value by explaining how the target parameter relates to session state (omit target for active tab), which is not fully captured in the schema descriptions.

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 clearly states the tool returns a readable Markdown view of a target or opened tab, distinguishing it from sibling tools like tb_open or tb_search. The phrase 'for scope checking' adds context, but it could more explicitly contrast with similar tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides a clear usage scenario: 'In a session, omit target to use the active opened tab.' This guides when to use the tool in session contexts. However, it lacks guidance on when not to use it or alternatives for stateless reads.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nangman-infra/touch-browser'

If you have feedback or need assistance with the MCP directory API, please join our Discord server