Skip to main content
Glama

get_text

Extracts visible text from a web page, prioritizing main/article content, and returns the title, URL, and text for reading, analysis, or summarization.

Instructions

Read the visible text of a page (main/article content first). Returns title, URL and text.

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_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdNoTab ID from tabs_list. Omit for the active tab.
profileNoChrome profile: folder ("Profile 3"), nickname, or unique display name. Omit to use the current profile.
maxCharsNoDefault 20000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full load and does disclose the return shape (title, URL, text) and the content-prioritization behavior, which is genuinely useful. It omits what happens on truncation via maxChars, whether it waits for load, or any permission/failure 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?

Two short sentences, zero filler, with the core action front-loaded and the return value appended. Nothing could be removed without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple, three-optional-parameter read tool with no output schema, disclosing the returned fields in the description fills the main gap. The remaining omission is truncation behavior when maxChars is hit, which would be worth one clause.

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 tabId, profile, and maxChars are already documented in the schema. The description adds no parameter-level meaning beyond that, so the baseline 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?

"Read the visible text of a page" gives a specific verb (read) and resource (page text), and the parenthetical clarifies content prioritization. It is clear enough to distinguish from structural tools, though it never names a sibling such as snapshot or eval_js to sharpen the boundary.

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 phrase "main/article content first" implies this is the tool for article-style content extraction rather than structural inspection, but there is no explicit when-to-use or when-not-to-use statement and no named alternative (e.g. snapshot for DOM structure, eval_js for scripting). Usage must be inferred.

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