Skip to main content
Glama

workspace__ShowUsingSubnets

Identify which subnet IDs from a provided list are currently used by Workspace desktops and return the matching IDs for project-level network planning.

Instructions

[WORKSPACE] 根据子网id列表查询正在被桌面使用的子网id,并且返回subnetId列表。

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

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
subnet_idsNo子网id列表逗号分隔。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/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. It discloses that this is a read-style query and that the return value is a subnetId list, but says nothing about whether subnets not in the input are simply ignored, what happens with invalid IDs, or whether an empty result is possible.

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, front-loaded sentence with the input and output both stated. The '[WORKSPACE]' service tag is mild noise but the core statement is efficient and free of padding.

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?

The tool is simple, but one meaningful gap remains: subnet_ids is optional with minLength 0, and the description never says what happens when it is omitted (e.g., return all in-use subnets). Otherwise the definition is adequate for a two-parameter query with no output schema.

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 both parameters are already documented. The description only adds the framing that subnet_ids is the candidate list to be tested for usage; project_id is not mentioned at all, so the schema does the heavy lifting.

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 and resource: query which subnet IDs are currently in use by desktops, given a list of subnet IDs, and return that list. This clearly distinguishes it from plain subnet listings like vpc__ListSubnets, though no sibling is named 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 by the phrase 'in use by desktops' – an agent can infer the pre-deletion / dependency-check scenario, but there is no explicit when-to-use, when-not-to-use, or named alternative such as vpc__ListSubnets.

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