Skip to main content
Glama

interact_responsive_session

Executes interaction steps across mobile, tablet, and desktop viewports in a responsive session, maintaining state and using semantic locators to adapt to DOM changes.

Instructions

Ejecuta pasos en una pantalla o repite la secuencia en todas (screenId="all", predeterminado). Mantiene el estado para la proxima llamada. Usa localizadores semanticos porque el DOM puede variar segun el tamaño. Si un menu solo existe en movil, actua sobre ese screenId. Devuelve cada fallo por pantalla; despues usa observe_responsive_session para ver el resultado.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stepsYesPasos en orden, maximo 40
screenIdNoall
sessionIdYesID devuelto por open_responsive_session; permanece valido hasta cerrar la sesion o detener el MCP

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.8/5.0
Behavior4/5

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

Adds real context beyond the openWorldHint/readOnlyHint annotations: state persists between calls, semantic locators are preferred because the DOM varies by viewport, and failures are returned per screen. Missing detail on partial-failure semantics (does the batch abort?) and timeouts.

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?

Dense but well front-loaded: execution scope comes first, then state persistence, locator strategy, targeting advice, and the follow-up tool. A couple of sentences could be trimmed but nothing is wasted.

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

Completeness3/5

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

For a complex batched-action tool with no output schema, reporting per-screen failures is helpful and the observe_responsive_session pointer closes the loop. However, step execution order, failure handling, and return shape for successes remain unexplained.

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 67% and the description only adds the screenId='all' default (already in the schema) plus the sessionId lineage from open_responsive_session. The 17-value action enum and the 40-item step cap are left entirely to the schema, so the description adds little parameter meaning.

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 ('Ejecuta pasos en una pantalla o repite la secuencia en todas'), including the cross-screen broadcast mode. It is distinguishable from navigate_responsive_session and observe_responsive_session, though it does not name the closest sibling interact_on.

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?

Gives concrete when-to guidance: use screenId='all' to repeat across screens, target a specific screenId when a menu only exists on mobile, and call observe_responsive_session afterward to inspect results. No explicit 'when not to use' or pointer to interact_on/navigate_responsive_session.

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