Skip to main content
Glama

task_adopt

Adopt a running task by validating its lock file, process liveness, and exit protocol to safely take over execution.

Instructions

Three-evidence adoption check: lock pid:startSec parsing + process liveness + exit protocol read.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobDirYes
Behavior2/5

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

No annotations exist, so the description must disclose behavior. It lists three internal checks, which is useful, but it omits side effects, outcome, or return value—essentially whether the tool actually adopts the task or merely tests adoptability.

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 entire description is one concise, front-loaded sentence with a clear list structure. The telegraphic style and jargon reduce readability slightly, but no words are wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a specialized tool with a non-obvious adoption workflow and no output schema or annotations. The description omits parameter semantics, return format, side effects, and usage context, making it insufficient for confident invocation.

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?

The single parameter jobDir is neither described nor contextualized in the description. The mention of lock/pid/startSec hints that jobDir contains a lock file, but the link is implicit and the description adds no concrete meaning for the parameter.

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 specifies an adoption check with three concrete evidence components (lock pid:startSec, process liveness, exit protocol read), giving a clear function distinct from sibling run/wait/output/autopsy/kill tools. However, it never explains what 'adoption' means or what the tool actually does beyond checking.

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?

The phrase 'adoption check' implies the tool is for adopting a task, but there is no explicit statement of when to use it over alternative tools like task_run, task_wait, or task_autopsy. No exclusions or alternatives are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Wang-Lin-Chang/agent-runner-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server