Skip to main content
Glama

Readability Article Body & Byline Extractor

scrape_readable_article
Read-onlyIdempotent

Extracts core article content, author bylines, publication dates, and reading time from web pages while removing navigation, ads, and cookie banners to isolate editorial text.

Instructions

Extracts primary article body, author bylines, publication timestamps, and estimated reading duration from web pages. Use when stripping navigation bars, advertisement containers, and cookie banners to isolate core editorial content; for converting full HTML to markdown, use extract_clean_markdown instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'html_content' ('readability_profile' defaults to 'article_body_strict'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.

Input Schema

NameRequiredDescriptionDefault
html_contentYesTarget web page HTML containing the article, editorial post, or blog content.
include_bylineNoWhether to parse author names, affiliations, and editorial publication dates.
readability_profileNoContent isolation heuristic: strict article body, technical documentation, or forum thread.

Output Schema

NameRequiredDescriptionDefault
titleYesExtracted main article headline.
bylineYesAuthor credit or publishing editorial team.
excerptYesShort leading synopsis or meta description.
content_textYesSanitized primary article narrative text.
reading_time_minutesYesEstimated reading duration in minutes based on 220 WPM.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.6.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds genuinely new operational context: statelessness, a 32 KB payload cap, 60 RPM rate limit, demo-mode or L402 payment at 10 sats, and HTTP 400 on invalid input. Those are exactly the facts an agent needs before calling an edge endpoint.

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?

Purpose and the sibling alternative are front-loaded, and every clause carries information. The final sentence is densely parenthetical (limits, auth, defaults, error code all crammed together), which slightly hurts scannability.

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?

With an output schema present, return values need no explanation; the description instead covers the constraints that matter — size cap, rate limit, auth/payment paths, failure mode, and the sibling escape hatch. Nothing needed for a correct call is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns above that by disclosing the default value of 'readability_profile' ('article_body_strict'), which the schema does not state. It does not explain include_byline's default, so it stops short of 5.

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 opening sentence gives a specific verb (extracts) and names the exact resources returned: article body, bylines, timestamps, reading duration. It also distinguishes itself from the sibling extract_clean_markdown, so an agent can route correctly without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the use case ('stripping navigation bars, advertisement containers, and cookie banners to isolate core editorial content') and names the explicit alternative with its selection condition ('for converting full HTML to markdown, use extract_clean_markdown instead'). Both when-to-use and when-not-to-use are present.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools