Skip to main content
Glama

下载蓝湖资源

lanhu_download_asset

Download Lanhu image, SVG, or font assets to your local downloads folder using the page's login session; specify a page URL and asset URL to save resources for offline use.

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden; it does disclose the auth prerequisite (page login state) and the destination (local download directory), which are genuinely useful. However, it says nothing about overwrite behavior when a file already exists, what is returned (path? bytes?), or failure modes for expired sessions or unreachable assets.

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 tight sentence with the action and scope front-loaded and no filler. It is efficient, though its brevity is part of why the parameter and behavioral gaps exist.

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 4-parameter file-writing tool with no annotations and no output schema, the definition omits too much: what overwrite does, how filename is derived or validated (maxLength 200), and what the tool returns. The auth and destination notes are helpful but not sufficient for correct invocation.

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% — only pageUrl is documented in the schema; assetUrl, filename, and overwrite have no descriptions. The description adds no meaning for any of these, leaving filename and overwrite (defaults and effects) entirely opaque to the agent.

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 uses a specific verb (保存到本地下载目录) with a concrete resource set (蓝湖图片、SVG 或字体资源) and notes the auth mechanism (页面登录态). It clearly distinguishes itself from listing siblings like lanhu_list_assets, but does not distinguish itself from the near-identical design_download_asset sibling.

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 explicit when-to-use guidance, no when-not-to-use conditions, and no mention of an alternative tool for downloading assets. The only implied usage signal is that a page login session is required, which an agent must infer selects this tool for authenticated asset retrieval.

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