Skip to main content
Glama

PrivateByte

Check a running operation

get_operation
Read-only

Follow work started by another tool (power, backup, reinstall). status pending or running means keep waiting; succeeded and failed are final.

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": {
      "server_id": "<server_id>",
      "operation_id": "<operation_id>"
    },
    "name": "get_operation"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYes
operation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavior the annotations cannot: the status lifecycle and which states are terminal, which directly determines whether the agent should poll again. It omits any guidance on polling cadence, rate limits, or non-terminal error states such as cancelled.

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

Conciseness5/5

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

Two tight sentences, front-loaded with the purpose and then the decision rule for the returned status. Every clause carries information an agent needs; there is no filler.

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 and read-only, and the description covers the core polling loop well. However, with no output schema and zero schema coverage on both required parameters, the definition leaves the agent guessing about the return shape and what identifies a valid operation, which is a meaningful gap for a two-required-parameter tool.

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?

Schema description coverage is 0%, so the burden falls entirely on the description, and it says nothing about either parameter. It implies an operation identifier exists from a prior call but never explains server_id, the operation_id format, or why both are required together.

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 description states a specific action and object: poll/follow an operation that was started by another tool, with examples of the originating tools (power, backup, reinstall). It is clearly distinguishable from list-style siblings, though it never names find_operation or call_operation, which sound closely related.

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?

"Follow work started by another tool" gives clear when-to-use context, and the pending/running vs succeeded/failed rule tells the agent exactly when to keep calling versus stop. It does not explain how this differs from find_operation or call_operation, so the agent must infer that boundary.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources