Skip to main content
Glama
Emberphoenix33

KingBuilds MCP Server

scrape_web_page

Extract content from any public web page: returns title, visible text, and outgoing links, or use a CSS selector to get specific element text.

Instructions

Fetch a public web page and extract its content. Without selector, returns the page title, visible text (script/style stripped), and outgoing links. With selector, returns the text of every element matching that CSS selector instead. Blocks requests to private, loopback, link-local, and other non-public addresses.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
selectorNo
max_linksNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Despite no annotations, the description discloses key behaviors: it blocks non-public addresses, returns different content with/without selector, and specifies exact return components (title, text, links). However, it does not mention error handling, rate limiting, or behavior for invalid selectors, which are minor gaps.

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 concise with four sentences, each adding essential information: core function, selector behavior, security constraint, and return details. No redundancy or fluff.

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 has an output schema (so return format is covered), the description explains core behavior, selector usage, and security. However, it omits explanation of `max_links` and edge cases like non-matching selectors, leaving slight gaps for an agent.

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 0%, so the description must compensate. It explains `url` (the page to fetch) and `selector` (CSS selector for targeted extraction), but does not explain `max_links` (default 50) – likely limiting outgoing links, but not stated. Partial compensation, one parameter unclear.

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 fetches a public web page and extracts content, distinguishing behavior with or without a CSS selector. It also clarifies it blocks non-public addresses, making the purpose unambiguous and different from siblings like http_request or read_file.

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 public web pages and mentions blocking of private addresses, but it does not explicitly guide when to use this tool over alternatives (e.g., http_request for raw content) or state when not to use it. Usage context is implied but not fully explicit.

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/Emberphoenix33/kingbuilds-mcp-server'

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