Skip to main content
Glama
aidvizhhub

camoufox-research

by aidvizhhub

Проверка ссылок

check_links
Read-onlyIdempotent

Find broken links on a webpage by testing HTTP statuses of internal or external URLs before publishing or after a redesign; configure timeout and max links.

Instructions

КОГДА: перед публикацией или после редизайна — найти битые ссылки на странице. ЧТО: HTTP-статусы собранных ссылок, отчёт вида «[404] URL». timeout — срок НА КАЖДУЮ ссылку (15с). Обычный путь (urllib) идёт ОГРАНИЧЕННЫМ ПУЛОМ потоков: CAMOUFOX_LINK_WORKERS (дефолт 8, потолок 16) — 50 ссылок ≈ минута, а не ~12. НО при поднятом живом браузере (serve) запросы идут через его sync-Playwright — он потокопривязан, поэтому пул принудительно 1 (последовательно). Бюджет вызова мост поднимает сам (900с) — таймаут MCP-клиента ставь ≥900с. НЕ: жди параллельности, когда поднят живой браузер — там строго по одной (грабли: 4 потока → 15/15 error); внешние ссылки → internal_only=False.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
timeoutNo
max_linksNo
internal_onlyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations cover the safety profile (read-only, open-world, idempotent), and the description adds substantial behavior beyond them: per-link timeout semantics, bounded worker pool via CAMOUFOX_LINK_WORKERS (default 8, cap 16), forced sequential execution under live-browser mode, and the 900s call budget with client-timeout advice.

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?

Front-loaded WHEN/WHAT/NOT structure makes it scannable, and the concurrency caveat plus timeout budget genuinely earn their space. It is dense with operational detail, but none of it is padding given the described pitfalls.

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 an output schema present, return format need not be restated, and the description covers the runtime constraints, failure mode, and budget that an agent needs to invoke this correctly. Nothing material is missing.

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 coverage is 0%, so the description must carry the load, and it explains the two non-obvious params: timeout is per-link (15s), not total, and internal_only controls whether external links are checked. max_links is only implied via the 50-link/min figure, so it is slightly short of complete.

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: find broken links on a page and report HTTP statuses as «[404] URL». That clearly distinguishes it from extract_links (which only gathers URLs) without needing to name the sibling explicitly.

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 (before publishing or after a redesign) and explicit NOT (don't expect parallelism when a live browser is up; external links require internal_only=False). The conditions that select behavior are spelled out, including the observed failure mode.

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