Skip to main content
Glama
devicebase

Devicebase MCP Server

Official
by devicebase

browser_tab_close_all

Close all open browser tabs on a specified mobile device using its serial number. Resolves tab clutter with a single API call.

Instructions

Close every tab.

Args: serialno: The browser device serialno, from list_devices.

Returns: JSON response from the API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serialnoYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior3/5

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

There are no annotations, so the description must carry behavioral disclosure. It does state the core effect ('Close every tab') and that it returns a JSON response, but it does not mention whether the action is irreversible, whether unsaved tab state is lost, or any side effects beyond tab closure. This is acceptable but not rich.

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?

The description is extremely concise and front-loaded. The main action is stated first, followed by compact Args and Returns sections. Every sentence earns its place with no redundant wording.

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 one-parameter tool with an output schema, the description covers the action, argument source, and return type. It does not provide usage alternatives or deeper consequences, but the tool's low complexity makes the description reasonably complete.

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 description coverage is 0%, so the description must clarify the parameter. It explains that serialno is 'The browser device serialno, from list_devices,' adding meaning beyond the schema's type-only definition and pointing to the correct source tool.

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?

The description uses a specific verb and resource: 'Close every tab.' This clearly distinguishes it from the sibling tool browser_tab_close, which implies closing a single or selected tab. The action is unambiguous.

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?

The description tells the user to pass a serialno from list_devices, but gives no guidance on when to choose this tool over browser_tab_close or any alternatives. There are no exclusions or context signals such as 'use this when you want to end the entire browser session.'

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