Skip to main content
Glama

截取蓝湖页面

lanhu_capture_page

Capture a rendered PNG screenshot of a Lanhu page so vision models can view the actual design output directly, with configurable width, height, and full-page options.

Instructions

返回蓝湖页面的实际渲染 PNG,让视觉模型直接看到页面。

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

Input Schema

NameRequiredDescriptionDefault
urlYes蓝湖分享或页面 URL
widthNo
heightNo
fullPageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description carries the full burden and delivers little. '实际渲染' usefully implies a real browser render rather than a static snapshot, but it says nothing about whether the call mutates or navigates state, whether login/auth is needed, render latency or wait-for-load behavior, or what a failure looks like.

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?

A single front-loaded sentence with zero filler or hedging, and the key artifact (rendered PNG) appears first. It is well structured but so terse that it borders on under-specification for a tool with four parameters.

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?

Placeholder check: with no output schema and no annotations, the description is far too thin for a capture tool — it omits prerequisites, whether the capture includes full page height by default, and any viewport/permission context. An agent could call it but not predict the returned image's framing.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25% — just url is documented. The description adds no meaning for width, height, or fullPage (which silently defaults to true and therefore changes the output shape/height of the PNG), so an agent has to guess at viewport and full-page semantics. The low coverage is not compensated.

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 sentence states a specific verb and artifact: it returns the actually-rendered PNG of a Lanhu page. That is much clearer than a name restatement, but it never distinguishes this tool from the near-identical sibling design_capture_page or from lanhu_read_page, so an agent cannot route between capture variants from the text alone.

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

Usage Guidelines2/5

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

The only guidance is the implicit purpose 'let the vision model see the page directly' — a rationale, not a when-to-use rule. There is no statement of prerequisites (must the page be opened first via lanhu_open_page?), no exclusion against text-based alternatives like lanhu_read_page or lanhu_inspect_element, and no mention of when NOT to capture.

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