Skip to main content
Glama

get_request_status

Read-only

Retrieve the status, progress, and timing of an Ambari request by ID to monitor operations and troubleshoot failures in automation workflows.

Instructions

Retrieves the status and progress of a specific Ambari request operation.

[Tool Role]: Dedicated tool for real-time tracking and reporting of Ambari request status.

[Core Functions]:

  • Query the status, progress, and context of a request by its ID

  • Provide detailed status (PENDING, IN_PROGRESS, COMPLETED, FAILED, etc.)

  • Show progress percentage and timing information

  • Return actionable status for automation and LLM integration

[Required Usage Scenarios]:

  • When users ask for the status or progress of a specific operation/request

  • When monitoring or troubleshooting Ambari operations

  • When tracking bulk or individual service actions

  • When users mention request ID, operation status, or progress

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": {
      "request_id": "<request_id>"
    },
    "name": "get_request_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYesID of the Ambari request to check (int)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.8.2
    • addedInput schema / properties / request_id / description
      Added value: +"ID of the Ambari request to check (int)"
  2. Changed4 schema fields changedv3.7.5
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / request_id / title
      Removed value: -"Request Id"
    • removedOutput schema / properties / result / title
      Removed value: -"Result"
    • removedOutput schema / title
      Removed value: -"_WrappedResult"
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description goes further by enumerating the status vocabulary (PENDING, IN_PROGRESS, COMPLETED, FAILED) and promising progress percentage and timing information, which tells the agent what it can report back. It does not say what happens for an unknown or expired request ID, which is the one behavioral gap for a lookup tool.

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?

The first sentence is a clean, front-loaded statement of purpose, but the bracketed [Tool Role] and [Core Functions] sections largely restate it — 'real-time tracking and reporting of Ambari request status' repeats 'retrieves the status and progress.' For a one-parameter read tool the block is over-formatted and roughly twice the necessary length.

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?

The tool is simple, the output schema exists so return values need no explanation, and annotations cover the safety profile; the description supplies status values and usage triggers. Missing only edge-case guidance such as invalid or completed-and-purged request IDs.

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?

Only one parameter exists and schema coverage is 100%, so the schema already carries the meaning; the description's 'by its ID' is essentially a restatement. Notably the description does not clarify the type mismatch visible in the schema (declared as string but annotated '(int)'), which would have been genuinely additive.

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?

States a specific verb and resource: 'Retrieves the status and progress of a specific Ambari request operation,' keyed by request_id. It clearly distinguishes the tool from status tools for other resources (get_service_status), but does not differentiate it from the closest sibling, get_request_tasks, which an agent could plausibly confuse with a per-request status check.

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]' block gives four concrete triggering conditions (user asks for status/progress, monitoring, troubleshooting, request ID mentioned), which is solid when-to-use guidance. It stops short of a 5 because it names no exclusions or alternatives — nothing tells the agent to prefer get_active_requests for a broad listing or get_request_tasks for sub-task detail.

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