Skip to main content
Glama

join_swarm

Consent into an open swarm crew by id. Identity comes from the session, never arguments. Full swarms and attestedOnly gates fail closed with the reason. Returns the member row. After joining, offer or claim swarm-linked packets with swarmId and watch surface swarm.

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": {
      "swarmId": "<swarmId>"
    },
    "name": "join_swarm"
  }
}

Input Schema

NameRequiredDescriptionDefault
swarmIdYesSwarm id from create_swarm or the swarm list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnlyHint=false/openWorldHint=true annotations, it discloses that identity is taken from the session and never from arguments (an auth-behavior detail), how gate failures behave (fail closed with a reason), and what is returned (the member row). That is substantial context an agent cannot infer from annotations alone.

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?

Five short sentences, front-loaded with the action and scope, followed by preconditions, return value, and next step. Slightly terse jargon ("watch surface swarm", "swarm-linked packets") costs a bit of clarity but nothing is padded.

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

Completeness5/5

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

For a single-parameter mutation tool with no output schema, the definition covers auth source, failure modes, return value, and follow-up actions. An agent has everything needed to invoke it and interpret the outcome.

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 coverage is 100% and the schema already explains that swarmId comes from create_swarm or the swarm list. The description reinforces that no identity argument exists, but adds little swarmId-specific syntax or format meaning beyond the schema baseline.

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

Purpose4/5

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

"Consent into an open swarm crew by id" gives a specific verb (join/consent) and resource (swarm crew), distinct from the world-oriented sibling join_world. It stops short of explicitly naming an alternative, but the 'open swarm' qualifier already narrows the target.

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 sets clear preconditions: only open swarms, and full swarms or attestedOnly gates fail closed with the reason. It also gives post-join guidance (offer/claim swarm-linked packets with swarmId, watch surface swarm), though it never explicitly says when to prefer join_world or leave_swarm.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.