Skip to main content
Glama
jumodada

DrissionPage MCP Server

by jumodada

Get HTML

element_get_html
Read-onlyIdempotent

Retrieves the HTML content of a specified element or the entire page using a CSS selector or XPath. Leave selector empty for full page HTML.

Instructions

Get HTML from an element or the whole page

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selectorNoCSS selector or XPath; empty means whole page. Bare selectors are CSS; use text:... for text matching.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the description's main behavioral addition is clarifying the scope (element vs. whole page). This is useful but minimal; no additional disclosure of error handling, performance, or limitations.

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 a single, front-loaded sentence that conveys the core action and scope without any extraneous words. Every part is essential and earns its place.

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?

Given the tool's simplicity, good annotations, and an output schema, the description is nearly complete. It covers the two modes of operation. Minor omission: it does not explicitly mention that the result is the HTML markup, but the output schema likely handles that.

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 input schema has 100% description coverage, including details on CSS/XPath/empty/default. The tool description does not add any parameter semantics beyond what the schema already provides, so baseline 3 is appropriate.

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 verb 'Get' and resource 'HTML', and distinguishes between getting HTML from an element (with selector) or the whole page (empty selector). This uniquely identifies the tool among siblings, none of which retrieve HTML.

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 does not explicitly state when to use this tool versus alternatives. However, the context of sibling tools implies it for HTML retrieval, and the short descriptor 'from an element or the whole page' provides limited context, but no explicit 'when not to use' or comparisons.

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/jumodada/Drissionpage-MCP-Server'

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