Skip to main content
Glama
BitingSnakes

silkworm-mcp

by BitingSnakes

silkworm_fetch_cdp

Fetch fully rendered HTML from JavaScript-heavy web pages using a CDP client. Obtain dynamic content that standard HTTP requests miss.

Instructions

Fetch rendered HTML through silkworm's CDP client for JavaScript-heavy pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
labelNo
headersNo
ws_endpointNows://127.0.0.1:9222
store_documentNo
timeout_secondsNo
body_preview_charsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
viaYes
methodYes
statusNo
headersNo
is_htmlYes
summaryNo
emulationNo
final_urlYes
body_charsYes
body_previewYes
document_handleNo
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It mentions CDP-based rendering but omits significant side effects such as the store_document parameter defaulting to true (which implies storing the fetched HTML), the reliance on ws_endpoint, and timeout behavior. This is a substantial gap for a tool that may persist data.

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 13-word sentence that is front-loaded with the action and key qualifier. Every word contributes to the core purpose, with no fluff or repetition.

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

Completeness2/5

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

Given the tool has 7 parameters, no annotations, and a large sibling set, the description is too minimal. It does not address storage side effects, connection details, or usage nuance, leaving the agent to infer critical operational context from the schema alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description provides no explanation for any of the 7 parameters (url, label, headers, ws_endpoint, store_document, timeout_seconds, body_preview_chars). The description does not compensate for the schema's lack of semantic detail.

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 uses a specific verb ('Fetch') and resource ('rendered HTML through silkworm's CDP client'), clearly indicating it is for JavaScript-heavy pages. This distinguishes it from sibling tools like silkworm_fetch (likely plain fetch) and query_selector_cdp/extract_structured_data_cdp (which operate on CDP content but have different actions).

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?

The phrase 'for JavaScript-heavy pages' provides clear context on when to use this tool over a simpler fetch. However, it does not explicitly name alternative tools or state when not to use it, stopping short of full guidance.

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/BitingSnakes/silkworm-mcp'

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