Skip to main content
Glama

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

Прочитать несколько страниц / Read several pages

read_urls
Read-onlyIdempotent

Читает пачку страниц (до 10 за вызов; на бесплатном тарифе до 5) параллельно и возвращает текст каждой чистым markdown. То же, что read_url, но одним вызовом вместо нескольких - заметно быстрее по общему времени.

Когда: на руках список ссылок, например топ выдачи web_search. Когда не: страница одна - read_url; нужны отдельные поля, а не текст, - extract (он тоже принимает список). Возвращает: текст по каждой странице. Частичный успех - норма: упавшие ссылки не рвут вызов, а перечисляются отдельным блоком «Не прочитано» с кодом ошибки. Дубликаты и ссылки сверх лимита отбрасываются, их число указано в ответе. Длинные страницы обрезаются по maxChars; дочитывать их удобнее по одной через read_url с offset - в батче offset один на все ссылки. Цена: 1 кредит за каждую ссылку - пять страниц стоят пять кредитов. Не отправляйте ссылки «на всякий случай».

Reads a batch of pages (up to 5 per call) in parallel and returns each one's text as clean markdown. Same as read_url but in a single call - markedly faster in total wall-clock.

Use when: you have a list of links, e.g. the top web_search results. Do not use when: there is only one page - read_url; you need specific fields rather than text - extract (it also accepts a list). Returns: text per page. Partial success is normal: failed links do not fail the call, they are listed in a separate "not read" block with an error code. Duplicates and links beyond the limit are dropped and the count is reported. Long pages are cut at maxChars; finish reading them one at a time via read_url with offset - in a batch the offset applies to every link at once. Cost: 1 credit per link - five pages cost five credits. Do not pad the list.

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": {
      "urls": "<urls>"
    },
    "name": "read_urls"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYesСписок URL (1-10). Дубликаты отбрасываются, лишнее отбрасывается по тарифу: на бесплатном берём 5, на платном 10. / A list of URLs (1-10). Duplicates are dropped; the rest is cut by plan: 5 on the free tier, 10 on paid.
