Skip to main content
Glama

list_flink_deployments

Read-onlyIdempotent

Lists Flink Kubernetes Operator deployments with lifecycle, JobManager, and job state so you can monitor cluster health and diagnose issues.

Instructions

FlinkDeployments (Flink Kubernetes Operator) with lifecycle, JobManager and job state. Needs Kubernetes access (kubernetes section in the clusters file, or FLINK_KUBERNETES=true).

Input Schema

NameRequiredDescriptionDefault
namespaceNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds a genuinely valuable prerequisite: it requires Kubernetes access configured in the clusters file or FLINK_KUBERNETES=true. It does not say what happens when that prerequisite is unmet (empty result vs. error), which would be the next useful disclosure.

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?

Two short sentences with no filler; the prerequisite is stated up front as the second sentence. Slight deduction because the opening is a noun phrase describing returned content rather than a front-loaded statement of the operation.

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?

An output schema exists, so return-value details are rightly omitted. However, for a tool gated on external Kubernetes configuration, the description omits namespace-scoping semantics and the failure/empty-result behavior when the prerequisite is missing, leaving real gaps for an agent that must decide whether it can call this.

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?

The single parameter (namespace) has 0% schema description coverage, and the description never mentions it — not whether null means all namespaces, nor the expected format. With one undocumented, optional parameter, the description should compensate and does not.

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

Purpose3/5

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

The description names the resource (FlinkDeployments under the Flink Kubernetes Operator) and the data surfaced (lifecycle, JobManager and job state), but never uses a verb like 'list' — the action is only inferable from the tool name. It also does not distinguish this from sibling list_jobs, list_clusters, or diagnose_deployment, which an agent must differentiate.

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 statement of when to call this versus sibling inventory tools such as list_clusters or list_jobs. The only guidance is a prerequisite (Kubernetes access via the clusters-file kubernetes section or FLINK_KUBERNETES=true), which is useful but is not usage routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.