Skip to main content
Glama

cdm__ShowClusterEnterpriseProjects

Retrieves the enterprise project ID associated with a specified CDM cluster using the cluster and project IDs.

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

Input Schema

NameRequiredDescriptionDefault
cluster_idYes集群ID
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 burden. The verb 查询 implies a read, but it doesn't state read-only semantics, permission requirements, or what happens when the cluster or project does not exist. For a tool with zero annotation coverage this leaves the behavioral profile largely undisclosed.

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?

It is a single short sentence with no filler and the scope (specified cluster) is front-loaded. It is efficient, though the brevity trades away useful context rather than being genuinely complete.

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?

For a simple two-parameter read with full schema coverage and no output schema, the definition is minimally viable. It still does not say whether the return is a single ID, how the passed project_id relates to the returned one, or what errors look like.

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% (both cluster_id and project_id are documented as path IDs), so the schema already does the heavy lifting and the baseline of 3 applies. The description adds no format, relationship, or selection detail beyond naming the cluster scope.

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 (查询/query) and resource (指定集群的企业项目ID / the enterprise project ID of a given cluster), so an agent knows it resolves a project ID scoped to a cluster. It does not explain how this differs from the similar-looking sibling cdm__ShowEnterpriseProjects, which likely enumerates projects rather than resolving one for a cluster, so the differentiation is only implicit.

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?

There is no when-to-use guidance, no prerequisite (e.g. that a cluster must exist or that a project ID must be known), and no mention of an alternative such as cdm__ShowEnterpriseProjects. The agent must infer the call context entirely from the name and required parameters.

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