Skip to main content
Glama
safari-mcp
by tszaks

safari_get_page_html

Fetches the full HTML of a page from a specified tab or window in the logged-in Safari browser, so agents can inspect or process the page source.

Instructions

Return full page HTML 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_html"
  }
}

Input Schema

NameRequiredDescriptionDefault
tab_indexNo
window_indexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it says nothing about behavior. It does not state that the call is read-only, that it may return very large payloads, or what happens when tab_index or window_index are omitted; it also does not describe what happens when there is no Safari window.

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?

A single short sentence, front-loaded with the verb and the resource, with no filler. It is concise, but the brevity comes at the cost of under-specification documented in other dimensions.

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?

For a tool with two undocumented parameters, no annotations, and no output schema, the description should explain the target tab or window selection and the payload characteristics. It covers none of this, leaving the agent without enough information to invoke the tool reliably.

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

Parameters2/5

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

Schema description coverage is 0%, so both parameters (tab_index, window_index) are undocumented. The description gives no meaning, default behavior, or indexing semantics for them, leaving the agent to guess how the target tab is chosen when no parameters are passed.

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 and resource: it returns full page HTML from Safari. The word "HTML" implicitly distinguishes it from siblings like safari_get_page_content and safari_get_page_markdown, but neither is named, so the agent must infer the distinction from names alone.

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 or when-not-to-use guidance. The description does not say to prefer safari_get_page_markdown for readable text, does not say whether it targets the active tab by default, and gives no prerequisites (for example, that a tab must be open in Safari).

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