Skip to main content
Glama

safari_new_tab

Opens a new tab in the front Safari window, optionally at a URL, without taking focus. Sets it as the session's current tab so later actions target it.

Instructions

Open a new tab in the front Safari window, optionally with a URL, without activating Safari (never steals focus). Unless DAYLIGHT_SHOW_TAB=0 or DAYLIGHT_VISUAL=0 it is shown as that window's current tab, so the user can watch. Returns {tabIndex, safeUrl, windowId}. It becomes this session's current tab: later calls act in it until you switch or close tabs.

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

Input Schema

NameRequiredDescriptionDefault
urlNoURL to open (empty for blank tab)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so well: it discloses the non-focus-stealing behavior, the DAYLIGHT_SHOW_TAB/DAYLIGHT_VISUAL conditions that control user visibility, and the persistent side effect that later calls act in this tab. It even documents the return shape {tabIndex, safeUrl, windowId}.

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?

Three sentences, front-loaded with the action, then behavior, then side effect and return value. Every sentence carries distinct information with no filler.

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?

Covers action, focus behavior, visibility flags, return fields, and the session-current-tab consequence, which is ample for a single-parameter tool. Minor gap: the meaning of "safeUrl" (implied sanitization) and any failure modes for invalid URLs are left unexplained.

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?

Only one parameter and the schema already documents it at 100% coverage ("URL to open (empty for blank tab)"). The description adds only the "optionally" framing, matching the zero required parameters, without extra format or validation detail.

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 ("Open a new tab in the front Safari window") plus the scope qualifier "front Safari window." It also implicitly separates itself from tab-switching and tab-closing siblings by noting the new tab becomes the session's current tab "until you switch or close tabs."

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

Usage Guidelines4/5

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

Gives clear operating context: the URL is optional, focus is never stolen, and the new tab becomes the session's current tab for subsequent calls. It does not explicitly name alternatives (e.g. when to prefer safari_switch_tab or safari_wait_for_new_tab), so there are no stated exclusions.

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