Skip to main content
Glama

截取设计平台页面

design_capture_page

Capture actual rendered screenshots of Lanhu, Figma, or Mockplus design pages from a shared URL, with viewport size and full-page options.

Instructions

统一返回 Lanhu、Figma 或 Mockplus 页面实际渲染截图。

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioural burden, yet it only says the result is a real rendered screenshot. It is silent on authentication requirements for Figma/Mockplus URLs, whether capture is headless-browser based (with timeout or failure modes), any rate limits, and whether the returned artefact is an image, a URL, or base64 data — especially costly given there is no output 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?

A single short sentence, front-loaded with no filler or repetition. Its brevity is efficient, though it tips into under-specification rather than tightness.

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

Completeness2/5

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

For a five-parameter, multi-provider tool with no annotations and no output schema, one sentence is far from sufficient. Missing are provider-selection logic, auth expectations per platform, behaviour of fullPage versus explicit dimensions, and the shape of the returned screenshot.

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 20%: only `url` is documented, while `width`, `height`, `fullPage` and `provider` are undocumented in both schema and description. The description adds no meaning at all about how `provider: auto` detects the platform, or whether width/height are ignored when fullPage is true — a gap the text should have closed.

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 description names the resource (page screenshots) and the three supported platforms (Lanhu, Figma, Mockplus), and the word '统一' hints that this is the cross-platform generalisation of the sibling lanhu_capture_page. It stops short of explicitly naming that sibling or stating the capture action as a verb, so the differentiation still requires a small inference.

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?

There is no statement of when to choose this tool over lanhu_capture_page, design_read_page, or lanhu_open_page, and no prerequisites or exclusions are given. An agent must guess that 'unified' means 'prefer this for non-Lanhu providers', which is exactly the kind of routing decision the description should make explicit.

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