Skip to main content
Glama

get_content

Extract visible text from a browser tab with options for filtering, cleaning, offset, and interactive-only snapshots to get exactly the content you need.

Instructions

Extract visible text from a tab. Supports offset (negative for tail, e.g. -3000), filter (regex/substring with context), clean=True (strips nav/hidden/whitespace), or interactive_only=True (calls snapshot).

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

Input Schema

NameRequiredDescriptionDefault
tabNo
cleanNo
filterNo
offsetNo
selectorNobody
max_lengthNo
interactive_onlyNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the behavioral burden. It usefully discloses that clean strips navigation/hidden content/whitespace, offset can be negative for tail extraction, filter supports regex/substring with context, and interactive_only calls snapshot; however, it omits read-only safety, max_length truncation behavior, and selector behavior.

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 definition is a single dense sentence with the core action front-loaded and no filler. Parenthetical examples add useful specificity without unnecessary length.

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 seven-parameter extraction tool with no annotations, the description covers the core action and several important options. It remains incomplete because three parameters lack semantics and there is no guidance on choosing it over alternatives, though the output schema can cover return values.

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 0%, so the description must compensate for the seven undocumented parameters. It explains offset, filter, clean, and interactive_only with useful semantics, but leaves tab, selector, and max_length unexplained.

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 and resource: 'Extract visible text from a tab.' It is clear what the tool does, though it does not directly differentiate itself from siblings like extract or snapshot except by noting that interactive_only calls snapshot.

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 explicit guidance on when to use this tool versus extract, snapshot, or other siblings. The extraction purpose implies usage, but an agent must infer the selection criteria rather than being told.

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