Skip to main content
Glama

spawn_from_profile

Spawns an autonomous agent from a saved profile, supporting variable interpolation and per-call overrides for tasks like coding, fixing issues, or writing tests.

Instructions

Spawn an agent job from a saved profile. Supports variable interpolation and per-call overrides. Call list_profiles first to see available profiles. Built-in profiles: coder, fix-issue, implement-feature, write-tests, security-audit, refactor, review-pr, bump-deps. Use the 'coder' profile for general coding tasks — it injects Karpathy discipline guidelines.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
varsNoVariables to interpolate into the task template (e.g. { issue: '42', title: 'Login broken' })
fast_modeNoOverride the profile's fast mode setting for this spawn (optional).
effort_levelNoOverride the profile's default effort level for this spawn (optional).
profile_nameYesName of the profile to use
task_overrideNoUse this task instead of the profile's template (optional)
branch_overrideNoOverride the profile's branch (optional)
budget_overrideNoOverride the profile's default budget (optional)
spawning_namespaceNoNamespace of the caller. When set, job completion notifications are routed to cca:notify:{spawning_namespace}. Defaults to the current namespace.
Behavior3/5

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

With no annotations, the description must disclose behavioral traits. It mentions variable interpolation and per-call overrides, and that the 'coder' profile injects Karpathy discipline guidelines. However, it does not fully describe side effects (e.g., job creation, notification routing) or permissions needed. This is adequate but not comprehensive.

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?

The description is concise with four sentences. It front-loads the main purpose, then adds relevant usage tips and profile list. No redundant information, though the list of profiles could be formatted slightly better.

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?

For a tool with 8 parameters, no output schema, and no annotations, the description provides sufficient context: purpose, prerequisite (list_profiles), key features (interpolation, overrides), and profile examples. It omits details about return values, but the agent can infer it returns a job identifier. Overall, it is complete enough for correct invocation.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds value by listing built-in profiles (aiding profile_name choice) and clarifying that override parameters allow per-call changes. This goes beyond the schema's basic descriptions.

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 'Spawn an agent job from a saved profile,' specifying the verb (spawn) and resource (agent job from profile). It distinguishes from siblings like 'spawn_agent' by emphasizing the use of predefined profiles. Mentioning variable interpolation and per-call overrides adds specificity.

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 explicitly guides the agent to call 'list_profiles' first to see available profiles, lists built-in profiles, and recommends the 'coder' profile for general coding tasks. It provides clear context but does not explicitly state when not to use this tool versus alternatives like 'spawn_agent'.

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/Gonzih/cc-agent'

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