Skip to main content
Glama

cci__readMetricsV1beta1NamespacedPodMetrics

Retrieves metrics for a specified pod in a given namespace, helping monitor CCI workload performance and diagnose resource issues.

Instructions

[CCI] 获取指定namespace下指定pod的metrics信息

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cci__readMetricsV1beta1NamespacedPodMetrics"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

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 supplied, so the description carries the full behavioral burden. It implies a read, but says nothing about what is returned, how missing/unavailable metrics are handled, or whether the call can fail for pods without a metrics source. For a metrics endpoint with zero annotation coverage this is a meaningful gap.

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 short sentence with the resource and scope front-loaded and no filler. Its brevity is a structural virtue, though the terseness contributes to the missing guidance noted elsewhere.

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 read tool with no annotations and no output schema, the description supplies the essential identifiers (namespace, pod) but omits anything about return content, availability of metrics, or error conditions. It is adequate to attempt a call but not complete.

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?

The schema declares zero properties, yet the description states that a namespace and a pod identifier must be specified, adding genuine identification semantics beyond the empty schema. However, that same statement exposes a schema/description mismatch that leaves the agent unsure how to actually supply those identifiers, so it does not reach the baseline-4 territory of a clean zero-parameter tool.

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 (获取/get) and resource (pod metrics) scoped to a single named pod in a named namespace, which implicitly distinguishes it from the sibling listMetricsV1beta1NamespacedPodMetrics. It stops short of naming that sibling or confirming the single-item scope explicitly, so it is clear but not maximally differentiated.

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 or when-not-to-use guidance, no mention of the list-based alternative, and no prerequisites (e.g., that pod metrics require a functioning metrics backend). The agent must infer usage entirely from the phrase '指定pod'.

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