Skip to main content
Glama
camoufox-agent

camoufox-agent

by VolanDeVovan

resize_window

Resize a browser profile's window to a requested CSS-pixel page area; the result reports the size actually in effect when a tiling window manager refuses or changes the request.

Instructions

Resize a profile's window so that the page area has the given size in CSS pixels. A tiling window manager may refuse; the reply gives the size actually in effect.

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": {
      "width": "<width>",
      "height": "<height>"
    },
    "name": "resize_window"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdNoTab to act on, from tabs_context. Omitted: this session's active tab. Pass it always when several agents share the session.
widthYesPage area width in CSS pixels.
heightYesPage area height in CSS pixels.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It discloses two genuinely valuable traits: the resize may be refused by a tiling window manager, and the reply reports the size actually in effect. It says nothing about permissions, whether the change persists, or effects on other tabs, so it is partial rather than complete.

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 tight sentences, front-loaded with the core action, followed by the failure-and-feedback caveat. Every clause carries information; nothing is redundant.

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 3-parameter tool with a fully documented schema and no output schema, the description covers what is needed: unit, target area, multi-agent tab caveat is in the schema, and the actual-result feedback. Only persistence and cross-tab side effects are left unstated.

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%, so width, height, and tabId are already fully documented in the schema. The description reinforces the page-area meaning and the CSS-pixel unit, but adds no syntax, defaults, or constraint detail beyond what the schema states. Baseline 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?

States a specific verb and resource (resize a profile's window) and pins the semantics: the target dimension is the page area in CSS pixels, not the outer window frame. No sibling tool overlaps this behavior, so an agent can identify it unambiguously.

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

Usage Guidelines3/5

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

Usage is implied rather than stated — the description never says when to prefer resizing over other viewport-affecting approaches, nor any preconditions. It does give a useful operational caveat (a tiling window manager may refuse), but there is no explicit when-to-use or when-not-to-use guidance.

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