Skip to main content
Glama
Cloudera Manager MCP Server

Cloudera Manager MCP Server

by pedroyurism

List Active Commands

list_active_commands

List active global or cluster-level Cloudera Manager commands to inspect what operations are currently running, excluding commands launched directly on services or roles.

Instructions

Comandos em execução num único nível: globais do CM (padrão) ou de um cluster. Comandos disparados direto num serviço ou role não aparecem aqui; para a visão completa, com tempo de execução e detecção de comandos travados, use list_running_commands.

Input Schema

NameRequiredDescriptionDefault
clusterNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.1/5.0
Behavior3/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 does disclose a genuinely useful coverage boundary — service- and role-level commands are absent from the results — which prevents an agent from mistaking this for a complete inventory. It says nothing about permissions, freshness/latency of the 'active' snapshot, or result volatility, so it is only partially transparent for an unannotated read tool.

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, front-loaded with the scope statement and rounded out with the exclusion plus the redirect to the sibling. Every clause carries information; the only minor cost is the abrupt mix of default-scope and exclusion in adjacent clauses.

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

Completeness4/5

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

For a one-optional-parameter read tool with an output schema already documenting return values, the description supplies the two things structure cannot: the granularity boundary and the default scope. Only the identifier format for `cluster` and the freshness of the snapshot remain undocumented.

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 single `cluster` parameter has 0% schema description coverage, so the description bears the load. It does convey the semantics of omission (CM-global is the default) and that supplying a cluster narrows to that cluster, which is real added meaning. It does not address accepted identifier forms (cluster name vs. display name) or error behavior for an unknown cluster.

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

Purpose5/5

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

States a specific verb and resource (list running commands) and pins the scope: single-level only, CM-global by default or scoped to one cluster. It also names what is explicitly excluded (commands fired directly on a service or role) and points at the sibling that covers that case, so an agent can separate it from list_running_commands without reading either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use (quick single-level picture, CM-global default) and when-not-to-use (anything needing the full view, execution time, or stuck-command detection), naming list_running_commands as the alternative and the exact features that select it. Nothing is left to inference.

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