Skip to main content
Glama
xiaolai

claude-octopus

claude_code

Send a task to an autonomous code agent that reads/writes files, runs shell commands, and searches codebases to handle complex software engineering tasks end-to-end.

Instructions

Send a task to an autonomous Claude Code agent. It reads/writes files, runs shell commands, searches codebases, and handles complex software engineering tasks end-to-end. Returns the result text plus a session_id for follow-ups via claude_code_reply.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesTask or question for Claude Code
run_idNoWorkflow run ID — groups related agent calls into one timeline. Auto-generated if omitted; returned in every response for propagation.
cwdNoWorking directory (overrides CLAUDE_CWD)
modelNoModel override (e.g. "sonnet", "opus", "haiku")
toolsNoRestrict available tools to this list (intersects with server-level restriction)
disallowedToolsNoAdditional tools to block (unions with server-level blacklist)
additionalDirsNoExtra directories the agent can access for this invocation
pluginsNoAdditional plugin paths to load for this invocation (unions with server-level plugins)
effortNoThinking effort override
permissionModeNoPermission mode override (can only tighten, never loosen)
maxTurnsNoMax conversation turns
maxBudgetUsdNoMax spend in USD
systemPromptNoAdditional system prompt (appended to server default)
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. It honestly describes the agent's autonomous capabilities (read/write files, run shell commands), implying potential side effects. However, it does not disclose safety constraints, permission requirements, or destructive potential beyond what is implied.

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: the first states purpose and capabilities, the second explains return value and follow-up mechanism. Every sentence adds value, no redundancy, and key information is front-loaded.

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

Completeness4/5

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

While the tool has many parameters and no output schema, the description covers the essential outcome (result text + session_id) and follow-up usage. For a complex tool, it provides sufficient context, though more detail on return format or behavior with various parameters could improve completeness.

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 description coverage is 100%, meaning all 13 parameters have descriptions in the schema. The description does not add additional parameter semantics beyond what the schema already provides. Baseline 3 is appropriate.

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 tool sends tasks to an autonomous Claude Code agent and lists specific capabilities (reads/writes files, runs shell commands, searches codebases). It distinguishes from sibling tools by noting it returns a session_id for follow-ups via claude_code_reply.

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

Usage Guidelines4/5

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

The description implicitly provides usage guidelines by stating return of session_id for follow-ups, indicating when to use this tool (initial task) vs claude_code_reply (follow-up). No explicit when-not or alternatives, but context is clear.

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/xiaolai/claude-octopus'

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