Skip to main content
Glama

add_swimlane

Creates a swimlane (actor lane) for the process. A lane groups the tasks performed by the same role/system. The actor is required. For a process involving several parties: one lane per actor, created before the tasks, with its laneId referenced in the kindMetadata of each task.

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": {
      "id": "<id>",
      "actor": "<actor>"
    },
    "name": "add_swimlane"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesUnique ID of the lane (kebab-case).
nameNoName shown on the lane. If absent, the actor is used as the name. A shorter label is possible.
actorYesActor, role or system performing the tasks of the lane.
orderNoVertical position in the pool (0 = top). If absent, the lane is stacked below the lowest existing one.
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / actor / description
      Previous value: -"Actor, role or system performing the tasks of the lane. E.g. 'Customer', 'Accounting department', 'ERP system'."New value: +"Actor, role or system performing the tasks of the lane."
    • changedInput schema / properties / id / description
      Previous value: -"Unique ID of the lane (kebab-case, e.g. 'lane-customer')."New value: +"Unique ID of the lane (kebab-case)."
    • changedInput schema / properties / name / description
      Previous value: -"Name shown on the lane. If absent, the actor is used as the name. A shorter label is possible (e.g. 'Accounting' for actor='Accounting department')"New value: +"Name shown on the lane. If absent, the actor is used as the name. A shorter label is possible."
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  3. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  4. Changed5 schema fields changed
    • changedInput schema / properties / actor / description
      Previous value: -"Acteur, rôle ou système exécutant les tâches du couloir. Ex: 'Client', 'Service comptable', 'Système ERP'."New value: +"Actor, role or system performing the tasks of the lane. E.g. 'Customer', 'Accounting department', 'ERP system'."
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / id / description
      Previous value: -"ID unique de la lane (kebab-case, ex: 'lane-customer')."New value: +"Unique ID of the lane (kebab-case, e.g. 'lane-customer')."
    • changedInput schema / properties / name / description
      Previous value: -"Nom visible sur la lane. Si absent, l'acteur sert de nom. Un libellé plus court est possible (ex: 'Compta' pour acteur='Service comptable')"New value: +"Name shown on the lane. If absent, the actor is used as the name. A shorter label is possible (e.g. 'Accounting' for actor='Accounting department')"
    • changedInput schema / properties / order / description
      Previous value: -"Position verticale dans le pool (0 = en haut). Si absent, on empile la lane sous la plus basse existante."New value: +"Vertical position in the pool (0 = top). If absent, the lane is stacked below the lowest existing one."
  5. Changed1 schema field changed
    • changedInput schema / properties / name / description
      Previous value: -"Nom visible sur la lane. Si absent, on utilise l'acteur. Tu peux préciser un libellé plus court (ex: 'Compta' pour acteur='Service comptable')"New value: +"Nom visible sur la lane. Si absent, l'acteur sert de nom. Un libellé plus court est possible (ex: 'Compta' pour acteur='Service comptable')"
  6. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-destructive, closed-world mutation, and the description builds on that with prerequisite ordering (create lanes before tasks) and downstream coupling via kindMetadata. It still omits what happens on duplicate id or whether the created lane is returned, so it stops short of 5.

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?

Three sentences, front-loaded with the purpose, then the definition, then the workflow rule. No filler, though the final sentence packs multiple instructions (lane-per-actor, ordering, kindMetadata reference) that could be split for scanability.

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 5-parameter mutation with no output schema, the description covers purpose, prerequisite sequencing, and cross-tool linkage well. The remaining gap is error/collision behavior on the caller-supplied id, which an agent would need to call confidently.

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%, so the schema already documents id, name, actor, order, and expectedProjectId with defaults and bounds. The description restates only that the actor is required and hints at the laneId linkage, adding little semantic meaning beyond the structured fields.

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 opens with a specific verb+resource ('Creates a swimlane (actor lane)') and defines the concept ('A lane groups the tasks performed by the same role/system'), so an agent knows exactly what is produced. It does not explicitly differentiate itself from siblings like add_kind_node or add_entity, which keeps it from a 5.

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?

It gives concrete sequencing guidance: one lane per actor, created before the tasks, with laneId referenced in each task's kindMetadata. That is real when-and-how guidance for the multi-party case, though it never states when not to use this tool or names an alternative for the single-actor case.

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.