close_page
Close a browser tab by its index number to simplify tab management during automation.
Instructions
Close tab by index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageIdx | Yes | Tab index to close |
Close a browser tab by its index number to simplify tab management during automation.
Close tab by index.
| Name | Required | Description | Default |
|---|---|---|---|
| pageIdx | Yes | Tab index to close |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full transparency burden, but it does not disclose behavioral traits like side effects, index numbering (0-based vs 1-based), or what happens on invalid index. The agent learns only the basic action.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence with no wasted words, achieving high efficiency. However, it may be too minimal for full clarity, slightly reducing the score from perfect.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite the tool's simplicity, the description lacks important context such as index base, error behavior, and effect on active page. This incompleteness is notable given no output schema or annotations.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% for the single parameter, so the description adds no new meaning beyond what the schema already provides. The baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Close tab by index') and uses a specific verb and resource. It distinguishes 'close_page' from siblings like 'select_page' and 'navigate_page' by focusing solely on closing a tab by its index.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. It does not mention prerequisites, typical use cases, or scenarios to avoid, leaving the agent without decision support.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mozilla/firefox-devtools-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server