Skip to main content
Glama

mcp-server

Extract webpage content

tooltrace_extract
Read-onlyIdempotent

Extract clean content from a webpage. Returns Markdown, plain text, metadata, links, JSON-LD schema, and content sections. Use this for scraping, RAG ingestion, or content analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesPublic webpage URL to extract
modeNo'structured' for parsed data, 'raw' for HTML, 'both' for everything.structured
renderNoRendering mode. 'never' = fast static fetch (1 credit). 'auto' = static first, browser if needed. 'always' = browser rendering (5 credits).auto
includeNoWhich fields to include in the response.
wait_untilNoBrowser navigation milestone. Only used with browser rendering.
wait_for_selectorNoCSS selector to wait for on rendered pages.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo
textNo
fetchNo
linksNo
schemaNo
markdownNo
metadataNo
raw_htmlNo
sectionsNo
word_countNo
content_hashNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotations already indicate readOnlyHint, idempotentHint, and non-destructive behavior, so the safety profile is covered. The description adds useful behavioral context by explaining that it returns clean, structured content in multiple formats and that it targets general extraction use cases. It does not contradict the annotations.

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 two concise sentences with no filler. It front-loads the core action and resource, then states the outputs and use cases. Every sentence adds useful information.

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?

The input schema is rich and fully covers parameter semantics, the annotations cover safety and idempotency, and an output schema exists. The description adds the missing usage context and high-level output expectations. It is slightly incomplete in not guiding the agent toward sibling tools for narrower extraction needs, but overall it is sufficient for correct invocation.

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 100%, and the parameters already have detailed descriptions including enums, defaults, and credit implications. The tool description does not add parameter-level meaning beyond what the schema provides, so it meets the baseline without exceeding it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource ('Extract clean content from a webpage') and lists the expected outputs (Markdown, metadata, links, schema, sections), which makes the tool's purpose clear. It does not explicitly distinguish this comprehensive extractor from the sibling tools like tooltrace_links or tooltrace_schema, but the broad output list implies it is the general-purpose option.

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

Usage Guidelines4/5

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

The description explicitly states when to use the tool: 'Use this for scraping, RAG ingestion, or content analysis.' However, it does not mention when not to use it or point to the more specialized sibling tools for link-only, metadata-only, or schema-only extraction.

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.