Skip to main content
Glama

taskmanagers

Read-onlyIdempotent

Retrieve Apache Flink worker details, including slot usage and resource allocation, to monitor capacity and diagnose cluster resource issues.

Instructions

TaskManagers with slot usage and resources.

Input Schema

NameRequiredDescriptionDefault
clusterNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/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 fully covered. The description adds only the vague phrase "with slot usage and resources" and says nothing about which cluster is queried by default, whether results are live or cached, or what happens when the cluster argument is omitted.

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?

A single short sentence with no waste, but it is under-specified rather than concise; the one clause present (slot usage and resources) is the only information the agent gets.

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?

An output schema exists, so return values need not be explained, but for a tool with an optional cluster selector and no other documentation, the description leaves the agent unsure what scope the call operates on and how it relates to the many other cluster/job inspection siblings.

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 `cluster` parameter has 0% schema description coverage, and the description never mentions it — not its format, nor what the null default means (current/target cluster?). With one undocumented parameter, the description needs to 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?

"TaskManagers with slot usage and resources" names the resource and hints at the returned content (slots, resources), but omits a verb (list/describe) and never distinguishes this from siblings like cluster_overview or fleet_overview, which likely also surface capacity data. An agent can guess it retrieves Flink TaskManager info, but the scope is inferred rather than stated.

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 use this tool, when not to, or which sibling covers adjacent questions (e.g., cluster_overview for aggregate capacity, job_details for per-job resources). The agent must infer the use case entirely from the name.

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