Skip to main content
Glama

safari_read_page

Reads Safari page text content—title, URL, and body—with an optional CSS selector to target elements and maxLength to limit returned output.

Instructions

Read page text content (title, URL, body text). Use for reading article text or page content. For interacting with elements, prefer safari_snapshot (gives ref IDs). Use selector to read specific element. Use maxLength to limit output.

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": "safari_read_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
receiptNoOmit it: Daylight has no tab receipts and refuses a call that passes one
selectorNoCSS selector to read specific element
maxLengthNoMax chars to return (default: 50000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden; it does disclose the returned fields, which is genuine value. However, it says nothing about truncation behavior when maxLength is hit, what happens when a selector matches nothing or multiple nodes, or whether lazy-loaded content is captured.

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-loaded with the core purpose and kept to four short sentences with no filler. The final two sentences duplicate schema parameter descriptions, which is mild redundancy against structured data rather than wasted prose.

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?

With no output schema, the description correctly compensates by naming the return fields, and all three parameters are schema-documented. It falls short only on failure modes and truncation semantics, which matter for a scraping-style read but are not covered anywhere.

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 100%, so the baseline is 3; the description's notes on selector and maxLength largely restate the schema text rather than adding syntax or edge-case meaning. The odd 'receipt' parameter, whose schema description warns it must be omitted, is not addressed at all in the description.

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 ('Read page text content') and enumerates exactly what comes back (title, URL, body text). It also draws an explicit boundary against the sibling safari_snapshot, so an agent can distinguish the two without opening either 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 a positive use case ('reading article text or page content'), an explicit when-not with the named alternative ('For interacting with elements, prefer safari_snapshot (gives ref IDs)'), and reasons for the alternative. Nothing about tool selection is left to inference.

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

Deploy Server

Other Tools