Skip to main content
Glama

Squad Federate

squad_federate

Routes cross-squad requests to the right sub-squad using federation registry and meta-routing. Bootstrap a federation on new projects, promote existing squads, or target a specific sub-squad directly.

Instructions

Run the squad federation meta layer for a repository that hosts several named sub-squads (for example a product sub-squad for the business team and an azure sub-squad for the architects). Hands the request to the Squad Federation Coordinator, which reads the federation registry (federation.md) and meta-routing (meta-routing.md), selects the target sub-squad(s) — or honors an explicit squad=<name> — and runs each sub-squad's normal per-turn protocol scoped to .copilot-tracking/squad/members/<name>/. Set init to build a federation (propose → confirm → create) on a fresh project, or promote to adopt an existing single squad (a top-level team.md) into a federation as its first sub-squad, relocating its state intact. This is the catch-all federation entry point and runs at the confirm tier with gates. Delegated execution: returns the Federation Coordinator persona, the federation routing decision, and a framed dispatch request for the host to drive. Use for cross-sub-squad requests, an explicit sub-squad target, or federation setup.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
initNoWhen true, run Federation Init Mode (propose → confirm → create) on a fresh project, or Federation Expansion Mode (add a new sub-squad and register it) when a federation already exists, before routing.
modeNoOptional autonomy mode. With a single sub-squad target it is forwarded to that sub-squad's run; with mode=autopilot and no squad= target the Federation Coordinator runs the federation-level autopilot meta-pipeline (ordered sub-squad autopilot runs, aggregated federation gates, one consolidated final-outcome validation).
tierNoOptional model-tier hint forwarded to the selected sub-squad's run.
ownerNoOptional Member Name forwarded to the selected sub-squad's run.
squadNoOptional sub-squad name to target directly, overriding meta-routing.
contextNoOptional free-form context to frame the federation turn.
profileNoOptional profile hint forwarded to a sub-squad's Init when it has no squad yet.
promoteNoWhen true on an existing single-squad project (a top-level team.md, no federation.md), run Federation Promotion Mode: adopt the existing squad into a federation as its first sub-squad, relocating its state intact, before routing.
requestYesThe work for the federation this turn (routed to one or more sub-squads).
discoveryNoOptional discovery-gate depth, asked once at the federation level and applied per qualifying sub-squad: quick (analyst), standard (designer then analyst), deep (designer, then challenger and experimenter, then analyst), or skip. Each qualifying sub-squad runs its own session and writes its own brief and verdict under its own root. Ignored on an unattended run.
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explains the delegated execution model (returns persona, routing decision, framed dispatch request), the federation registry and meta-routing files it reads, and the scoped state path. It also describes the init and promote modes' effects (propose → confirm → create, relocating state intact). This is substantial behavioral context, though it doesn't detail error conditions or side effects beyond state relocation.

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 dense but well-structured, front-loading the core purpose and then explaining modes and delegation. It's a single paragraph that covers a complex tool without excessive verbosity. The bolded terms help readability, though the length is at the upper end of what's ideal.

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?

Given the tool's complexity (10 params, 4 enums, multiple modes, delegation model) and the absence of annotations and output schema, the description is quite complete. It explains the federation registry, meta-routing, scoped state, init/promote modes, autopilot pipeline, and discovery gate. Minor gaps include not detailing the exact return format or error handling, but the description covers the essential operational context.

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 description coverage is 100%, so the schema already documents all 10 parameters. The description adds value by explaining the interplay between parameters (e.g., init vs promote modes, mode=autopilot with no squad= target, discovery applied per qualifying sub-squad) and how they affect routing. This goes beyond the schema's individual parameter descriptions, though the schema already does most of the work.

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 runs the squad federation meta layer for repositories with multiple named sub-squads, and distinguishes it from siblings by positioning it as the catch-all federation entry point. It names specific actions (init, promote) and the delegated execution model, making the purpose unambiguous.

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

Usage Guidelines5/5

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

The description explicitly states when to use the tool: for cross-sub-squad requests, explicit sub-squad targeting, or federation setup. It also explains the init and promote modes and how they differ, providing clear context for selection. While it doesn't name sibling tools as alternatives, the usage scenarios are well-defined and the tool is positioned as the catch-all entry point, which implicitly differentiates it.

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/Peter-N91/hve-squad-mcp'

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