Skip to main content
Glama

下载设计平台资源

design_download_asset

Downloads images, SVGs, fonts, or icons from Lanhu, Figma, or Mockplus pages to local files using your active login session.

Instructions

使用对应平台登录态把图片、SVG、字体或图标保存到本地。

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": {
      "pageUrl": "<pageUrl>",
      "assetUrl": "<assetUrl>"
    },
    "name": "design_download_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageUrlYes蓝湖分享或页面 URL
assetUrlYes
filenameNo
providerNoauto
overwriteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description must carry the full burden of explaining behavior. It correctly discloses an authentication prerequisite (the platform login session) and says it writes files to local disk, but it does not disclose overwrite or collision behavior, where the asset is written, or what the tool returns, and it does not clarify its own local write side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single compact sentence with no padding, and the essential action is stated up front. However, its brevity goes too far: the same sentence could have been longer and carried the missing behavior and parameter context without becoming verbose.

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?

With 5 parameters, 20% schema coverage, no annotations and no output schema, the description needs to do much more than one sentence. It omits the required assetUrl, the provider selection semantics and the overwrite behavior, so an agent cannot invoke it confidently.

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 coverage is only 20%: only pageUrl is documented, while assetUrl, filename, provider and overwrite have no descriptions. The only hints at meanings are the mention of '对应平台' (loosely the provider enum) and the list of asset types; those do not explain the required assetUrl, the 200-character filename limit, or what overwrite=true does.

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 states a specific verb (save to local / 保存到本地) and names the resource types it handles: images, SVG, fonts and icons. It is clear what the tool does, but it never distinguishes itself from the sibling lanhu_download_asset, so an agent cannot tell which downloader to choose, even though both names appear in the catalog.

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 description implies that the tool relies on the corresponding platform's login state, which is a prerequisite of sorts, but it gives no explicit guidance on when to use this tool versus lanhu_download_asset or design_list_assets, and no exclusions at all.

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