Skip to main content
Glama

query_async_job_result

Retrieve the status and result of an asynchronous CloudStack job by job ID, enabling MCP assistants to track long-running operations and act on completion.

Instructions

Query the status and result of an asynchronous job

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": {
      "jobid": "<jobid>"
    },
    "name": "query_async_job_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobidYesAsync job ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing. It does not say whether 'result' is only present after completion, whether results are purged after retrieval, or how an invalid or expired jobid is reported.

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?

One short, front-loaded sentence with no filler or redundancy. Its brevity is appropriate, though the space saved could have been spent on the missing behavioral detail.

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?

The tool is simple with one documented parameter and no output schema, so the description's brevity is defensible. However, with no annotations and no output schema, an agent still lacks any hint about the shape of the response or completion-state semantics.

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?

With a single parameter at 100% schema description coverage, the schema already documents jobid fully. The description adds no extra meaning such as where the id comes from or whether it accepts other identifiers, so the baseline of 3 applies.

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 (query) and resource (status and result of an asynchronous job), which separates it from the sibling list_async_jobs at a glance. It stops short of naming that sibling or clarifying whether a full result payload is returned.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the follow-up call after an async job has been started and that it takes the job's id. There is no explicit guidance on polling cadence, when to prefer list_async_jobs, or what to do if the job is still running.

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

Deploy Server

Other Tools