Skip to main content
Glama
safari-mcp
by tszaks

safari_close_tab

Close a target Safari tab using optional window and tab indexes to remove unwanted pages and keep browsing sessions organized.

Instructions

Close a 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_close_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?

No annotations are supplied, so the description carries the full burden, yet it only implies destruction via the word 'close'. It says nothing about whether the closure is reversible, whether closing the last tab closes the window, or whether confirmation or permissions are involved.

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?

A single front-loaded sentence with no wasted words, which is structurally clean. However, its brevity reflects under-specification rather than disciplined concision given the tool's destructive nature and two undocumented parameters.

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 destructive, zero-annotation tool with two optional parameters and no output schema, the definition is missing the default target, side effects on windows, and the alternative sibling. What an agent needs to call it correctly is largely absent.

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% and both parameters (tab_index, window_index) are optional with minimum 1, so the description needed to explain defaults and indexing semantics. The word 'tab' loosely gestures at tab_index, but window_index and the omission behavior are entirely undocumented.

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 pairs a specific verb ('Close') with a specific resource ('a Safari tab'), so the agent knows the action precisely. The singular article hints at single-tab scope versus the sibling safari_close_tabs, but the description never says so explicitly, leaving the sibling distinction to inference.

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 guidance, no mention of the plural sibling safari_close_tabs, and no statement about what happens when tab_index is omitted. The agent must guess whether this closes the active tab by default or requires an index.

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