Skip to main content
Glama

Stringer CleanExtract

Outline a web page's sections (free)

clean_extract_outline
Read-only

Free outline with section ids, headings, byte sizes, and a fingerprint, without page body text or payment. It never uses the free extraction allowance. Use it first to see what a long page contains and which sections are worth reading. A later clean_extract call can select sections and is charged only when it returns usable content. Uncharged failures name upstream_timeout, upstream_http_error, bot_challenge, js_shell, empty_extraction, or sections_not_found. Recoverable structured data names fallback_used.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
url_or_htmlYesA public HTTP(S) URL or a raw HTML string to convert into Markdown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld annotations by disclosing the billing model (never consumes the free extraction allowance; clean_extract charged only on usable content), the enumerated uncharged failure reasons, and the fallback_used signal. This is exactly the behavioral context an agent needs to sequence calls safely.

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?

Front-loaded with the free-outline framing and output fields, then the routing advice, then billing and error semantics. Dense but every sentence carries information; the error-code list is the only slightly bulky element, yet it is genuinely useful.

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 no output schema and a single trivial parameter, the description compensates by naming the returned fields, the failure modes, and the fallback signal. An agent has everything needed to call and interpret this tool.

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?

Only one parameter, and schema coverage is 100%, so the schema already documents url_or_html fully. The description adds no syntax or format detail beyond the schema (the schema itself even says convert to Markdown, which is not quite the tool's job). Baseline 3 applies.

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?

States a specific verb (outline) and resource (web page sections) and enumerates what the output contains: section ids, headings, byte sizes, and a fingerprint, explicitly excluding body text. This is distinguishable from the clean_extract sibling without opening a 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?

Explicitly routes usage: 'Use it first to see what a long page contains and which sections are worth reading,' and names the alternative flow ('A later clean_extract call can select sections'). The when-to-use and the follow-on tool are both stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources