Skip to main content
Glama

workspace__ListDesktopNamePolicy

Retrieves desktop name policies used to automatically generate desktop names, with optional filtering by policy ID or name and username inclusion.

Instructions

[WORKSPACE] 获取桌面名称策略,用于自动生成桌面名称。

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": {
      "project_id": "<project_id>"
    },
    "name": "workspace__ListDesktopNamePolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo用于分页查询,取值范围0-50,默认值50。
offsetNo用于分页查询,查询的起始记录序号,从0开始。
policy_idNo策略id。
project_idYes项目ID。
policy_nameNo策略名称,由数字、字母、中文、下划线组成,必须以字母或下划线开头,长度范围为1~30个字符,支持模糊筛选。
is_contain_userNo是否包含用户名的桌面名称策略。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/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 disclosure burden, yet it only says what is fetched. It does not state that the operation is read-only, whether the caller needs desktop-pool permissions, what happens with an empty result, or how the limit/offset pagination window behaves in practice.

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?

One short sentence, front-loaded with the workspace tag and the verb, with no filler. It is efficient but so terse that the purpose clause is doing double duty as both description and guidance.

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 six parameters, pagination, no annotations and no output schema, the description should say that a filtered, paginated list of policies is returned and roughly what each entry contains. It says none of that, leaving the response shape and pagination behavior entirely undisclosed.

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

Parameters3/5

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

Schema description coverage is 100%, so all six parameters, including the fuzzy-match note for policy_name and the 0-50 bounds on limit/offset, are already documented in the schema. The description adds no filtering semantics beyond that, so the baseline 3 applies.

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 clearly states a specific verb and resource ('获取桌面名称策略' / get desktop name policy), which separates it from the Create/Update/BatchDelete siblings whose names share the same resource. It adds a purpose clause ('用于自动生成桌面名称'), but never says this is a list/query operation or that it returns multiple policies, so the retrieval shape is only implied.

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?

Naming the auto-generated-desktop-name context implies when an agent would reach for this tool, but there is no explicit when-to-use or when-not-to-use statement and no routing to alternatives. A reader must infer that this is the read-only lookup counterpart to CreateDesktopNamePolicy and UpdateDesktopNamePolicy.

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

Deploy Server

Other Tools