Skip to main content
Glama
Antigravity in Chrome MCP Server

Antigravity in Chrome MCP Server

by sxqib

get_page_text

Extracts clean, readable text from a web page, prioritizing main article content while stripping scripts, styles, and navigation chrome so you get only the content that matters.

Instructions

Extract clean, readable text content from the web page, prioritizing main article content and stripping scripts, styles, and navigation chrome.

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

Input Schema

NameRequiredDescriptionDefault
tabIdNoTarget tab ID (defaults to active managed tab).
maxLengthNoMaximum character count to return (default 40000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the burden, but it does disclose genuinely useful output-shaping behavior: scripts, styles, and navigation chrome are removed and main article content is prioritized, warning the agent that some page content will not appear. It omits whether the operation is read-only, what happens on non-article or unloaded pages, and whether results are truncated beyond the maxLength parameter.

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?

A single front-loaded sentence that goes verb → output quality → prioritization → stripping, with no filler sentences. "Clean, readable" is slightly redundant with the rest, but the sentence is otherwise dense and earns its 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 two-parameter, no-output-schema read tool the description covers what is returned and how content is filtered, which is the core need. It still leaves gaps around truncation behavior relative to maxLength, failure modes on pages with no extractable text, and its relationship to the similar read_page sibling.

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 both tabId and maxLength are already documented in the schema with defaults, making 3 the correct baseline. The description adds no additional meaning about how tabId selection interacts with the active tab or how maxLength truncation is applied.

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?

States a specific verb ("Extract") and resource ("clean, readable text content from the web page") and further qualifies the output by describing what is prioritized (main article content) and what is stripped (scripts, styles, navigation chrome). It is clear what the tool returns, though it never distinguishes itself from the sibling read_page, leaving an agent to infer the difference.

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 statement of when to prefer this over read_page or the other page-reading siblings, and no prerequisites (e.g., page must be loaded) or exclusions are given. The phrase about prioritizing main article content only hints at a use case rather than stating conditions for selection.

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