Skip to main content
Glama

fetch_markdown

Fetch any URL as clean markdown, removing navigation, ads, and scripts so LLMs consume compact page content with fewer tokens.

Instructions

Fetch any URL as clean markdown via markdown.new. Uses ~80% fewer tokens than raw HTML.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "fetch_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL to fetch as markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It discloses the transformation (HTML→markdown via markdown.new) and a cost benefit, but says nothing about rate limits, timeouts, handling of redirects, auth-protected or JS-rendered pages, or what happens on failure — meaningful gaps for a network-fetch tool.

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?

Two tight sentences with zero filler, and the core action is front-loaded before the supporting rationale about token savings.

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 one-parameter fetch-and-convert tool with no output schema, the description covers input scope, the backend service, and the return format. The only meaningful omission is failure/edge-case behavior, which is minor at this complexity.

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?

There is a single required parameter and schema description coverage is 100%, so the schema already documents 'url' fully. The description adds only the implied breadth ('any URL') without format, protocol, or encoding detail, matching the baseline for a fully documented schema.

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 gives a specific verb ('Fetch') and resource ('any URL') plus the output form ('clean markdown'), which is enough for an agent to know exactly what the tool produces. No sibling tools exist to differentiate from, so it falls just short of the top mark.

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 URL' implies unrestricted scope and the token-saving note hints at why one would pick this over raw HTML retrieval, but there is no explicit when-to-use/when-not guidance, no mention of pages that will fail (auth-gated, JS-only), and no prerequisites.

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