Skip to main content
Glama
Platano78

Smart-AI-Bridge

spawn_subagent

Create subagents with predefined roles for code review, security auditing, planning, refactoring, test generation, and documentation. Specify task, target files, and context to get specialized AI assistance.

Instructions

Spawn specialized AI subagent - Create subagents with predefined roles (code-reviewer, security-auditor, planner, refactor-specialist, test-generator, documentation-writer). Each role has customized prompts, tools, and behavior for specific tasks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roleYesSubagent role: code-reviewer (quality review), security-auditor (vulnerability detection), planner (task breakdown), refactor-specialist (code improvement), test-generator (test creation), documentation-writer (docs generation), tdd-decomposer (break task into TDD subtasks), tdd-test-writer (RED phase), tdd-implementer (GREEN phase), tdd-quality-reviewer (quality gate)
taskYesTask description for the subagent to perform
file_patternsNoOptional glob patterns for files to analyze (e.g., ["src/**/*.js", "*.test.ts"])
contextNoAdditional context object for the subagent
verdict_modeNoVerdict parsing mode: summary (extract key fields only) or full (return complete verdict data)summary
write_filesNoWrite generated code blocks to files (default: false). Set to true to save output code to work_directory.
work_directoryNoDirectory for generated files (default: /tmp/subagent-{role}-{timestamp})
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It states each role has 'customized prompts, tools, and behavior' but gives no details on side effects, resource usage, concurrency, or error handling. The 'write_files' parameter hints at file writing, but the overall behavioral impact is vague.

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 a single, front-loaded sentence that states the core purpose and lists key elements. It is concise with no wasted words, earning every bit of its length.

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?

Given the tool's complexity (7 parameters, enums, nested objects, no output schema), the description is too brief. It does not explain return values, error handling, subagent lifecycle, or how to use results. Important context like default behaviors and limitations is missing.

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% with detailed parameter descriptions (e.g., role enum with inline explanations). The description adds value by grouping roles and mentioning customized behavior, but the schema already explains each parameter well, so the description does not significantly enhance parameter understanding.

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 specialized AI subagent' and lists predefined roles, making the purpose immediately clear. It distinguishes from sibling tools like 'council' or 'parallel_agents' by focusing on role-specific customization.

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 mentions roles and their purpose (e.g., 'code-reviewer (quality review)') but does not provide explicit guidance on when to use this tool over alternatives. It implies usage through role enumeration but lacks direct comparisons or exclusions.

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/Platano78/Smart-AI-Bridge'

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