Skip to main content
Glama

Task Agents

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AGENTS_DIRYesPath to your agents folder. Must be an absolute path (e.g., /Users/john/my-agents on Mac/Linux or C:\Users\john\my-agents on Windows)
AGENT_TYPEYesWhich AI tool you're using. Set to 'cursor' for Cursor or 'claude' for Claude Code
EXECUTION_TIMEOUT_MSNoHow long agents can run in milliseconds (default: 5 minutes/300000ms, maximum: 10 minutes/600000ms)300000

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Agent ListList of available Claude Code sub-agents

Tools

Functions exposed to the LLM to take actions

NameDescription
run_agent

Delegate complex, multi-step, or specialized tasks to an autonomous agent for independent execution with dedicated context (e.g., refactoring across multiple files, fixing all test failures, systematic codebase analysis, batch operations)

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/shinpr/sub-agents-mcp'

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