Skip to main content
Glama

delegate_local_agent

Run local coding or text tasks via fast, read-only workspace, or file-editing workspace modes, with explicit working-directory, prompt-file, and timeout controls.

Instructions

Run a local task: fast is text-only, workspace has read-only file tools, workspace-write can edit files and run shell commands in an explicit cwd. prompt_file appends UTF-8 text; workspace prompts must fit 24000 characters.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "prompt": "<prompt>"
    },
    "name": "delegate_local_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNo
modeNofast
modelNo
thinkNo
promptYes
systemNo
max_tokensNo
prompt_fileNo
temperatureNo
timeout_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It does reveal the permission model per mode (read-only vs file edits plus shell execution) and a 24000-character workspace prompt limit, but for a tool that can run arbitrary shell commands it says nothing about blocking vs async behavior, failure handling, timeout semantics, or reversibility of writes.

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?

Two dense sentences with no filler, and the most decision-relevant information (mode capabilities) comes first. The compression is occasionally too aggressive ('fast is text-only' reads ambiguously), but nothing is wasted.

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

Completeness2/5

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

This is a high-complexity tool: 10 parameters, shell execution capability, no annotations, and no output schema. The description covers only the mode tiers and two incidental constraints, leaving an agent unable to reason about most inputs or about what the call returns or how long it may block.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 10 parameters, so the description must compensate and largely fails. It documents only the mode values (fast/workspace/workspace-write), prompt_file's append behavior, and a prompt length cap; cwd, model, think, system, max_tokens, temperature, and timeout_seconds are left with no meaning beyond their titles.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says 'Run a local task' and enumerates the three mode tiers, so the resource (a local agent run) and its capability levels are visible. However, it never says what a 'task' is (a prompt to a local model?), and with seven delegate_* siblings it gives no basis for choosing this tool over them.

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?

It implicitly guides mode selection by describing what each mode can do (text-only, read-only file tools, edit+shell), which is real when-to-use-which guidance. It offers no guidance on when to pick this tool versus delegate_claude/delegate_codex/start_agent_job, and no prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.