Skip to main content
Glama
wxhzhwxhzh

DrissionPageMCP

by wxhzhwxhzh

click_by_xpath

Click any element in the current tab by specifying its XPath. For best results, inspect the page DOM to craft an accurate XPath.

Instructions

通过xpath点击当前标签页中某个元素,最好先获取页面dom信息,再决定Xpath的写法

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xpathYes
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It only says 'click' and 'current tab' but does not disclose whether it waits for the element, what happens on failure, potential page changes, or return values. This lack of behavioral detail is a significant gap.

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?

The description is a single sentence, concise and to the point. It efficiently communicates the purpose and a key usage tip without unnecessary fluff, though the Chinese phrasing could be slightly more structured.

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 simple one-parameter tool with no output schema, the description covers the core action and a useful precursor step. However, it omits information about return behavior, error conditions, or timing, which are relevant for an agent to invoke and handle the tool correctly.

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?

The schema has one required parameter 'xpath' with no description (0% coverage). The description adds value by explaining that XPath should be crafted after inspecting the DOM, which gives some contextual meaning beyond the schema. However, it does not specify the expected format, escaping rules, or examples of the XPath string.

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 performs a click action on an element in the current tab using an XPath selector. This specific verb+resource+mechanism distinguishes it from siblings like click_by_containing_text and input_by_xapth.

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

Usage Guidelines4/5

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

It provides a direct usage tip: to get the page DOM information first before deciding how to write the XPath. This offers clear context on how to use the tool effectively, though it does not explicitly name alternative tools or exclusions.

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/wxhzhwxhzh/DrissionPageMCP'

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