Skip to main content
Glama

sleeper_frames

List all cross-origin iframes in the active browser session to inspect embedded content and manage frames for automation.

Instructions

List cross-origin iframes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profileNoBrowser ID from sleeper_sessions; optional with one connected browser.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

C2.9/5.0
Behavior2/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 does not state that this is a read-only operation, nor does it clarify scope (e.g., current page only, all tabs, or all frames including same-origin). For a browser automation tool, this leaves key behavioral traits unspecified.

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?

The description is extremely concise and front-loaded, consisting of only four words that directly convey the tool's action and target. Every word earns its place with no wasted phrasing.

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 browser automation tool with no annotations and no output schema, the description is too sparse. It omits essential context such as whether the list is scoped to the current page or all pages, whether it requires an active tab, and what information is returned. The schema covers the single parameter, but the description does not compensate for the lack of behavioral detail.

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 the 'profile' parameter is already fully documented in the schema, including its optional nature when one browser is connected. The description adds no additional meaning or context about the parameter, so the baseline of 3 applies.

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 states a specific verb ('List') and a specific resource ('cross-origin iframes'), making the tool's purpose immediately clear. It does not explicitly differentiate itself from sibling tools like sleeper_tabs or sleeper_find, but the resource is distinctive enough that an agent can identify its function.

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?

The description gives no guidance on when to use this tool versus alternatives. There is no mention of prerequisites (e.g., needing an active page), no indication of whether it should be called before interacting with iframes, and no exclusions. It merely states what the tool does.

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