Skip to main content
Glama

срезAI — MCP-сервер и поисковый API для ИИ-агентов

Скриншот и структура страницы / Page screenshot and structure

fetch_page
Read-onlyIdempotent

Открывает страницу полноценным браузером и возвращает скриншот картинкой прямо в ответе, ссылку на полноразмерный файл и текст страницы в markdown.

Когда: нужно УВИДЕТЬ страницу - раскладку, цвета, типографику, визуальную иерархию: «повтори дизайн как здесь», «что не так с вёрсткой». Когда не: нужен только текст - read_url (1 кредит против 3, и быстрее); нужны отдельные значения - extract. Возвращает: изображение плюс текст. Картинка занимает много контекста, поэтому для чтения этот инструмент избыточен. Если браузер не успел отрендерить страницу, вернём её текст (то же, что даёт read_url), скажем об этом прямо и спишем 1 кредит вместо 3. Цена: 3 кредита (1, если скриншот не получился).

Opens the page in a full browser and returns a screenshot as an inline image, a link to the full-size file, and the page text in markdown.

Use when: you need to SEE the page - layout, colours, typography, visual hierarchy: "match this design", "what looks broken here". Do not use when: you only need text - read_url (1 credit vs 3, and faster); you need specific values - extract. Returns: an image plus text. The image consumes a lot of context, which makes this tool overkill for reading. If the browser fails to render the page, its text is returned instead (the same as read_url), the reply says so, and 1 credit is charged instead of 3. Cost: 3 credits (1 if the screenshot could not be captured).

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Полный URL страницы (http/https) / Full page URL (http/https)
maxCharsNoСколько символов текста вернуть (200-50000, по умолчанию 4000). Поднимите, если нужен полный текст страницы, а не только начало. / How many characters of text to return (200-50000, default 4000). Raise it if you need the whole page text, not just the beginning.
maxHeightNoПотолок высоты картинки в пикселях (200–20000). Длинную страницу режем сверху. / Screenshot height cap in pixels (200–20000), crops from the top.
screenshotModeNoЧто снимать: full — вся страница (по умолчанию), viewport — только первый экран. Для «скопировать дизайн» берите full, для «посмотреть первый экран/блок» — viewport. / full — whole page (default), viewport — first screen only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / maxHeight
      Added value: +{
      +  "description": "Потолок высоты картинки в пикселях (200–20000). Длинную страницу режем сверху. / Screenshot height cap in pixels (200–20000), crops from the top.",
      +  "maximum": 20000,
      +  "minimum": 200,
      +  "type": "integer"
      +}
    • addedInput schema / properties / screenshotMode
      Added value: +{
      +  "description": "Что снимать: full — вся страница (по умолчанию), viewport — только первый экран. Для «скопировать дизайн» берите full, для «посмотреть первый экран/блок» — viewport. / full — whole page (default), viewport — first screen only.",
      +  "enum": [
      +    "full",
      +    "viewport"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  4. Changed2 schema fields changed
    • changedInput schema / properties / maxChars / description
      Previous value: -"Сколько символов текста вернуть (200-50000, по умолчанию 4000). Поднимите, если нужен полный текст страницы, а не только начало."New value: +"Сколько символов текста вернуть (200-50000, по умолчанию 4000). Поднимите, если нужен полный текст страницы, а не только начало. / How many characters of text to return (200-50000, default 4000). Raise it if you need the whole page text, not just the beginning."
    • changedInput schema / properties / url / description
      Previous value: -"Полный URL страницы (http/https)"New value: +"Полный URL страницы (http/https) / Full page URL (http/https)"
  5. Changed2 schema fields changed
    • changedInput schema / properties / maxChars / description
      Previous value: -"Сколько символов текста вернуть (200-50000, по умолчанию 4000). Поднимите, если нужен полный текст страницы, а не только начало. / How many characters of text to return (200-50000, default 4000). Raise it if you need the whole page text, not just the beginning."New value: +"Сколько символов текста вернуть (200-50000, по умолчанию 4000). Поднимите, если нужен полный текст страницы, а не только начало."
    • changedInput schema / properties / url / description
      Previous value: -"Полный URL страницы (http/https) / Full page URL (http/https)"New value: +"Полный URL страницы (http/https)"
  6. Changed1 schema field changed
    • changedInput schema / properties / maxChars / description
      Previous value: -"Сколько символов текста вернуть (200–50000, по умолчанию 4000). Поднимите, если нужен полный текст страницы, а не только начало. / How many characters of text to return (200–50000, default 4000). Raise it if you need the whole page text, not just the beginning."New value: +"Сколько символов текста вернуть (200-50000, по умолчанию 4000). Поднимите, если нужен полный текст страницы, а не только начало. / How many characters of text to return (200-50000, default 4000). Raise it if you need the whole page text, not just the beginning."
  7. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, and the description still adds substantial context: 3-credit cost with a 1-credit degraded path, the explicit fallback to text-only output when rendering fails, and a warning that the inline image consumes a lot of context. This is exactly the kind of behavioural detail annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Content is front-loaded and dense — purpose, when/when-not, returns, fallback, price — with no filler sentences. The one cost is that every line is duplicated in Russian and English, roughly doubling the length an agent must read for the same information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers everything an agent needs for a 4-parameter, no-output-schema tool: what comes back, the context-bloat risk, the failure mode and its pricing, and when a cheaper sibling suffices. Nothing material is left to inference.

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% and every parameter (url, maxChars, maxHeight, screenshotMode) already carries bilingual explanations, including enum guidance. The prose adds no parameter-level meaning beyond the schema, so the baseline of 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 concrete verb and resource — opens the page in a full browser and returns a screenshot inline plus a full-size link plus markdown text — which is unmistakably different from read_url (text only) and extract (values). An agent can distinguish it from every named sibling without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when/when-not structure: use it to SEE layout, colour, typography, visual hierarchy; do not use it for text (read_url, 1 credit vs 3, faster) or for specific values (extract). Alternatives are named with the condition and the cost trade-off that selects them.

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.