Skip to main content
Glama
huoshuiai42

huoshui-fetch

by huoshuiai42

extract_article_tool

Extract the main article content from web page HTML, returning title, full text, excerpt, and summary. Use this tool to isolate core article text from cluttered pages.

Instructions

Extracts the main article content from a web page.

Args: html: HTML content url: Optional URL for resolving relative links

Returns: Dictionary with title, content, text_content, excerpt, and short_title

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
htmlYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries full responsibility. It explains the URL's role in resolving relative links and lists return fields, but does not discuss input requirements, error behavior, 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 compact and well-structured: a one-sentence purpose, followed by clearly labeled Args and Returns. Every part earns its place without unnecessary detail.

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?

For a simple two-parameter tool, the description covers core behavior, inputs, and output structure. It is largely complete, though a brief usage note relative to sibling extraction tools would fully round it out.

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?

With 0% schema description coverage, the description adds brief meaning for both parameters ('HTML content' and 'Optional URL for resolving relative links'). This is helpful but lacks depth, such as expected HTML format or the consequence of omitting the URL.

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 a specific action ('Extracts the main article content from a web page') with a defined resource, effectively distinguishing it from sibling tools like html_to_text_tool or extract_metadata_tool.

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 appropriate usage for article extraction but offers no explicit guidance on when to choose this tool over alternatives. Given the many sibling tools, a clearer differentiation would be helpful.

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/huoshuiai42/huoshui-fetch'

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