Skip to main content
Glama

fetch_page

Fetches a web page and converts it into clean Markdown, preserving code blocks and tables while removing navigation, footers, and ads.

Instructions

Скачать страницу и вернуть чистым markdown, сохраняя блоки кода и таблицы.

Идеально для API-документации: <pre><code> остаются многострочными, таблицы превращаются в markdown-таблицы. Мусор (nav, footer, реклама) вырезается.

Args: url: полный URL страницы (http/https).

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

Input Schema

NameRequiredDescriptionDefault
urlYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It usefully discloses that navigation, footers, and ads are stripped and that code blocks and tables are preserved, but it does not mention network behavior, authentication, rate limits, JavaScript rendering, or error handling.

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 short and front-loaded: it states the action and result first, then gives useful output details, then documents the single argument. There is no redundant or wasted wording.

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?

The tool is simple, has one required parameter, and has an output schema, so the description need not explain return values in detail. It covers purpose, output transformation, and URL format, but leaves out behavior around dynamic pages, redirects, timeouts, and errors.

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

Parameters4/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 add meaning for the single parameter. It does so by specifying that the URL must be a full http/https page URL, which goes beyond the schema's bare 'Url' string field.

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 clearly states a specific verb and resource: downloading a page and returning it as clean markdown. It also explains output characteristics such as preserved code blocks and tables, but it does not differentiate this tool from siblings like crawl_docs or search_and_read.

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 phrase 'Идеально для API-документации' gives an implied use case, so the agent knows one scenario where this tool fits. However, there is no explicit guidance on when to choose this over crawl_docs, search_and_read, or web_search, and no exclusions or prerequisites are stated.

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