Skip to main content
Glama

Which documents this page is actually made of

qa_frames

Lists every frame in a tab with its frameId, URL, title and control count so you can target cross-origin iframes in later read calls. Use it when a visible control is missing from a snapshot.

Instructions

A PAGE IS OFTEN SEVERAL DOCUMENTS, AND THE INTERESTING ONE IS USUALLY NOT THE OUTER ONE. A payment form, an SSO step, a chat widget, a Stripe or 3-D Secure field: each lives in a frame of its own, and a frame from another domain cannot be read from the page around it — that is the same-origin rule and no amount of JavaScript gets past it. Qiksy now runs INSIDE every frame and answers about its own document, which is what makes them readable at all. This lists them: frameId, the address, the title, and how many controls each holds, with the page itself first. Pass the frameId you want to qa_read, qa_styles and the other reading verbs; leave it out and you get the page itself, never a frame picked at random. Call this the moment a control you can see on screen is missing from qa_snapshot: nine times out of ten it is not missing, it is in a frame nobody named. Read-only and free.

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": "qa_frames"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdNoTarget tab (from qa_tabs); omit for the active tab

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.86.2

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it declares the tool read-only and free, explains the same-origin constraint that motivates the tool, and states the default-selection behavior when frameId is omitted. It also sketches the return shape (page first, then frames with control counts), so the agent knows what it will get back.

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?

The lead-line premise and the concrete examples (payment form, SSO step, 3-D Secure field) are front-loaded and earn their place by explaining why frames matter. The all-caps opening clause and some rhetorical framing are slightly heavier than needed, but the actionable instructions arrive promptly and nothing is genuinely redundant.

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 one-parameter, read-only listing tool with no output schema, the description supplies everything needed: purpose, when to call it, how to use the returned frameId downstream, the omission default, and a rough picture of the returned fields. No meaningful gap remains for an agent to call it correctly.

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?

The single parameter tabId has 100% schema description coverage, already explaining it comes from qa_tabs and defaults to the active tab, so the baseline applies. The description adds no further meaning about tabId itself — the frameId discussion concerns passing values to sibling tools, not this schema — so it neither compensates nor detracts.

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?

States a specific verb and resource — it 'lists' the frames a page is made of — and immediately enumerates what comes back: frameId, address, title, and control count, with the page itself first. The same-origin explanation makes it clear this is a frame inventory, not a snapshot or a style read, so it is unmistakable against qa_snapshot and qa_styles.

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

Usage Guidelines5/5

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

Gives an explicit trigger ('call this the moment a control you can see on screen is missing from qa_snapshot') and an explicit downstream contract: pass the returned frameId to qa_read, qa_styles and other reading verbs, or omit it to target the page. It also rules out a bad default ('never a frame picked at random'), which is exactly the when-not guidance an agent needs.

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