Skip to main content
Glama

Start a local CLI subagent

start_agent
Destructive

Launch a local subagent asynchronously and receive an invocation ID to monitor its progress with wait_agent.

Instructions

Start one subagent and return its in-memory invocation ID without waiting for completion.

Use wait_agent with the returned ID to observe the invocation. The launched provider may read, write, or run commands in cwd subject to its native permission controls.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdYesAbsolute existing directory where the subagent runs.
promptYesComplete, self-contained task for the subagent.
providerYesLocal subagent provider to launch.
session_idNoProvider session ID returned by an earlier finished invocation.
timeout_secondsNoMaximum provider runtime in seconds.
provider_optionsNoExplicit provider-native options. Omit to inherit the provider's own settings; supported keys depend on the selected provider.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateYes
invocation_idYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv0.3.0
    • changedInput schema / $defs / ProviderName / enum
      Previous value: -[
      -  "antigravity",
      -  "claude",
      -  "codebuddy",
      -  "grok"
      -]New value: +[
      +  "antigravity",
      +  "claude",
      +  "codebuddy",
      +  "codex",
      +  "grok"
      +]
  2. First observedv0.2.0

TDQS

A4.4/5.0
Behavior5/5

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

The description discloses important behavior beyond annotations: the call returns immediately without waiting, and the launched provider may read, write, or run commands in cwd subject to native permission controls. This adds meaningful safety and async semantics that annotations alone do not convey.

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?

The description is compact and front-loaded: the core behavior is stated first, follow-up observation guidance is second, and the side-effect caveat is third. Every sentence contributes necessary information without redundancy.

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?

The description covers the essential invocation flow and side-effect profile, and the output schema plus 100% parameter descriptions complete the picture. It does not mention the cancel_agent sibling or explicitly state that the returned ID works with it, but that is inferable from sibling context and not a critical gap.

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%, so the schema already documents all parameters, including cwd, prompt, provider, session_id, timeout_seconds, and provider_options. The description does not add further parameter-level meaning, but it does not need to because the schema carries the full load.

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?

The description clearly states the specific action: start one subagent and return an in-memory invocation ID without waiting. It also names wait_agent, directly distinguishing this tool from siblings. The title reinforces the resource and action.

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?

The description gives clear usage context by stating that wait_agent should be used with the returned ID to observe the invocation. It does not explicitly mention cancellation or when not to use this tool, but the asynchronous-start versus observe/cancel relationship is evident.

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/TimWongUp/agentnave'

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