Skip to main content
Glama
quitegoodproject

tokenmarkdown-mcp

Official

extract_markdown

Convert any web page into clean Markdown by removing HTML bloat, cookie banners, and tracking scripts, reducing token usage by up to 95% for LLM context windows and RAG pipelines.

Instructions

Sub-150ms clean web-to-markdown extraction. Strips 95% of HTML bloat, cookie banners, tracking scripts, and SVGs to preserve LLM context windows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe fully qualified HTTP or HTTPS URL to extract into clean markdown.
include_imagesNoWhether to retain image links in the markdown output (default: false).
Behavior4/5

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

With no annotations, the description carries the behavioral disclosure burden and does so meaningfully: it discloses performance expectations, selective stripping of HTML bloat, cookie banners, tracking scripts, and SVGs. It could be more transparent about failure modes, authentication needs, or whether the extraction is read-only, but the stripping behavior is genuinely informative.

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 a single sentence that front-loads the key differentiator, states the core function, and gives concrete stripping behavior. Every clause adds value, and there is no redundant repetition of the tool name or schema.

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 extraction tool with a complete schema, the description adequately covers purpose, input, behavior, and output format implied by 'web-to-markdown'. It lacks explicit error/edge-case guidance and does not mention quota implications, but the overall tool context is small enough that this is a minor gap.

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%, so the parameters url and include_images are already fully documented in the input schema. The description adds no parameter-specific detail beyond the schema, which places it at the baseline score.

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 states a concrete action — extraction of a web page into clean markdown — and clearly identifies the input and intended output. It also distinguishes itself from check_quota by focusing on content extraction rather than quota status.

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 provides a clear use context: extracting clean markdown for LLM context windows. It implies the tool should be chosen when minimizing HTML noise for downstream processing is important, but it does not explicitly state when not to use it or contrast it with check_quota.

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/quitegoodproject/tokenmarkdown'

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