Skip to main content
Glama

execute-task

Execute development tasks using Claude Code AI to interpret natural language requests, autonomously perform actions like reading files, editing code, and running commands to complete programming objectives.

Instructions

IMPORTANT: This is an AI programming assistant tool, NOT a direct shell command executor.

This tool spawns Claude Code (an AI coding agent) as a subprocess to complete development tasks. Claude Code will interpret your natural language request and autonomously decide which actions to take (reading files, editing code, running commands, etc.) to accomplish the goal.

What it does:

  • Accepts natural language task descriptions

  • Claude Code AI figures out how to complete the task

  • Returns the AI's response and actions taken

What it does NOT do:

  • NOT a direct shell/bash command executor

  • Does NOT return raw stdout/stderr from commands

  • For direct command execution, use the Bash tool instead

Example usage:

  • "Create a REST API endpoint for user authentication"

  • "Debug why the tests are failing"

  • "Refactor the user module to use TypeScript"

The returned output is Claude Code's conversational response, not raw command 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 Claude Code execution. Defaults to the current workspace directory if not specified.
timeoutNoTimeout in seconds (max 3600)
additionalArgsNoAdditional CLI arguments for Claude Code

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