Skip to main content
Glama

check_external_agent

Check whether an external agent is alive or dead and optionally read its recent terminal output without blocking. Use parallel calls to monitor multiple agents at once.

Instructions

Check an external agent's status: alive/dead and optionally terminal output.

Always non-blocking. Use parallel calls to check multiple agents.

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": {
      "team_name": "<team_name>",
      "agent_name": "<agent_name>"
    },
    "name": "check_external_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
team_nameYes
agent_nameYes
output_linesNo
include_outputNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the key trait that the call is always non-blocking, which prevents an agent from fearing a hang. It omits other important behaviors: what happens if the agent name is unknown (error vs. reported dead), whether status is scoped per team, and whether any auth or access constraints apply.

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?

Two sentences, zero filler, and the most decision-relevant fact (status) is front-loaded ahead of the non-blocking note and the parallel-call tip.

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?

An output schema exists, so return values need not be spelled out, and the non-blocking trait is covered. However, for a four-parameter tool with zero schema description coverage, the missing explanation of output_lines and the undefined behavior for an unknown agent leave real gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters, so the description must compensate and largely does not. The phrase 'optionally terminal output' hints at include_output and output_lines, but it never explains that output_lines controls how many lines of terminal output are returned, nor does it clarify the team_name/agent_name scoping or the defaults.

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 (check an external agent's status) and names the exact payload (alive/dead plus optional terminal output). This is clearly distinguishable from the spawn_ and shutdown_ siblings without opening any schema.

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 actionable 'when' guidance in telling the caller to issue parallel calls to check multiple agents, and implies a lightweight polling use case. It does not explicitly say when not to use it or name the sibling alternatives, but the guidance present is concrete.

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