Skip to main content
Glama

check_operation

Read-only

Check whether an earlier call ran on this computer, by the operation id given in an unknown-outcome error. Use it before retrying a call whose outcome is unknown. With no operationId it lists the tasks queued with queue_task and how each stands.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_operation"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceIdNoComputer name or id
operationIdNo
workSessionIdNoFrom create_work_session

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / required
      Removed value: -[
      -  "operationId"
      -]
  2. Changed1 schema field changed
    • changedInput schema / properties / deviceId / description
      Previous value: -"Computer name or id; optional with one computer or a default"New value: +"Computer name or id"
  3. Changed2 schema fields changed
    • changedInput schema / properties / deviceId / description
      Previous value: -"Computer name or id from list_devices. Optional with one computer online or a default set."New value: +"Computer name or id; optional with one computer or a default"
    • changedInput schema / properties / workSessionId / description
      Previous value: -"Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work."New value: +"From create_work_session"
  4. Changed1 schema field changed
    • addedInput schema / properties / workSessionId
      Added value: +{
      +  "description": "Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work.",
      +  "format": "uuid",
      +  "type": "string"
      +}
  5. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the description's added value is the unknown-outcome retry context and the fact that omitting operationId switches to an entirely different listing behavior. That dual-mode disclosure is genuinely useful and not derivable from the annotations. It does not describe the shape of the result, though no output schema exists to cover that.

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?

Three short sentences, front-loaded with the primary purpose, then the usage directive, then the alternate no-argument mode. Nothing is repeated from the schema and no sentence is filler.

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 three-parameter, read-only, no-output-schema tool, the description covers the main use case, the retry decision, and the parameterless fallback. The only shortfall is that the role of deviceId in 'this computer' is only hinted at, leaving the agent to infer how to target a specific machine.

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?

Schema coverage is 67%, and the description compensates by explaining where operationId comes from (an unknown-outcome error) and that omitting it changes the tool's mode entirely — semantics the pattern constraint alone cannot convey. deviceId and workSessionId are left to the schema, which describes them adequately, so this is a modest rather than complete gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (check whether an earlier call ran on this computer) and pins the input's origin to the operation id from an unknown-outcome error. It also declares a distinct second mode — with no operationId it lists tasks queued with queue_task — so an agent can tell both behaviors apart from siblings like queue_task itself.

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?

Gives an explicit trigger: 'Use it before retrying a call whose outcome is unknown,' which is exactly the decision point an agent faces. It also implicitly routes the parameterless case to the queued-task listing. It stops short of stating when not to use it or naming an alternative for the listing mode.

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