Skip to main content
Glama

Get csi driver capacity

k8s_get_csi_driver_capacity
Read-onlyIdempotent

Retrieve capacity information for a specified Kubernetes CSI driver to monitor storage availability and plan volume provisioning.

Instructions

Get CSI driver capacity information.

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": {
      "driver_name": "<driver_name>"
    },
    "name": "k8s_get_csi_driver_capacity"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNoNamed context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted.
driver_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

C2.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds nothing beyond that: no mention of what happens when driver_name does not resolve, whether capacity data is live or cached, or whether an empty result is possible. No contradiction with annotations, but no added value either.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence with no padding, so nothing is wasted, but it is under-specified rather than concise. The brevity is a byproduct of missing content, not of tight editing.

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

Completeness2/5

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

For a two-parameter read tool with no output schema and no annotation gaps, the description should at minimum explain what capacity is being reported and what form driver_name takes. Neither is present, so an agent cannot confidently construct a call from the description alone, especially since the required parameter is undocumented in both the schema and the description.

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

Parameters2/5

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

Schema coverage is only 50% and the undocumented parameter is the required one, driver_name, which the description leaves entirely unexplained — it does not say whether it expects a CSIDriver resource name, a provisioner string like 'ebs.csi.aws.com', or a namespace-qualified identifier. Only the context parameter is documented, and that documentation lives in the schema, not the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description reads 'Get CSI driver capacity information,' which is essentially the tool name and title restated with the word 'information' appended. It gives no detail about what 'capacity' means (provisioned volume capacity, backend storage pool capacity, node-level limits) nor how it differs from sibling tools like k8s_describe_csi_driver or k8s_get_storage_class_provisioner.

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 at all: nothing says whether this should be called instead of k8s_describe_csi_driver, whether the CSI driver must already be installed, or whether the driver_name refers to a CSIDriver object, a driver pod, or an installed driver identifier. The single sentence contains no exclusions or alternatives.

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