Skip to main content
Glama

fetch_as_markdown

Fetch a URL and convert its full HTML to Markdown in one call, preserving content as-is without filtering.

Instructions

Fetch a URL and convert the full HTML to Markdown (as-is, no content filtering).

Combines fetch_page + html_to_markdown in one call.

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_as_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
headersNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely useful trait: output is unfiltered full-page Markdown, so the agent should expect large, noisy results. It says nothing about authentication needs, redirect/JS-rendering behavior, or size limits, which are the remaining unknowns for a network fetch.

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 short sentences, front-loaded with the core action and immediately followed by the differentiating detail. Nothing is wasted or redundant.

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?

An output schema exists, so return-value explanation is unnecessary, and the description correctly focuses on the action and its fidelity guarantee. The gap is the undocumented `headers` parameter and the lack of any note on fetch behavior (auth, redirects, JS), though these are moderate rather than fatal for a two-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate and does not: neither the expected `url` format nor the `headers` object is explained. The `headers` parameter in particular is completely opaque here, leaving the agent to guess whether it is for auth, user-agent, or content negotiation.

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?

States a specific verb and resource ('Fetch a URL and convert the full HTML to Markdown') and pins down output fidelity with '(as-is, no content filtering)', which implicitly contrasts with the article-extraction siblings like fetch_article and extract_article. It never names an alternative explicitly, so the differentiation is inferable rather than stated.

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?

The 'no content filtering' clause and 'Combines fetch_page + html_to_markdown in one call' imply when to reach for this (full-fidelity conversion, avoiding a two-step pipeline), but there is no explicit when-to-use/when-not framing and no reference to the sibling tools an agent must choose between.

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