Skip to main content
Glama

browser_resize

Resize the browser viewport by setting width and height to test responsive layouts across screen sizes.

Instructions

Ubah ukuran viewport halaman (untuk menguji responsif).

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": "browser_resize"
  }
}

Input Schema

NameRequiredDescriptionDefault
widthYes
heightYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It says the viewport changes, but not whether the change is per-tab, persists across navigation/reloads, resets on close, requires a reload to take effect, or whether the original size can be restored.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence with the resource front-loaded and the purpose trailing in parentheses, so nothing is wasted. It is arguably too terse for the behavioural detail the tool needs, but not verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a state-mutating browser tool with no annotations and no output schema, so the description is the only place persistence, scope and side-effect information could live, and it is silent on all of them. Accurate but too thin for an agent to call it confidently in a multi-tab session.

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 coverage is 0%, but the input schema already constrains both parameters tightly (width 320-3840, height 240-2160, both required, no extras), so the schema essentially documents itself. The description adds the crucial framing that width/height are viewport dimensions rather than window dimensions, though it does not state units explicitly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: changing the page's viewport size, with a parenthetical purpose (testing responsiveness). It is clearly distinct from navigation, clicking and screenshot siblings, though it never names a sibling explicitly.

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?

The parenthetical 'untuk menguji responsif' implies the usage context, which is a genuine hint for when to reach for this tool. It offers no exclusions, prerequisites, or alternatives (e.g. per-tab vs. global resizing), so the agent must infer the rest.

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