Skip to main content
Glama

Check an operation

get_operation
Read-onlyIdempotent

Returns the current state of provisioning, campaign creation, launch, company research, or prospect picture work by operation_id; completed research and pictures carry their result, and pictures list each component's progress in items.

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

Input Schema

NameRequiredDescriptionDefault
cursorNo
operation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / cursor / description
      Removed value: -"For operations whose results come in pages: the next_cursor from the previous page."
  2. Changed1 schema field changed
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "For operations whose results come in pages: the next_cursor from the previous page.",
      +  "pattern": "^\\d{1,7}$",
      +  "type": "string"
      +}
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds real value about return shape — completed research and pictures carry their result, and pictures expose per-component progress in items — but says nothing about pending/failed states or how cursor-based paging behaves, which matters since no output schema exists.

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?

A single front-loaded sentence with the verb and lookup key first, followed by the return-value detail. It is dense with information and has no filler, though the long clause chain makes it slightly harder to parse at a glance.

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 carries the burden of explaining return values; it does this partially (results on completed research/pictures, items progress) but omits status values, failure handling, and cursor semantics. Adequate to invoke correctly, not complete for interpreting results.

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%, so the description must compensate. It explains that operation_id identifies the operation being polled, which adds meaning beyond the bare UUID format in the schema, but the second parameter (cursor, numeric pattern) is never mentioned and its paging role is left entirely unexplained.

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 names a specific verb and resource ('Returns the current state ... by operation_id') and enumerates the operation families it covers (provisioning, campaign creation, launch, company research, prospect picture), which separates it from siblings like get_request, get_reply, or get_usage. It stops short of explicitly naming an alternative, but the scope is unambiguous.

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?

The phrase 'current state' implies this is a polling/status-check tool, but there is no explicit statement of when to call it versus alternatives, how often to poll, or what to do once an operation completes. Usage is inferable rather than stated.

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