Skip to main content
Glama
safari-mcp
by tszaks

safari_get_page_markdown

Extracts the content of a Safari tab and returns it as summary-friendly Markdown, with visible, readability, or full-DOM modes for AI summarization.

Instructions

Return page content as summary-friendly markdown.

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

Input Schema

NameRequiredDescriptionDefault
modeNo
tab_indexNo
window_indexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden and mostly fails it. "Return" weakly implies a read operation, but nothing states which tab/window is targeted by default, what happens with no active tab, whether the DOM is mutated, or how mode changes output size; the return shape is also undocumented with no output schema present.

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?

One short, front-loaded sentence with no filler, so nothing needs trimming. The problem is the opposite of verbosity: the single clause is too thin to carry a three-parameter tool, and "summary-friendly" is an unmotivated adjective rather than information.

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

Completeness1/5

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

For a tool with three undocumented parameters, an enum selector that materially changes output, no annotations, and no output schema, an eight-word sentence is inadequate. An agent could not determine default targeting behavior or what each mode returns from this definition alone.

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 all three parameters (mode with its visible/readability/full_dom enum, tab_index, window_index) go entirely unexplained in the description. Since the schema provides no per-parameter documentation either, this is a genuine gap, not a redundant one.

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?

"Return page content as summary-friendly markdown" gives a verb (Return), a resource (page content) and an output format (markdown), which does separate it somewhat from safari_get_page_html. However, "summary-friendly" is vague and the definition never distinguishes it from near-identical siblings such as safari_get_page_content or safari_summarize_page, so the agent cannot confidently pick it without guessing.

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 and no named alternative. The reader is left to infer that this is the markdown-y counterpart to the content/html getters, which is exactly the kind of inference the definition should remove.

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