Skip to main content
Glama

Fetch a page as Markdown

fetch_page_markdown
Read-onlyIdempotent

Fetch a public HTML page and return the article as Markdown, plus a title, excerpt, and o200k token count. Private and local addresses are refused. The response is capped at 800 KB.

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http or https URL. Private and local addresses are refused.

Output Schema

NameRequiredDescriptionDefault
urlYes
charsYes
titleYes
tokensYes
excerptYes
markdownYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and open-world behavior, so the description is not obligated to cover safety. It still adds real context the annotations cannot express: private/local address refusal and an 800 KB response cap, both of which affect whether a call will succeed.

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?

Three compact sentences, zero filler, with the core capability front-loaded before the limits. Return contents, refusal policy, and size cap each earn their place.

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?

With an output schema present, the description need not document return shapes, and it still names the returned fields. It covers the two failure conditions an agent most needs to know (blocked addresses, size cap), though it says nothing about non-article pages where extraction may be empty.

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 parameter with 100% schema description coverage, so the schema already carries the semantics and the baseline is 3. The description's 'public HTML page' and refusal note largely restate the schema's own url description rather than adding format or syntax detail.

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?

Uses a specific verb and resource ('Fetch a public HTML page') and states exactly what comes back: Markdown article body, title, excerpt, and o200k token count. It is distinct from a pure markup converter in the sibling list, but it never names or contrasts any alternative explicitly.

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?

Usage is only implied by the purpose line; there is no explicit when-to-use statement or routing toward convert_markdown_html for already-fetched markup. The one hard exclusion that is present ('Private and local addresses are refused') is a constraint, not guidance on tool selection.

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.