Skip to main content
Glama

get_agent_operation

Read-onlyIdempotent

Read a committed proposal receipt by operation ID to verify what a write committed after success or timeout, and avoid repeating timed-out writes with a new ID.

Instructions

Read a committed proposal receipt by the operation ID returned on success or in a timeout error. A receipt proves what committed. A 404 does not prove a timed-out request stopped; never repeat a write with a new ID.

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

Input Schema

NameRequiredDescriptionDefault
project_idYesThe project to work on (list_projects names them).
operation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.23

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely non-obvious semantics beyond that: a receipt proves what committed, while a 404 does not prove a timed-out request stopped — information that directly changes whether an agent retries. Auth requirements and rate limits are not mentioned.

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?

Three tight sentences, front-loaded with purpose and ending with the safety warning, with no filler. Slightly dense for a first read, but every clause carries operational weight.

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 two-parameter read with no output schema, the definition covers what the call is for, when to make it, and the critical retry caveat. It stops short of describing the receipt's shape, which matters somewhat given there is no output schema.

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 50%: project_id is documented, but operation_id carries only a pattern with no explanation. The description compensates by defining operation_id as the ID returned on success or in a timeout error, which is meaning the schema does not provide.

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 — reading a committed proposal receipt — and names the exact lookup key (the operation ID) plus where that key comes from. The 'receipt' framing cleanly separates it from siblings such as get_estimate_proposals, which deal with proposals rather than committed-operation records.

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 concrete trigger conditions: call this after a success response or after a timeout error carrying an operation ID. It also supplies a strong anti-pattern ('never repeat a write with a new ID'), though it does not name any alternative tool for related needs.

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

Deploy Server

Other Tools