Skip to main content
Glama

Robot Actions — Remote Device Control

Web close

web_close
Idempotent

Close the DESKTOP grid browser session (by pageId) and release the grid node. Always call this when done. Not a device — a phone or tablet browser needs no such call, since the webpage_* tools hold no grid node.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageIdYesPage ID from web_navigate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true and openWorldHint=true, so safety semantics are covered. The description adds real value beyond them by disclosing the grid-node lifecycle (the session holds a grid node that must be released) and the mobile-vs-desktop distinction, though it says nothing about what happens to page data or an already-closed pageId.

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?

Front-loads the action and resource, then adds the two constraints that matter, in three tight clauses with no filler. Every sentence earns its place.

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 single-parameter cleanup tool with full annotations and no output schema, the description covers purpose, mandatory timing, and the mobile exclusion. The only unaddressed corner is failure behavior (invalid or already-closed pageId), which is minor here.

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 coverage is 100% and the schema already documents pageId as coming from web_navigate. The description's 'by pageId' only echoes that linkage, adding no new format, sourcing, or validity detail, so the baseline of 3 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?

Specific verb+resource with scope: 'Close the DESKTOP grid browser session (by pageId) and release the grid node.' It explicitly separates this desktop-grid session from the device-based webpage_* tools, so an agent can place it without reading any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives both when-to-use ('Always call this when done') and when-not ('Not a device — a phone or tablet browser needs no such call'), and names the tool family that does not require it. Nothing about selection is left to inference.

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