Skip to main content
Glama

Engine Heart

web.screenshot_url

给任意网页截真图(不是文字渲染),返回可直接打开的公网图片链接。常驻 Chromium CDP 渲染,支持整页长截图。实测 163/新浪/虎嗅/IT之家/豆瓣/少数派 6 站全出完整渲染图,3.5~9s;整页长截图 4s。注意:UA 主版本必须跟服务器 Chromium 一致(当前 156),写死旧版 UA 会被网易等站降级成无样式无障碍页(踩过,49KB 废图)。适合页面存档、UI 检查、给用户看效果图。禁止访问内网地址。

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": "web.screenshot_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes完整网址,含 http(s):// 或裸域名
widthNo视口宽度,400~2400,默认 1280
heightNo视口高度,300~2400,默认 900
full_pageNo是否整页长截图,默认 False 只截首屏

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well: it discloses the rendering engine (常驻 Chromium CDP), measured latency (3.5~9s, 4s for full-page), the SSRF-style restriction on internal addresses, and a concrete failure mode (hardcoded old UA versions get downgraded to unstyled pages by sites like NetEase). This is behaviorally rich information an agent could not get from structured fields.

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?

Core capability and output are front-loaded, then constraints. The tested-site list (163/新浪/虎嗅/IT之家/豆瓣/少数派) and the 49KB junk-image war story are somewhat verbose, though they justify the UA warning. Slightly tighter phrasing would earn a 5.

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?

For a screenshot tool with no output schema, the description states the return value (可直接打开的公网图片链接) and the key constraints, which is enough to call it correctly. It stops short of describing failure behavior (timeouts, unreachable pages) or rate limits, which would complete the picture.

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%, so the schema already documents url, width, height, and full_page with defaults and ranges. The description only echoes full_page (整页长截图) and adds the UA caveat that indirectly affects the url parameter; it adds no syntax or format detail beyond the schema. Baseline 3 is appropriate.

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?

The description opens with a specific verb and resource ("给任意网页截真图" – screenshot an arbitrary webpage), clarifies the output is a real rendered image rather than text, and explicitly distinguishes itself from text-extraction siblings by saying "不是文字渲染". An agent can immediately tell this is an image-capture tool, not a page reader.

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

Usage Guidelines4/5

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

It names concrete use cases (页面存档、UI 检查、给用户看效果图) and an exclusion (禁止访问内网地址), plus the implicit contrast with text rendering that routes agents away from web_read-style tools. It does not explicitly name an alternative tool or state when-not to screenshot beyond the intranet ban, so it falls short of full routing guidance.

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.

Resources