Skip to main content
Glama

extract_clean_markdown

Fetch a public webpage and convert it into clean, token-efficient LLM Markdown with metadata and token count for reliable downstream processing.

Instructions

Fetch any public webpage and convert it into clean, token-efficient LLM Markdown with metadata and token count ($0.005 USDC on Base).

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http/https URL to convert to Markdown
maxCharsNoMaximum Markdown characters (500-50000, default 15000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses the price ($0.005 USDC on Base) and that the response includes metadata and a token count, but it omits payment mechanics, failure behavior on non-public/inaccessible URLs, and rate limits for a paid operation.

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?

A single sentence that front-loads the core action and folds in the output shape and cost. No filler.

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 two-parameter tool with a fully described schema and no output schema, the description covers the transformation, expected return elements (metadata, token count), and cost. Only payment flow and error conditions remain unstated.

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 both url and maxChars are already documented with format, range, and default. The description adds nothing about parameters, so 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+resource: fetch a public webpage and convert it to clean Markdown. The output characteristics (token-efficient LLM Markdown, metadata, token count) are named, and no sibling tool overlaps with this scraping/conversion function.

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?

'Fetch any public webpage' implies the scope of use, but there is no explicit when-to-use, when-not-to-use, or alternative guidance. The public-only constraint is stated but framed as capability rather than a restriction on when to call it.

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