Skip to main content
Glama
HyperClockUp

DrissionPageMCPServer_Modified

by HyperClockUp

get_page_text

Extract complete visible text content from web pages to provide detailed content descriptions for LLMs, confirm page loading, and support element selector creation in browser automation workflows.

Instructions

获取页面完整文本内容(预处理必备工具)

        ⚠️ 核心预处理工具:这是标准化工作流程的第2步!
        
        🔧 主要用途:
        1. 🔍 在操作元素前,获取页面的完整文本信息
        2. 📋 为非多模态LLM提供详细的页面内容描述
        3. 🎯 帮助构建精确的元素选择器
        4. ✅ 确认页面加载完成和内容可用性
        
        💡 与其他工具的配合使用:
        - 配合 take_screenshot():视觉+文本双重确认
        - 配合 get_dom_tree():结构化分析页面布局
        - 配合 find_elements():基于文本内容定位元素
        
        Returns:
            str: 页面的完整可见文本内容(去除HTML标签)
            
        🚀 推荐工作流程:
        1. take_screenshot() - 获取页面截图
        2. get_page_text() - 获取页面文本(当前步骤)
        3. get_dom_tree() - 分析页面结构
        4. 基于以上信息执行具体操作
        

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes what the tool does: returns '页面的完整可见文本内容(去除HTML标签)' (complete visible page text content with HTML tags removed). It mentions the tool helps '确认页面加载完成和内容可用性' (confirm page loading completion and content availability), which adds useful context about its role in validation. However, it doesn't specify potential limitations like performance impact or text encoding issues.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sections (core tool warning, main uses, tool coordination, returns, workflow), but it's somewhat verbose with emojis and formatting that don't add essential information. While informative, it could be more concise by reducing decorative elements and focusing on the core content.

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

Completeness5/5

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

Given the tool has 0 parameters, no annotations, but has an output schema (returns str), the description provides excellent contextual completeness. It thoroughly explains the tool's purpose, when to use it, how it fits with sibling tools, and what it returns. The output schema handles return value documentation, so the description appropriately focuses on usage context rather than repeating output details.

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?

The tool has 0 parameters with 100% schema description coverage, so the baseline is 4. The description appropriately doesn't discuss parameters since none exist, focusing instead on the tool's purpose and usage context.

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's purpose as '获取页面完整文本内容' (get complete page text content) and distinguishes it from siblings by emphasizing it's a '核心预处理工具' (core preprocessing tool) for standardized workflows. It specifies this is step 2 in the workflow, differentiating from tools like get_element_text (specific elements) or get_dom_tree (structured analysis).

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use this tool: '在操作元素前' (before operating on elements), '为非多模态LLM提供详细的页面内容描述' (to provide detailed page content descriptions for non-multimodal LLMs), and '帮助构建精确的元素选择器' (to help build precise element selectors). It also lists specific alternative tools for different purposes (take_screenshot, get_dom_tree, find_elements) and outlines a recommended workflow sequence.

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/HyperClockUp/DrissionPageMCPServer_Modified'

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