Skip to main content
Glama

cdm__ShowEnterpriseProjects

Retrieves the enterprise project IDs for all CDM clusters in a specified project, helping you map clusters to their enterprise projects.

Instructions

[CDM] 查询当前项目下的所有集群的企业项目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": {
      "project_id": "<project_id>"
    },
    "name": "cdm__ShowEnterpriseProjects"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. The verb '查询' implies a read, but there is no statement about permissions required, whether results are paginated or bounded, or what happens when the project has no clusters — all relevant for a project-scoped listing call.

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 compact sentence with the resource and scope front-loaded. The '[CDM]' prefix is a minor tag rather than noise, and no sentence is wasted.

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: one required path parameter, no output schema, and no annotations. The description names the return concept (enterprise project IDs), but omits the return container shape and the distinction from the cluster-level sibling, leaving a small but real gap for an agent selecting between them.

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% and there is only one parameter (project_id), which the schema documents. The description's '当前项目' adds only a loose framing and does not clarify whether the parameter accepts a project ID, name, or domain-scoped identifier beyond what the schema states.

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 the enterprise project IDs of all clusters under a project. The scope is clear, but the phrase '当前项目' (current project) is not reconciled with the required project_id path parameter, and the sibling cdm__ShowClusterEnterpriseProjects is not mentioned, so an agent cannot tell the two apart from the description alone.

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?

No when-to-use guidance, no prerequisites, and no mention of the near-identical sibling cdm__ShowClusterEnterpriseProjects. The agent must infer from the name alone whether this is the cluster-scoped or project-scoped variant.

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