Skip to main content
Glama

get_active_requests

Read-only

Retrieve currently running or pending Ambari cluster requests and operations to monitor real-time progress and current cluster activity.

Instructions

Retrieves currently active (in progress) requests/operations in an Ambari cluster. Shows running operations, in-progress tasks, pending requests.

[Tool Role]: Dedicated tool for monitoring currently running Ambari operations

[Core Functions]:

  • Retrieve active/running Ambari operations (IN_PROGRESS, PENDING status)

  • Show real-time progress of ongoing operations

  • Monitor current cluster activity

[Required Usage Scenarios]:

  • When users ask for "active requests", "running operations", "current requests"

  • When users ask for "request list", "operation list", "task list"

  • When users want to see "current tasks", "running tasks", "in progress operations"

  • When users mention "running", "in progress", "current activity"

  • When users ask about Ambari requests, operations, or tasks

  • When checking if any operations are currently running

Returns: Active requests information (success: active request list, failure: error message)

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": "get_active_requests"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv3.7.5
    • addedInput schema / additionalProperties
      Added value: +false
    • removedOutput schema / properties / result / title
      Removed value: -"Result"
    • removedOutput schema / title
      Removed value: -"_WrappedResult"
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety and scope are known without the description. The description adds one genuinely useful behavioral fact: only IN_PROGRESS and PENDING requests are returned, so completed/failed history is excluded. Beyond that it restates that progress is shown in real time without saying anything about ordering, truncation, or limits.

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

Conciseness2/5

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

The first sentence is a strong, front-loaded statement of purpose, but everything after it is padded: labeled sections ([Tool Role], [Core Functions], [Required Usage Scenarios]) and six near-identical bullets that repeat the same "running / in progress / current" phrasing. A third of the length would convey the same information.

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?

With no parameters, full annotation coverage, and an output schema covering return values, the description need only establish scope and timing, which it does. The significant remaining gap is relational: the environment has get_request_status and get_request_tasks, and the description never explains what counts as a "request" here versus a status lookup or a task listing.

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

Parameters4/5

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

The tool takes zero parameters, so the schema imposes no semantic burden and the baseline of 4 applies. The description correctly implies there is no filtering or scoping input — the caller simply gets all active requests in the cluster.

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 opening sentence gives a specific verb and resource ("Retrieves currently active (in progress) requests/operations") and narrows scope to active-only, which is meaningful. It never differentiates itself from overlapping siblings such as get_request_status or get_request_tasks, so an agent must infer how "active requests" relates to a single request's status or its tasks.

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

Usage Guidelines4/5

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

The "Required Usage Scenarios" section spells out concrete user phrasings ("running operations", "current tasks", "checking if any operations are currently running") that clearly select this tool. However, there are no exclusions and no named alternatives, so guidance is one-sided — the agent is told when to use it but not when to prefer get_request_status or get_request_tasks instead.

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