Skip to main content
Glama

sleeper_read_all

Read all elements matching a CSS selector from a connected browser session and return their content or attributes. Use it to extract repeated page data in bulk without copying credentials.

Instructions

Read all matching elements

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tabNo
attrNo
whatNo
profileNoBrowser ID from sleeper_sessions; optional with one connected browser.
selectorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

C2.4/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 burden, yet it adds nothing beyond "read." It is silent on return format, whether attr/what alter the output, whether profile is required, and any limits on the number of matched elements returned.

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?

It is a single front-loaded phrase with no wasted words, but it is terse to the point of under-specification rather than genuinely concise. Brevity here costs clarity instead of buying it.

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 5-parameter tool with no annotations, no output schema, and 20% schema coverage, the description is far too thin. An agent would not know what a call returns or how attr/what/selector interact.

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 20% (just profile is documented), leaving tab, attr, what, and selector unexplained. The description's phrase "matching elements" loosely gestures at selector but adds no meaning for the other three parameters.

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

Purpose3/5

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

States a specific verb ("read") and resource ("matching elements") with a plural scope, so the basic intent is inferable. However, it does not distinguish itself from close siblings like sleeper_read, sleeper_get, sleeper_find, or sleeper_extract, leaving the agent to guess how it differs.

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 indication of when to use this tool versus sleeper_read (singular) or sleeper_extract. The word "all" hints at multi-element retrieval, but no when-to-use or exclusion guidance is provided.

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