Skip to main content
Glama

Check an operation

get_operation
Read-onlyIdempotent

The state of a move or rename that runs in the background, by the operation id move_files or rename_file gave.

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

Input Schema

NameRequiredDescriptionDefault
operationIdYesThe operation id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so safety and idempotency are covered. The description adds useful context that the operation runs in the background and originates from move_files or rename_file, but it does not explain polling behavior, status values, retention, or error handling.

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?

The definition is a single front-loaded sentence with no wasted explanation, and it puts the core purpose before the provenance detail. The grammar is slightly awkward, particularly the trailing 'move_files or rename_file gave,' but the meaning remains clear.

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 simple, annotated, one-parameter read-only polling tool, the description gives enough context to select and invoke it correctly. It does not detail the returned status shape, but the tool's complexity is low and the annotations already carry the safety profile.

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 input schema already fully documents the single operationId parameter and its pattern. The description adds meaningful provenance by stating that the id comes from move_files or rename_file, which helps an agent know where to obtain the required value.

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 clearly identifies the resource as the state of a background move or rename operation, keyed by operation id. It also distinguishes itself from siblings move_files and rename_file by naming them as the source of the id, though the phrasing is slightly awkward.

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?

It gives clear usage context: use this tool with an operation id returned by move_files or rename_file to check a background operation. It does not explicitly state when not to use it or name alternatives, but the relationship to the two originating tools makes the intended use unambiguous.

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