Skip to main content
Glama

get_operation

Read-only

Check the status of a background page or section copy and retrieve the new item's location once finished.

Instructions

Check the status of a background copy (copy_page / copy_section). Returns status and, when finished, the new item's location.

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
operationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds genuinely new behavior: the copy is asynchronous/background, and the response carries a status plus the new item's location once finished, which tells the agent this is a poll-until-done tool. It stops short of enumerating status values or saying whether operations expire or error out.

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 compact sentences with no waste, and the core purpose is front-loaded ahead of the return-value 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?

With no output schema, the description must characterize the return value, and it does so only minimally ('status' and 'the new item's location'). For a polling tool, an agent would benefit from knowing the possible status states, whether terminal states are distinguishable, and error behavior — none of which is present.

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?

Schema description coverage is 0% for the single required 'operationId', so the description must compensate. It does so partially by tying the id to a background copy started via copy_page/copy_section, but it never says how the id is obtained or what format it takes, leaving meaning to inference.

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: check the status of a background copy, and names the exact originating tools (copy_page / copy_section). An agent can distinguish this polling tool from the copy tools themselves, though the phrasing is slightly ambiguous about whether it is only for those two operations.

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 parenthetical '(copy_page / copy_section)' clearly signals the situation that selects this tool: after kicking off one of those copies. It does not state exclusions or mention that no other alternative exists for status checks, but the context is unambiguous enough to act on.

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