freshNoЧитать все страницы батча заново, не беря недавно прочитанный текст. На цену не влияет. / Read every page in the batch anew instead of using recently read text. Does not affect the price.
engineNoКак забирать страницы: auto (по умолчанию), fast, dynamic, stealth. Применяется ко всем ссылкам батча. / How to fetch the pages: auto (default), fast, dynamic, stealth. Applies to every link in the batch.
maxCharsNoСколько символов текста вернуть с КАЖДОЙ страницы (200-50000, по умолчанию 4000). На батче ставьте скромнее: пять больших страниц вытеснят из контекста всё остальное. / How many characters to return from EACH page (200-50000, default 4000). Keep it modest on a batch: five large pages will crowd everything else out of your context.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
  2. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  3. Changed4 schema fields changed
    • changedInput schema / properties / engine / description
      Previous value: -"Как забирать страницы: auto (по умолчанию), fast, dynamic, stealth. Применяется ко всем ссылкам батча."New value: +"Как забирать страницы: auto (по умолчанию), fast, dynamic, stealth. Применяется ко всем ссылкам батча. / How to fetch the pages: auto (default), fast, dynamic, stealth. Applies to every link in the batch."
    • changedInput schema / properties / fresh / description
      Previous value: -"Читать все страницы батча заново, не беря недавно прочитанный текст. На цену не влияет."New value: +"Читать все страницы батча заново, не беря недавно прочитанный текст. На цену не влияет. / Read every page in the batch anew instead of using recently read text. Does not affect the price."
    • changedInput schema / properties / maxChars / description
      Previous value: -"Сколько символов текста вернуть с КАЖДОЙ страницы (200-50000, по умолчанию 4000). На батче ставьте скромнее: пять больших страниц вытеснят из контекста всё остальное."New value: +"Сколько символов текста вернуть с КАЖДОЙ страницы (200-50000, по умолчанию 4000). На батче ставьте скромнее: пять больших страниц вытеснят из контекста всё остальное. / How many characters to return from EACH page (200-50000, default 4000). Keep it modest on a batch: five large pages will crowd everything else out of your context."
    • changedInput schema / properties / urls / description
      Previous value: -"Список URL (1-10). Дубликаты отбрасываются, лишнее отбрасывается по тарифу: на бесплатном берём 5, на платном 10."New value: +"Список URL (1-10). Дубликаты отбрасываются, лишнее отбрасывается по тарифу: на бесплатном берём 5, на платном 10. / A list of URLs (1-10). Duplicates are dropped; the rest is cut by plan: 5 on the free tier, 10 on paid."
  4. Changed4 schema fields changed
    • changedInput schema / properties / engine / description
      Previous value: -"Как забирать страницы: auto (по умолчанию), fast, dynamic, stealth. Применяется ко всем ссылкам батча. / How to fetch the pages: auto (default), fast, dynamic, stealth. Applies to every link in the batch."New value: +"Как забирать страницы: auto (по умолчанию), fast, dynamic, stealth. Применяется ко всем ссылкам батча."
    • changedInput schema / properties / fresh / description
      Previous value: -"Читать все страницы батча заново, не беря недавно прочитанный текст. На цену не влияет. / Read every page in the batch anew instead of using recently read text. Does not affect the price."New value: +"Читать все страницы батча заново, не беря недавно прочитанный текст. На цену не влияет."
    • changedInput schema / properties / maxChars / description
      Previous value: -"Сколько символов текста вернуть с КАЖДОЙ страницы (200-50000, по умолчанию 4000). На батче ставьте скромнее: пять больших страниц вытеснят из контекста всё остальное. / How many characters to return from EACH page (200-50000, default 4000). Keep it modest on a batch: five large pages will crowd everything else out of your context."New value: +"Сколько символов текста вернуть с КАЖДОЙ страницы (200-50000, по умолчанию 4000). На батче ставьте скромнее: пять больших страниц вытеснят из контекста всё остальное."
    • changedInput schema / properties / urls / description
      Previous value: -"Список URL (1-10). Дубликаты отбрасываются, лишнее отбрасывается по тарифу: на бесплатном берём 5, на платном 10. / A list of URLs (1-10). Duplicates are dropped; the rest is cut by plan: 5 on the free tier, 10 on paid."New value: +"Список URL (1-10). Дубликаты отбрасываются, лишнее отбрасывается по тарифу: на бесплатном берём 5, на платном 10."
  5. Changed2 schema fields changed
    • changedInput schema / properties / urls / description
      Previous value: -"Список URL (1-5). Дубликаты отбрасываются. / A list of URLs (1-5). Duplicates are dropped."New value: +"Список URL (1-10). Дубликаты отбрасываются, лишнее отбрасывается по тарифу: на бесплатном берём 5, на платном 10. / A list of URLs (1-10). Duplicates are dropped; the rest is cut by plan: 5 on the free tier, 10 on paid."
    • changedInput schema / properties / urls / maxItems
      Previous value: -5New value: +10
  6. Changed2 schema fields changed
    • changedInput schema / properties / maxChars / description
      Previous value: -"Сколько символов текста вернуть с КАЖДОЙ страницы (200–50000, по умолчанию 4000). На батче ставьте скромнее: пять больших страниц вытеснят из контекста всё остальное. / How many characters to return from EACH page (200–50000, default 4000). Keep it modest on a batch: five large pages will crowd everything else out of your context."New value: +"Сколько символов текста вернуть с КАЖДОЙ страницы (200-50000, по умолчанию 4000). На батче ставьте скромнее: пять больших страниц вытеснят из контекста всё остальное. / How many characters to return from EACH page (200-50000, default 4000). Keep it modest on a batch: five large pages will crowd everything else out of your context."
    • changedInput schema / properties / urls / description
      Previous value: -"Список URL (1–5). Дубликаты отбрасываются. / A list of URLs (1–5). Duplicates are dropped."New value: +"Список URL (1-5). Дубликаты отбрасываются. / A list of URLs (1-5). Duplicates are dropped."
  7. Changed1 schema field changed
    • addedInput schema / properties / fresh
      Added value: +{
      +  "description": "Читать все страницы батча заново, не беря недавно прочитанный текст. На цену не влияет. / Read every page in the batch anew instead of using recently read text. Does not affect the price.",
      +  "type": "boolean"
      +}
  8. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations declare readOnly/idempotent/openWorld, yet the description still adds substantial behavior: partial success semantics with a separate "not read" block and error codes, silent dedup and over-limit dropping, truncation at maxChars, one offset for the whole batch, and a 1-credit-per-link price. The only blemish is a bilingual inconsistency: the Russian text says up to 10 (5 on the free tier) while the English says "up to 5 per call", which does not match maxItems=10 in the schema.

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?

Each language block is tightly structured with labeled Use when / Do not use when / Returns / Cost sections and is front-loaded with the core action. The full Russian-plus-English duplication roughly doubles the length, which is defensible for a bilingual audience but is still redundancy for any single reader.

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?

With four params, no output schema, and a batch/IO-heavy operation, the description covers everything an agent needs: return shape, partial-failure handling, truncation and how to resume, limits, and cost. Nothing material is missing for correct invocation.

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 100%, so baseline is 3, but the description earns a point by adding decision-relevant meaning: keep maxChars modest on a batch because five large pages will crowd out context, and note that engine and offset apply uniformly across every link in the batch. It also quantifies cost per link, which no schema field conveys.

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 specific verb and resource ("reads a batch of pages ... in parallel") plus the output form (clean markdown per page), and explicitly positions it against read_url as the same operation batched. An agent can tell it apart from read_url and extract without opening a 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?

Provides explicit "Use when" (a list of links, e.g. top web_search results) and "Do not use when" routing rules naming the two siblings read_url and extract plus the condition that selects each. It even discourages padding the list with links sent "just in case".

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.