Skip to main content
Glama

connect_kind_nodes

Creates a dependency (arrow) between two nodes with a kind-specific type. Types per kind: arch → arch-sync (HTTP/gRPC), arch-async (queue), arch-db (SQL), arch-event (event stream), arch-data (S3/files); process → process-sequence (normal sequence) or process-message (inter-lane communication, dashed); journey → journey-flow or journey-dependency; captable → captable-share-transfer or captable-issuance.

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>",
      "fromId": "<fromId>",
      "toId": "<toId>",
      "type": "<type>"
    },
    "name": "connect_kind_nodes"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesUnique ID of the dependency.
toIdYesDestination block.
typeYesConnection type. For arch: arch-sync (HTTP), arch-async (queue), arch-db (SQL), arch-event (stream), arch-data (S3). For process: process-sequence (sequence), process-message (inter-lane). For journey: journey-flow (sequential), journey-dependency (cross-swimlane). For captable: captable-share-transfer or captable-issuance.
colorNo
labelNo
styleNo
fromIdYesSource block.
animatedNo
toAnchorNo
fromAnchorNo
strokeWidthNo
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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)."
  2. 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."
  3. Changed5 schema fields changed
    • 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 / fromId / description
      Previous value: -"Cellule source."New value: +"Source block."
    • changedInput schema / properties / id / description
      Previous value: -"ID unique de la dépendance."New value: +"Unique ID of the dependency."
    • changedInput schema / properties / toId / description
      Previous value: -"Cellule destination."New value: +"Destination block."
    • changedInput schema / properties / type / description
      Previous value: -"Type de connexion. Pour arch : arch-sync (HTTP), arch-async (queue), arch-db (SQL), arch-event (stream), arch-data (S3). Pour process : process-sequence (enchaînement), process-message (inter-lane). Pour journey : journey-flow (séquentiel), journey-dependency (cross-swimlane). Pour captable : captable-share-transfer ou captable-issuance."New value: +"Connection type. For arch: arch-sync (HTTP), arch-async (queue), arch-db (SQL), arch-event (stream), arch-data (S3). For process: process-sequence (sequence), process-message (inter-lane). For journey: journey-flow (sequential), journey-dependency (cross-swimlane). For captable: captable-share-transfer or captable-issuance."
  4. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so safety is largely covered. The description adds the meaningful constraint that the type must match the node kind, which is real behavior not encoded in annotations. It omits error/validation behavior, what happens on duplicate id, and whether the connection is idempotent.

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?

A single front-loaded sentence opening with the action, followed by a compact per-kind taxonomy. It is dense but not padded, though the type enumeration largely restates the schema enum and could be trimmed.

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 12-parameter mutation tool with no output schema and no annotations about validation, the description covers only the type taxonomy. An agent is left without guidance on anchors, styling parameters, or the expectedProjectId override, which are the harder parts of composing a correct call.

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?

Schema description coverage is only 42% across 12 parameters. The description's type-to-kind mapping duplicates what the type enum description in the schema already says, while seven optional parameters (color, label, style, animated, fromAnchor/toAnchor, strokeWidth, expectedProjectId) get no meaning at all. It does not compensate for the coverage gap.

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?

States a concrete verb and resource: 'Creates a dependency (arrow) between two nodes.' The per-kind type taxonomy makes the scope unambiguous and separates it from node-creation siblings like add_kind_node. It never names a competing sibling such as add_dependency, so it does not fully differentiate.

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?

Usage is implied by the mapping of kinds to allowed types, which tells an agent which type value goes with which diagram family. There is no explicit when-to-use versus alternatives statement and no exclusion guidance (for example, when to prefer add_dependency over this tool).

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.