Skip to main content
Glama

Connect two neurons

crbro_connect
Destructive

Create, strengthen, or delete a weighted synapse between two neuron IDs, with optional strength and relationship type. Use it to link neurons beyond automatic co-occurrence.

Instructions

Write: create, strengthen or delete the undirected synapse between two neurons (ids validated). action=connect (default) creates it at 0.5 and adds 0.1 per repeat (cap 1.0), or sets the strength given; action=disconnect deletes it — the destructive side. crbro_consolidate already links neurons written in one session: use this for relationships beyond co-occurrence. Read links with crbro_inspect view=neuron. Returns synapse_id, action (created, strengthened, disconnected, absent) and strength.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "crbro_connect"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesExact neuron id; order does not matter.
fromYesExact neuron id, e.g. "project_octochat".
typeNoSet on creation only (default conceptual).
actionNoconnect (default) or disconnect; an absent synapse is action:absent, not an error.
contextNoOne line on the relationship; replaces the stored one.
strengthNoAbsolute strength to set instead of the 0.5 / +0.1 rule.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.12.0
    • changedInput schema / properties / action / description
      Previous value: -"connect = create or strengthen (default); disconnect = delete the synapse and unlink both neurons. An absent synapse returns action:absent, removed:false, not an error."New value: +"connect (default) or disconnect; an absent synapse is action:absent, not an error."
    • changedInput schema / properties / context / description
      Previous value: -"One line on the relationship. On strengthen it replaces the stored text; omit to keep it."New value: +"One line on the relationship; replaces the stored one."
    • changedInput schema / properties / from / description
      Previous value: -"Exact neuron id, e.g. \"project_octochat\". Validated: an unknown id is an error."New value: +"Exact neuron id, e.g. \"project_octochat\"."
    • changedInput schema / properties / strength / description
      Previous value: -"Absolute strength 0.0-1.0 to set, on create or on an existing synapse, instead of the 0.5 / +0.1 rule."New value: +"Absolute strength to set instead of the 0.5 / +0.1 rule."
    • changedInput schema / properties / to / description
      Previous value: -"Exact neuron id. Order does not matter — (a,b) and (b,a) are the same synapse."New value: +"Exact neuron id; order does not matter."
    • changedInput schema / properties / type / description
      Previous value: -"Relationship kind, used only when the synapse is created (default conceptual). Ignored on strengthen and on disconnect."New value: +"Set on creation only (default conceptual)."
  2. Changed1 schema field changedv2.4.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  3. Changed6 schema fields changedv2.0.0
    • addedInput schema / properties / action
      Added value: +{
      +  "description": "connect = create or strengthen (default); disconnect = delete the synapse and unlink both neurons. An absent synapse returns action:absent, removed:false, not an error.",
      +  "enum": [
      +    "connect",
      +    "disconnect"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / from / description
      Previous value: -"Source neuron id, e.g. \"project_octochat\". Not validated: use an exact id from crbro_recall or crbro_neurons, or the synapse points at nothing."New value: +"Exact neuron id, e.g. \"project_octochat\". Validated: an unknown id is an error."
    • addedInput schema / properties / strength
      Added value: +{
      +  "description": "Absolute strength 0.0-1.0 to set, on create or on an existing synapse, instead of the 0.5 / +0.1 rule.",
      +  "maximum": 1,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • changedInput schema / properties / to / description
      Previous value: -"Target neuron id. Order does not matter — (a,b) and (b,a) are the same synapse."New value: +"Exact neuron id. Order does not matter — (a,b) and (b,a) are the same synapse."
    • changedInput schema / properties / type / description
      Previous value: -"Relationship kind. Used only on creation; a strengthening call keeps the existing type."New value: +"Relationship kind, used only when the synapse is created (default conceptual). Ignored on strengthen and on disconnect."
    • changedInput schema / required
      Previous value: -[
      -  "from",
      -  "to",
      -  "type"
      -]New value: +[
      +  "from",
      +  "to"
      +]
  4. Changed4 schema fields changedv1.14.0
    • changedInput schema / properties / context / description
      Previous value: -"Description of the relationship"New value: +"One line on the relationship. On strengthen it replaces the stored text; omit to keep it."
    • changedInput schema / properties / from / description
      Previous value: -"Source neuron ID"New value: +"Source neuron id, e.g. \"project_octochat\". Not validated: use an exact id from crbro_recall or crbro_neurons, or the synapse points at nothing."
    • changedInput schema / properties / to / description
      Previous value: -"Target neuron ID"New value: +"Target neuron id. Order does not matter — (a,b) and (b,a) are the same synapse."
    • changedInput schema / properties / type / description
      Previous value: -"Connection type"New value: +"Relationship kind. Used only on creation; a strengthening call keeps the existing type."
  5. First observedv1.4.0

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the non-idempotent accumulation rule (0.5 on create, +0.1 per repeat, cap 1.0), that strength overrides that rule, and that disconnect is the destructive side. It also enumerates return fields, though it stops short of saying whether a disconnect on a missing synapse is a no-op beyond "absent is not an error."

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?

Front-loads the write/create/strengthen/delete scope and then the decision rule, with zero filler sentences. It is dense and dash-heavy, which costs a little readability, but every clause carries operational information.

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 6-parameter mutation tool with no output schema, the definition covers the default action, strength semantics, the destructive path, the read alternative, and the return fields. An agent has everything needed to call it correctly and predict the result.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning: strength replaces the default 0.5/+0.1 rule, type applies on creation only, and an absent synapse returns action:absent rather than erroring. That clarifies parameter interactions the schema documents only in isolation.

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?

Opens with an explicit verb+resource: "Write: create, strengthen or delete the undirected synapse between two neurons (ids validated)." It covers all three mutation modes in one clause and names the siblings it is not (crbro_consolidate, crbro_inspect), so an agent can distinguish it without opening another schema.

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?

Gives an explicit routing rule: crbro_consolidate already links co-occurring neurons, so use this for relationships beyond co-occurrence, and read links via crbro_inspect view=neuron. Both the use case and the read alternative are named, which is exactly the when/when-not guidance needed.

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