Skip to main content
Glama
Akioo77

Browser MCP Server

by Akioo77

get_text

Extract plain text from web pages, with optional CSS selector to target specific sections. Control output length for efficient content retrieval.

Instructions

提取页面的文本内容(纯文本,去除 HTML 标签)。支持全文或 CSS 选择器指定范围。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selectorNoCSS 选择器(如 ".article", "h1", "#content")。为空则提取整页文本。
maxLengthNo最大字符数,防止返回过长内容,默认 5000
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses the core behavior (extract text, remove HTML) but does not cover other aspects like read-only nature or formatting of output.

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 description is extremely concise with two short sentences, front-loaded with the core purpose, and no wasted words.

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?

Despite lacking an output schema, the description is fairly complete for a simple extraction tool. It could mention that it works on the current page or the output format, but it is sufficient given the tool's simplicity.

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% (both parameters described well). The description adds minor confirmation about full text vs CSS selector, but adds limited value beyond the schema.

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?

The description clearly states the tool extracts plain text from a page, removing HTML, and supports both full text and CSS selector scope. It distinguishes from siblings like get_inputs and get_links.

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 description implies usage for text extraction but does not provide explicit guidance on when to use this tool versus alternatives or when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Akioo77/browser-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server