Skip to main content
Glama

fl_adopt

Take control of an already-open browser tab by matching a URL substring, then return its snapshot so an agent can interact with the signed-in page.

Instructions

Take control of a tab the user already has open in the browser (first match on a URL substring), e.g. a site they just signed in to by hand. Returns its snapshot.

Input Schema

NameRequiredDescriptionDefault
maxNoMax interactive elements listed (default 150).
urlYesSubstring of the tab URL
textNoCharacters of page text to include (default 600, 0 for none).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.2.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose meaningful behavior: matching is by URL substring and only the first match is adopted. But it omits what happens when nothing matches, whether the tab is focused/brought forward, and what 'take control' does to the user's session — all important for a tool that touches a live tab.

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?

Two short sentences, zero padding. The core action is front-loaded and the return value is appended compactly.

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?

Three parameters, all documented, and no output schema so the brief 'returns its snapshot' is adequate. However, with no annotations at all, the absence of any failure-mode or side-effect disclosure (no matching tab, focus stealing, effect on the user's manual session) leaves a real gap for an adoption/control tool.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real information the schema lacks: the url parameter is matched by substring and the first matching tab wins. The max/text parameters are left entirely to the schema, which is acceptable at full coverage.

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?

Specific verb+resource: 'take control of a tab the user already has open in the browser', which implicitly contrasts with opening new tabs (fl_open) and with pure snapshotting (fl_snapshot). It also states what comes back ('Returns its snapshot'). No sibling is named explicitly, so it stops short of a 5.

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

Usage Guidelines3/5

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

The example ('a site they just signed in to by hand') makes the intended situation clear, which is useful. But it never says when NOT to use it or names alternatives like fl_open, fl_tabs or fl_snapshot, leaving the agent to infer the choice from the tool list.

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