Skip to main content
Glama
safari-mcp
by tszaks

safari_activate_tab

Focus a specific Safari tab by tab and window index, bringing the target tab to the front for subsequent reading or control.

Instructions

Focus a specific Safari tab.

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

Input Schema

NameRequiredDescriptionDefault
tab_indexNo
window_indexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden and provides almost none: it does not say whether focusing a tab also raises its window, whether the browser is brought to the OS foreground, or how an invalid index is handled. Only the word 'Focus' hints at the effect.

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?

The single sentence is front-loaded and free of filler, but at this length it reads as under-specification rather than economy given two undocumented parameters and no annotations.

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 state-mutating focus operation with zero annotation coverage, undocumented parameters, and no output schema, the description leaves out everything an agent needs to call it reliably — index semantics, window behavior, and error conditions.

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% for two parameters, so the description must compensate and does not. It never mentions tab_index or window_index, leaves the 1-based indexing and the default window when window_index is omitted undocumented, and gives no indication of what happens if indices are out of range.

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 ('Focus a specific Safari tab'), which is unambiguous and distinguishable from siblings like safari_list_tabs or safari_new_tab. It does not explicitly contrast with safari_activate_window, but the tab-versus-window distinction is implied by the resource noun.

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 guidance on when to use this tool rather than safari_activate_window, nor any prerequisite such as obtaining a valid tab index via safari_list_tabs first. The agent is left to infer the entire workflow.

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