Skip to main content
Glama

Close tab

browz_tab_close
DestructiveIdempotent

Close one tab of a running profile. The last tab cannot be closed; browz_session_end closes the whole browser.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>",
      "targetId": "<targetId>"
    },
    "name": "browz_tab_close"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProfile id, as listed by browz_profile_list
deviceIdNoWhich computer to use (as listed by browz_devices_list). Needed only when more than one is online
targetIdYestargetId from browz_tabs_list
workspaceIdNoWorkspace id. Needed only for API tokens of people in more than one workspace

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / deviceId / description
      Previous value: -"Which computer to use (from browz_devices_list). Needed only when more than one is online"New value: +"Which computer to use (as listed by browz_devices_list). Needed only when more than one is online"
    • changedInput schema / properties / id / description
      Previous value: -"Profile id (from browz_profile_list)"New value: +"Profile id, as listed by browz_profile_list"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description contributes the non-obvious failure condition (last tab refuses to close) and points to the escalation path, which is exactly the kind of behavior the annotations cannot express.

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 sentences, front-loaded with the action and followed by the constraint and alternative. Nothing is padded.

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 simple destructive operation with full schema documentation, the description covers action, constraint, and escalation. A note on whether closing is reversible or how the tab id is sourced would be the only additions, and the latter is already in the schema.

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?

Schema description coverage is 100% and every parameter, including the deviceId and workspaceId conditionals, is documented in the schema. The description adds no meaning beyond that, so the baseline applies.

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 ('Close one tab') and narrows the scope to 'a running profile', which separates it cleanly from browz_session_end and browz_tab_open without needing either schema.

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?

Explicitly rules out the edge case (the last tab cannot be closed) and names the sibling to use instead for the whole browser. It stops short of a full when-to-use rule such as preferring browz_session_end when shutting down entirely, but the practical routing guidance is there.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources