Skip to main content
Glama

Get agent execution status

get_agent_execution_status
Read-onlyIdempotent

Read the recorded state of an execution by ID to see whether the run is active or has reached a terminal state.

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": {
      "executionId": "<executionId>"
    },
    "name": "get_agent_execution_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
executionIdYesExecution record ID returned when the execution was registered; associates this call with that execution. Not a session or project ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / executionId / description
      Previous value: -"Execution record.id from begin_agent_execution when associating this call with an existing execution; not a session or project ID."New value: +"Execution record ID returned when the execution was registered; associates this call with that execution. Not a session or project ID."
  2. Changed1 schema field changed
    • addedInput schema / properties / executionId / description
      Added value: +"Execution record.id from begin_agent_execution when associating this call with an existing execution; not a session or project ID."
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered without the description. The description adds that the returned state is either "active" or "terminal," which is genuine value, but says nothing about polling cost, staleness of the recorded state, or behavior for unknown/expired IDs.

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?

A single well-formed sentence with the operation front-loaded and the outcome of interest placed last. Nothing is redundant and nothing could be trimmed without losing information.

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 one-parameter, fully annotated read with no output schema, the description is nearly sufficient: it names the input, the resource, and the key return distinction. It falls short only on the shape of the returned record beyond the active/terminal flag and on error behavior for a missing execution.

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 100% and the schema's executionId description already explains the ID source and explicitly rules out session or project IDs. The description only echoes "by ID," adding no format, provenance, or error semantics beyond the schema, so the baseline 3 applies.

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 ("Read the recorded state of an execution") plus the discriminating detail that it reports active vs. terminal state. It is clearly distinguishable from sibling mutations like begin_agent_execution and finalize_agent_execution, though the description never names an alternative directly.

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?

Usage is only implied: an agent can infer this is a post-registration lookup, but there is no explicit when-to-use (e.g., after begin_agent_execution), no guidance on polling or how often to call, and no statement of when not to use it. Adequate but leaves the caller to infer the workflow position.

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