Skip to main content
Glama

emulate

Simulate viewport, mobile, user agent, geolocation, timezone, locale, theme, touch, and CPU throttling to test page behavior under varied browser conditions.

Instructions

Emula viewport, móvil, user agent, geolocalización, zona horaria, idioma, tema, táctil o CPU lenta.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "emulate"
  }
}

Input Schema

NameRequiredDescriptionDefault
resetNo
tabIdNoPestaña objetivo. Por defecto la pestaña actual del agente.
touchNo
localeNo
timezoneNo
viewportNo
userAgentNo
colorSchemeNo
cpuThrottleNo
geolocationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and largely drops it. It never states that emulation is a stateful override that persists until reset, whether it is scoped to a tab, what happens to previously set values when only one field is passed, or that reset clears everything. The bare capability list conveys scope but no mutation/permanence semantics.

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

Conciseness3/5

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

A single short sentence with no filler, but it is a comma-separated keyword list rather than a front-loaded statement of what the tool does and what it modifies. Efficient in length, weak in structure given the complexity of the surface it describes.

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?

For a 10-parameter stateful browser-emulation tool with nested objects, no annotations and no output schema, the description is far too thin. An agent can guess the general intent but lacks the persistence, reset, and per-field format information needed to invoke it correctly and to recover from a bad state.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 10% across 10 parameters, with nested viewport and geolocation objects, so the schema does not compensate. The description names most dimensions in Spanish nouns (viewport, user agent, geolocation, timezone, locale, theme, touch, CPU) which loosely maps to parameters, but adds no format, units (cpuThrottle multiplier), mutual-exclusion, or object-shape detail, and completely omits the 'reset' flag, which is the most important undocumented parameter.

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?

The description opens with a specific verb ('Emula') followed by an enumeration of the emulatable dimensions — viewport, mobile, user agent, geolocation, timezone, locale, theme, touch, slow CPU — which matches the tool's actual surface. It does not, however, distinguish this from siblings such as network_conditions or browser_data, so an agent must infer the boundary. Clear but not differentiated.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: nothing tells the agent to reach for this tool before a screenshot/read_page to simulate a device, nor when to prefer it over network_conditions for connection shaping. Critical operational cases are absent — persistence of the emulation across navigations, and when to set the 'reset' flag to undo overrides.

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