Skip to main content
Glama
safari-mcp
by tszaks

safari_list_windows

List all open Safari windows and their tabs, including a private-window flag, so agents can choose non-private windows for logged-in sessions.

Instructions

List Safari windows and their tabs. Each window includes a "private" flag — prefer non-private windows to access logged-in sessions.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does add real value by disclosing that each window carries a 'private' flag and that non-private windows are the ones with logged-in sessions, which is exactly the kind of context annotations cannot supply. It omits automation-permission requirements, Safari-running preconditions, and whether tabs are truncated or paginated.

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?

Two short sentences with no filler; the core action is stated first and the private-flag caveat follows it as a qualifier. Nothing could be removed without losing information.

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?

For a zero-parameter read tool with no output schema, the description gives enough shape to act on: windows, their tabs, and the private flag. It leaves the agent without any hint of what to do if no windows exist or whether multiple Safari instances are possible, but nothing essential is missing.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the 4 baseline applies. The description correctly focuses its words on the return shape instead of inventing parameter detail.

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 names a specific verb and resource ('List Safari windows') and adds that each window carries its tabs, which implies a window-level superset of the tab-level sibling safari_list_tabs. It stops short of explicitly distinguishing itself from safari_list_tabs, so the agent must infer the difference.

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

Usage Guidelines3/5

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

The only guidance is 'prefer non-private windows to access logged-in sessions', which tells the agent how to pick among returned windows rather than when to call this tool instead of the sibling listing tools. No exclusions, no prerequisites, and no statement about when a window-level listing is preferable to a tab-level one.

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