Skip to main content
Glama
dmitriiweb

article-scraper-mcp

by dmitriiweb

fetch_article

Extract structured article data including title, text, author, and publication date from any news article URL.

Instructions

Fetch a news article by URL and return structured data.

Args:
    url: The URL of the news article.

Returns:
    A dict with keys: title, text, author, date.
    
Raises:
    ValueError: If URL is invalid or article cannot be parsed.
    requests.RequestException: If HTTP request fails.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the full burden. It discloses that the tool raises ValueError for invalid URLs and requests.RequestException for HTTP failures. It does not mention other behaviors like caching, speed, or idempotency, but for a simple fetch tool, the error disclosure is sufficient.

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 structured with clear sections for Args, Returns, and Raises. It is comprehensive without being verbose. A slight reduction in verbosity (e.g., removing trivial lines) could improve conciseness, but it remains efficient.

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

Completeness5/5

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

Given the simple tool (one parameter, no siblings), the description is complete. It explains input, output format, and error conditions. An output schema exists, so the return structure is also formally defined. No gaps remain for an agent to use this 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 only parameter 'url' has a brief description 'The URL of the news article' in the docstring, but schema coverage is 0% (the schema has no description). The description adds minimal meaning beyond the parameter name. For a single required string parameter, this is adequate but not exemplary.

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 news article by URL and returns structured data with specific keys (title, text, author, date). The verb 'Fetch' and resource 'news article' are specific, and the return structure is explicit.

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?

No sibling tools are provided, so differentiation is not required. However, the description lacks explicit guidance on when to use this tool versus alternatives (e.g., for summary or translation). The Args/Returns/Raises format implies usage but does not give contextual cues.

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/dmitriiweb/article-scraper-mcp'

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