Skip to main content
Glama

Get an operation

rent_get_operation
Read-onlyIdempotent

A long-running operation by id (op_… or operations/op_…), as tools answer them for work that outlasts a call (sandbox placement, x402 settlement). Poll about every 2 s until done; then exactly one of response (the finished resource) or error (a Problem). The id stays readable after it is done.

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": "rent_get_operation"
  }
}

Input Schema

NameRequiredDescriptionDefault
operation_idYes

Output Schema

NameRequiredDescriptionDefault
doneYes
nameYes
errorNo
metadataYes
responseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / error / properties / code / enum
      Previous value: -[
      -  "insufficient_balance",
      -  "account_frozen",
      -  "key_limit_reached",
      -  "payment_required",
      -  "payment_failed",
      -  "unsupported_parameter",
      -  "invalid_request",
      -  "unauthenticated",
      -  "forbidden",
      -  "not_found",
      -  "method_not_allowed",
      -  "conflict",
      -  "idempotency_in_flight",
      -  "gone",
      -  "idempotency_key_reused",
      -  "rate_limited",
      -  "internal_error",
      -  "not_implemented",
      -  "vendor_error",
      -  "no_capacity",
      -  "vendor_timeout",
      -  "claim_invalid",
      -  "claim_proof_invalid",
      -  "checks_failed",
      -  "node_exists",
      -  "supply_link_unavailable",
      -  "linking_limit",
      -  "node_revoked",
      -  "node_suspended",
      -  "node_replay",
      -  "probe_in_progress",
      -  "payout_proof_required",
      -  "agent_upgrade_required"
      -]New value: +[
      +  "insufficient_balance",
      +  "account_frozen",
      +  "key_limit_reached",
      +  "payment_required",
      +  "payment_failed",
      +  "unsupported_parameter",
      +  "invalid_request",
      +  "unauthenticated",
      +  "forbidden",
      +  "not_found",
      +  "method_not_allowed",
      +  "conflict",
      +  "idempotency_in_flight",
      +  "gone",
      +  "idempotency_key_reused",
      +  "rate_limited",
      +  "signup_limit",
      +  "internal_error",
      +  "not_implemented",
      +  "vendor_error",
      +  "no_capacity",
      +  "vendor_timeout",
      +  "claim_invalid",
      +  "claim_proof_invalid",
      +  "checks_failed",
      +  "node_exists",
      +  "supply_link_unavailable",
      +  "linking_limit",
      +  "node_revoked",
      +  "node_suspended",
      +  "node_replay",
      +  "probe_in_progress",
      +  "payout_proof_required",
      +  "agent_upgrade_required"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / properties / error / properties / code / enum
      Previous value: -[
      -  "insufficient_balance",
      -  "account_frozen",
      -  "key_limit_reached",
      -  "payment_required",
      -  "payment_failed",
      -  "unsupported_parameter",
      -  "invalid_request",
      -  "unauthenticated",
      -  "forbidden",
      -  "not_found",
      -  "method_not_allowed",
      -  "conflict",
      -  "idempotency_in_flight",
      -  "gone",
      -  "idempotency_key_reused",
      -  "rate_limited",
      -  "internal_error",
      -  "not_implemented",
      -  "vendor_error",
      -  "no_capacity",
      -  "vendor_timeout",
      -  "claim_invalid",
      -  "claim_proof_invalid",
      -  "checks_failed",
      -  "node_exists",
      -  "supply_link_unavailable",
      -  "node_revoked",
      -  "node_suspended",
      -  "node_replay",
      -  "probe_in_progress",
      -  "payout_proof_required",
      -  "agent_upgrade_required"
      -]New value: +[
      +  "insufficient_balance",
      +  "account_frozen",
      +  "key_limit_reached",
      +  "payment_required",
      +  "payment_failed",
      +  "unsupported_parameter",
      +  "invalid_request",
      +  "unauthenticated",
      +  "forbidden",
      +  "not_found",
      +  "method_not_allowed",
      +  "conflict",
      +  "idempotency_in_flight",
      +  "gone",
      +  "idempotency_key_reused",
      +  "rate_limited",
      +  "internal_error",
      +  "not_implemented",
      +  "vendor_error",
      +  "no_capacity",
      +  "vendor_timeout",
      +  "claim_invalid",
      +  "claim_proof_invalid",
      +  "checks_failed",
      +  "node_exists",
      +  "supply_link_unavailable",
      +  "linking_limit",
      +  "node_revoked",
      +  "node_suspended",
      +  "node_replay",
      +  "probe_in_progress",
      +  "payout_proof_required",
      +  "agent_upgrade_required"
      +]
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's job is to add async-specific behavior — and it does: it discloses the polling cadence, that exactly one of `response` or `error` is returned at completion, and that the id remains readable after completion. That last point is non-obvious retention semantics an agent could not get from annotations alone.

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 dense sentences with no filler: identity and scope first, then polling behavior, then terminal-state invariant. The only structural weakness is the opening noun fragment, which delays the action verb slightly.

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?

An output schema exists, so return shapes need not be re-explained, and the description wisely limits itself to the invariant an agent must branch on (response XOR error). For a one-parameter async-polling tool this is close to complete; only failure-mode handling for a bad or expired id is missing.

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 0% for the single `operation_id` parameter, so the description must compensate — and it does by specifying both accepted id forms (`op_…` and `operations/op_…`), which directly prevents malformed calls. It stops short of stating whether an unknown or expired id yields an error versus a 404-style response.

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 identifies the resource precisely — a long-running operation keyed by `op_…` or `operations/op_…` — and grounds it in the concrete cases that produce operations (sandbox placement, x402 settlement). It is written as a noun fragment rather than an explicit verb, but an agent can still tell this is the retrieval tool for async work and not a list/exec sibling.

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?

It gives operational usage guidance ('poll about every 2 s until done') and explains the termination condition, which is genuinely useful. However, it never states when to prefer this over siblings such as process-output or sandbox-status tools, so the routing decision is left to inference from the tool name.

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