Skip to main content
Glama

create-task

Create background tasks for AI programming assistance by describing development work in natural language, enabling automated code generation and task completion without blocking your workflow.

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

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