Skip to main content
Glama

swarm_submit

Submit completed work back to the swarm. It trains the shared LoRA brain that is redistributed to every agent.

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": {
      "agent_id": "<agent_id>",
      "task_id": "<task_id>",
      "result": "<result>"
    },
    "name": "swarm_submit"
  }
}

Input Schema

NameRequiredDescriptionDefault
resultYes
task_idYes
agent_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses a significant side effect — that submissions train a shared LoRA brain redistributed to all agents — which an agent could not infer from the schema. However, it omits permission requirements, idempotency/duplicate-submission behavior, and failure modes for a write-style operation.

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?

Two short sentences with no filler; the primary purpose is front-loaded and the LoRA side effect follows as supporting context. Minimal but appropriately sized.

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?

For a tool with zero annotation coverage, 0% schema description coverage, and no output schema, the description leaves too much unspecified. It says what happens conceptually but nothing about the three required inputs, what a valid result looks like, or what the caller gets back, which is inadequate for a submission operation.

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

Parameters2/5

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

All three parameters (agent_id, task_id, result) are required with 0% schema description coverage, so the description must compensate and does not — no parameter is mentioned at all. The names are reasonably self-descriptive, which prevents a score of 1, but no format, constraint, or expected content is given for result.

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?

The description names a specific verb and resource — submitting completed work back to the swarm — which is clearly distinct from siblings like swarm_join, swarm_pull_task, and swarm_stats. It stops short of explicitly contrasting with swarm_solve, so differentiation is inferred from wording rather than stated.

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?

'Submit completed work' implies this is called after a task has been solved, providing implicit when-to-use context. There is no explicit statement of prerequisites, exclusions, or alternatives (e.g., when to call swarm_solve first), leaving routing to inference.

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.