Skip to main content
Glama
safari-mcp
by tszaks

safari_get_page_content

Read the content of a Safari page as visible text, readability output, or full DOM, with optional tab and window indexes to target the right page.

Instructions

Read page content from Safari.

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_get_page_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo
tab_indexNo
window_indexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.2/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden but only implies read-only behavior via the word "read." It says nothing about which tab or window is targeted by default, whether the page is modified, how large the result may be, or what the three modes actually change.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence with no filler, so it is concise, but the brevity comes from under-specification rather than economy of expression.

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

Completeness2/5

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

A three-parameter extraction tool with an enum mode, no annotations, and no output schema needs the description to explain the modes and the default targeting behavior. This definition supplies none of that, leaving an agent unable to choose parameters confidently.

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

Parameters1/5

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

Schema description coverage is 0% and the description mentions none of the three parameters. The critical ambiguity — what distinguishes mode "visible" from "readability" from "full_dom," and whether tab_index/window_index fall back to active tab/window when omitted (all optional) — is left entirely unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Read page content from Safari" names a verb and a resource, but "content" is undefined and overlaps heavily with siblings safari_get_page_html, safari_get_page_markdown, safari_get_selection, and safari_summarize_page. An agent cannot tell from this sentence which of those variants it should call.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusions, and no naming of alternatives, even though the sibling list contains several near-identical read tools. The agent must infer from filenames alone which extraction format applies.

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