Skip to main content
Glama

safari_switch_tab

Switch the MCP session’s logical target to a specific Safari tab by index without bringing Safari into focus.

Instructions

Switch the MCP session's logical target without focusing Safari. Pass the index of one of this session's tabs in its Safari window.

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

Input Schema

NameRequiredDescriptionDefault
urlNoOmit it: Daylight has no tab receipts and refuses a call that passes one
indexNoTab index (starting from 1)
receiptNoOmit it: Daylight has no tab receipts and refuses a call that passes one

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 usefully discloses one real behavioral trait — the switch does not bring the Safari window to the foreground — but says nothing about what happens on an out-of-range or missing index, whether the target resets between calls, or what state subsequent commands will act on.

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?

Two sentences, front-loaded with the action and the key non-focusing constraint, with no filler. The only cost is that 'logical target' requires the second sentence to become intelligible.

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

Completeness3/5

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

For a three-parameter tool with no annotations and no output schema, the definition covers the core action but omits error behavior and the role of the two omit-only parameters. An agent could invoke it, but not confidently predict failure modes.

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?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning: the index is scoped to 'one of this session's tabs in its Safari window', which improves on the bare schema text 'Tab index (starting from 1)'. It says nothing about the optional url/receipt parameters, though the schema already marks both as must-omit.

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 ('Switch the MCP session's logical target') and clarifies the target is one of this session's tabs in its Safari window. It distinguishes the tool from tab-focusing behavior, though 'logical target' is jargon that the second sentence has to unpack as 'tab index'.

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?

It implies usage through the phrase 'without focusing Safari', which signals this is the non-focusing way to change tabs, but it never states when to prefer it over a focusing alternative or what conditions make it fail. No explicit alternatives among the sibling tools (e.g., safari_new_tab, safari_close_tab) are named.

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