Skip to main content
Glama

列出蓝湖标注图层

lanhu_list_elements

Lists layer IDs, browser viewport coordinates, and visible ranges from a Lanhu design annotation page so element inspection tools can select target elements.

Instructions

从具体蓝湖设计标注页列出图层 ID、浏览器视口坐标和可见范围,供元素检查工具选择。

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_list_elements"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes蓝湖分享或页面 URL
limitNo
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/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 behavioral burden. It does disclose the operation is a read that returns layer IDs, browser viewport coordinates, and visible ranges from a specific annotation page, but it says nothing about pagination behavior despite limit/offset parameters, nor about auth or rate limits.

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

Conciseness5/5

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

A single dense sentence with zero filler: the data source is front-loaded, the returned fields follow, and the downstream purpose closes it. Nothing could be removed without losing information.

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

Completeness3/5

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

With no output schema, the description does partially describe return values (IDs, viewport coordinates, visible ranges), which is the main thing an agent needs. However, for a paginated list tool over 3 parameters, the absence of any pagination or result-size guidance leaves a real gap.

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 33% — just the url field is documented as '蓝湖分享或页面 URL'. The description narrows that to a specific annotation page, which adds real meaning for the required parameter, but limit and offset receive no explanation in either the schema or the description, leaving the pagination contract unclear.

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 (列出/list) plus the resource (蓝湖标注图层/layers on a Lanhu annotation page) and enumerates the returned fields (图层 ID、浏览器视口坐标、可见范围). It also hints at the downstream consumer (元素检查工具), which distinguishes it from the inspection tool itself, though it never names lanhu_inspect_elements explicitly.

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

Usage Guidelines3/5

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

Usage is only implied through '供元素检查工具选择', which suggests this is a discovery step that feeds an inspection tool. There is no explicit statement about when to prefer this over lanhu_inspect_elements or lanhu_list_assets, and no prerequisites or exclusions are given.

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