Skip to main content
Glama
ZUENS2020
by ZUENS2020

create-task

Spawns Claude Code AI as a background subprocess to interpret natural language requests and autonomously complete development tasks, returning a task ID for tracking progress.

Instructions

IMPORTANT: This creates a background task for an AI programming assistant, NOT a direct shell command executor.

Spawns Claude Code (an AI coding agent) as a subprocess to complete development tasks in the background. Claude Code will interpret your natural language request and autonomously decide which actions to take.

What it does:

  • Creates a non-blocking background task

  • Returns task ID immediately for tracking

  • Up to 3 tasks run concurrently by default

What it does NOT do:

  • NOT a direct shell/bash command executor

  • Does NOT return raw stdout/stddr from commands

Returns a task ID. Use get-task-status to check progress and get-task-result to retrieve the output.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYesNatural language task description for Claude Code AI. This is NOT a direct shell command executor. Claude Code is an AI programming assistant that will interpret your request and use its own tools (Read, Edit, Bash, etc.) to complete the task. Example: "Create a README file" or "Fix the bug in login.js" or "Run the tests and report results"
workingDirectoryNoThe working directory for execution. Defaults to the current workspace directory if not specified.
timeoutNoTimeout in seconds (max 3600)
additionalArgsNoAdditional CLI arguments
Behavior4/5

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

With no annotations provided, the description carries full burden and delivers substantial behavioral context. It discloses key traits: creates non-blocking background tasks, returns task ID immediately, allows up to 3 concurrent tasks by default, and clarifies what it doesn't do (no direct shell execution, no raw stdout/stderr). However, it doesn't mention error handling, retry behavior, or resource constraints beyond concurrency limits.

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 description is well-structured with clear sections (IMPORTANT warning, What it does, What it does NOT do) and every sentence adds value. It's appropriately sized for a complex tool but could be slightly more concise by integrating some repetitive elements about not being a shell executor. The front-loaded warning is particularly effective.

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 complex tool with no annotations and no output schema, the description provides substantial context about behavior, limitations, and integration with sibling tools. It explains the return value (task ID) and how to use it with other tools. The main gap is lack of information about error responses or what happens when concurrency limits are exceeded, but overall it's quite complete.

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 thoroughly. The description doesn't add meaningful parameter semantics beyond what's in the schema - it mentions 'natural language task description' and 'background task' but these are already covered in the schema's task parameter description. The baseline of 3 is appropriate when the schema does the heavy lifting.

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 explicitly states what the tool does: 'Spawns Claude Code (an AI coding agent) as a subprocess to complete development tasks in the background.' It clearly distinguishes from sibling tools by emphasizing it's NOT a direct shell command executor (unlike execute-task) and specifies it creates background tasks that require get-task-status/result for monitoring (unlike list-tasks or get-task-stats). The verb+resource combination is specific and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool versus alternatives. It states 'NOT a direct shell command executor' (contrasting with execute-task), specifies it's for 'background tasks' with natural language requests, and directs users to use get-task-status and get-task-result for tracking and retrieval. The 'What it does NOT do' section clearly sets boundaries against misuse.

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/ZUENS2020/back-agent-mcp'

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