Skip to main content
Glama

resize

Switch viewport between desktop and mobile sizes to test responsive layout, reloading the page to reset in-memory state.

Instructions

Switch the review browser between laptop size and phone size, and load the current page again. Anything the page kept only in memory is reset. Use it to check how a screen works on a phone.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeYesdesktop for 1440 by 900 pixels, or mobile for 390 by 844 pixels with touch.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.6
    • addedInput schema / properties / size / description
      Added value: +"desktop for 1440 by 900 pixels, or mobile for 390 by 844 pixels with touch."
  2. First observedv0.4.5

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It transparently warns that the current page will be loaded again and that anything kept only in memory is reset, which is important side-effect context for an agent deciding whether to invoke this tool.

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 sentences with no filler. The primary action is front-loaded, and the behavioral warning follows immediately. Every sentence earns its place.

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

Completeness5/5

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

For a single-parameter tool with no output schema, this description is complete: it states what the tool does, when to use it, and what side effects occur. An agent can correctly select and invoke it without additional context.

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%, and the parameter enum already documents the exact sizes (1440 by 900, 390 by 844 with touch). The description adds little beyond calling them 'laptop size' and 'phone size', so it does not need to compensate for schema gaps.

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 clearly states a specific action ('Switch the review browser between laptop size and phone size') and a specific resource ('review browser'). It also differentiates from sibling tools like open, click, and back by focusing solely on viewport resizing, with an explicit teleological note about checking phone screens.

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

Usage Guidelines4/5

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

It provides clear contextual guidance: use this tool to check how a screen works on a phone. It does not explicitly name alternatives or say when not to use it, so it stops short of full exclusionary guidance.

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