Skip to main content
Glama

delegate_tasks

Create asynchronous external-agent jobs for code analysis or isolated patching, with support for multiple tasks per call.

Instructions

Create one or more asynchronous external-agent jobs. Use job_status and job_result to inspect completion and artifacts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoanalysis runs read-only in the repo; sandbox_patch runs in an isolated git worktree.
filesNoOptional repo-relative or absolute file paths to focus on. Absolute paths must stay under repo_path.
modelNoProvider-specific model override chosen by the caller.
tasksYes
base_refNoGit ref used for sandbox_patch worktree creation. Defaults to HEAD.
providerYesExternal agent CLI provider.
repo_pathYesAbsolute path to the repository/workspace.
timeout_secNoTimeout in seconds. Defaults to 600; capped at 1800.
extra_contextNo
max_output_charsNoMaximum returned output characters. Defaults to 30000; capped at 100000.
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It mentions 'asynchronous' and suggests non-blocking behavior, but it does not disclose side effects, authentication needs, rate limits, or the difference between modes (analysis vs sandbox_patch), which are partially covered in the schema.

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 two sentences, directly states the purpose, and front-loads the verb and resource. Every sentence earns its place with no waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description mentions job_status and job_result for inspecting results, but it lacks details on return values, mode behavior, or provider selection. For a tool with 10 parameters, it is somewhat incomplete.

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 coverage is 80%, so the schema already documents most parameters. The description adds no parameter-specific meaning beyond the schema, resulting in a baseline score of 3.

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 verb 'Create' and the resource 'asynchronous external-agent jobs', and it distinguishes from sibling tools like job_status and job_result by mentioning them for inspection.

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

Usage Guidelines3/5

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

The description implies usage for creating jobs and points to job_status/job_result for follow-up, but it does not explicitly contrast with alternatives like analyze_code or agent_status, nor does it provide when-not-to-use guidance.

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/parkavenue9639/external-agent-mcp'

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