Skip to main content
Glama

workspace__CreateTag

Creates a tag on a desktop and overwrites any existing tag with the same key, enabling desktop organization and classification within a project.

Instructions

[WORKSPACE] 该接口用于为桌面创建标签,一个桌面上最多有10个标签。创建时,如果创建的标签已经存在(key相同),则覆盖。

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": {
      "desktop_id": "<desktop_id>",
      "project_id": "<project_id>",
      "tag": "<tag>"
    },
    "name": "workspace__CreateTag"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYes标签。
desktop_idYes桌面id。
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose key behaviors: the 10-tag limit and that same-key tags are overwritten. It does not state permissions required, what happens when the limit is exceeded, or what the response contains, leaving meaningful gaps.

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?

Two concise sentences with zero waste, front-loading the purpose before the behavioral constraints. Appropriate length for this tool.

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

Completeness4/5

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

Given full schema coverage and no output schema, the description supplies the essential behavioral facts (limit, overwrite) that an agent needs. It could be more complete by covering error behavior at the 10-tag limit or required permissions, but it is largely sufficient.

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

Parameters4/5

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

Schema coverage is 100%, so the schema already documents the parameters. The description adds value by explaining that a tag with the same key will be overwritten, which is a key parameter semantic not present in the schema.

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?

States a specific verb (create) and resource (tag for a desktop), and adds important scope details: max 10 tags per desktop, overwrite on same key. It does not explicitly differentiate from sibling tools like DeleteTag or ShowTagByDesktopId, but the operation is clear.

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 implied by the purpose, and the overwrite condition gives some guidance, but there is no explicit when-to-use vs alternatives, no prerequisites, and no mention of when not to use it.

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