Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

apply_connectivity_rule

Selects and applies an existing connectivity rule to a source-to-destination cortical mapping based on an intent hint, reusing morphology instead of creating custom rules.

Instructions

Apply best matching existing rule directly to src->dst mapping.

This is a reuse-first path: select existing morphology by intent, then apply via update_cortical_mapping. No custom morphology is created.

Args: src_area: Source cortical area ID. dst_area: Destination cortical area ID. intent: Human intent hint used for deterministic rule selection. postsynaptic_current_multiplier: Synaptic gain for the new mapping rule. prefer_core: Prefer core rules over custom ones (default True). replace_existing: If True, overwrite existing mapping rules. plasticity_flag: Enable STDP/plasticity on the added rule. plasticity_constant: Plasticity constant for the added rule. ltp_multiplier: LTP multiplier (must fit i8 range). ltd_multiplier: LTD multiplier (must fit i8 range). plasticity_window: Plasticity window in bursts. synaptic_delay_bursts: Axonal delay in bursts (>=1).

Returns: Selected rule, applied mapping rule payload, and update result.

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": {
      "src_area": "<src_area>",
      "dst_area": "<dst_area>",
      "intent": "<intent>",
      "postsynaptic_current_multiplier": "<postsynaptic_current_multiplier>"
    },
    "name": "apply_connectivity_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentYes
dst_areaYes
src_areaYes
prefer_coreNo
ltd_multiplierNo
ltp_multiplierNo
plasticity_flagNo
replace_existingNo
plasticity_windowNo
plasticity_constantNo
synaptic_delay_burstsNo
postsynaptic_current_multiplierYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A3.6/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 burden. It usefully discloses delegation to update_cortical_mapping, that no custom morphology is generated, and that replace_existing overwrites existing mapping rules, but it says nothing about required permissions, reversibility of the mutation, or what happens when no rule matches the intent.

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 core action and the reuse-first caveat, then uses standard Args/Returns structure that is easy to scan for a 12-parameter tool. A handful of restated parameter glosses add little, but the overall length is proportionate.

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 12-parameter mutation tool with no annotations, the description covers purpose, delegation path, every parameter, and the return shape (which an output schema already covers). The remaining gap is failure/no-match behavior and permission expectations.

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 0% (titles only), so the description must document all 12 parameters and does so, adding constraints the schema lacks: ltp/ltd multipliers must fit i8 range, synaptic_delay_bursts >= 1, plasticity_window in bursts, prefer_core/replace_existing semantics. A few entries are near-tautological ("Plasticity constant for the added rule"), which keeps it off a 5.

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 specific verb and resource ("apply best matching existing rule directly to src->dst mapping") and adds a differentiating clause: reuse-first, no custom morphology created, applied via update_cortical_mapping. That separates it from a rule-creation sibling, though the description never names an alternative tool outright.

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?

"This is a reuse-first path" plus "No custom morphology is created" implies when to pick this tool (existing rules suffice) versus something that builds custom morphology, but the guidance is mechanical rather than an explicit when/when-not statement with named alternatives.

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

Deploy Server

Other Tools