Skip to main content
Glama

get_agent_status

Read-onlyIdempotent

Check the live status of a single running agent by its pane ID. Returns structured JSON status or an error flag when the pane ID is invalid or the CLI, SSH, or timeout fails.

Instructions

Get status for one live agent by pane_id (required; not a bare kind like "claude").

Same --format json compatibility policy as list_agents. Failures return isError: true (invalid pane_id, CLI/SSH/timeout errors).

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": {
      "pane_id": "<pane_id>"
    },
    "name": "get_agent_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
pane_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds real value beyond that by disclosing the failure contract (isError: true) and enumerating the failure classes: invalid pane_id, CLI, SSH, and timeout errors. It also implies only "live" agents are resolvable, though it doesn't say what happens for a dead pane.

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?

The core purpose and the parameter constraint are front-loaded in the first sentence, and the remaining sentences cover failure behavior and format compatibility without padding. The reference to a "--format json compatibility policy as list_agents" is vague to a reader who hasn't seen list_agents, which is minor noise.

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?

There is no output schema, so the description should say what a "status" contains, but it only describes the error path. For a single-parameter read tool this is adequate to invoke, yet an agent cannot anticipate the shape of a successful response.

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 coverage is 0% and the schema only says pane_id is a string titled "Pane Id", so the description carries the burden. It usefully rules out a common mis-input (a bare kind such as "claude"), but never shows what a valid pane_id looks like, so the agent still lacks a positive format anchor.

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 uses a specific verb+resource ("get status for one live agent") and scopes it to a single agent via pane_id, which implicitly contrasts with the sibling list_agents. It stops short of naming list_agents as the enumeration alternative, so the differentiation is implied rather than stated.

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: the phrase "one live agent" plus the note that pane_id must not be a bare kind tells the agent this is the single-agent counterpart to a list operation. There is no explicit when-to-use / when-not-to-use guidance and read_pane is never mentioned as an alternative for reading pane content.

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