Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

propose_connectivity_rule

Read-only

Draft a compact connectivity rule from intent, area IDs or dimensions, and optional channel subsets before creating morphologies; it detects PositionalServo destinations without creating morphologies.

Instructions

Author a compact connectivity rule before create_morphology.

Local judgment. Uses area ids only to read dimensions and to detect a PositionalServo destination (opse). Does not create morphologies.

Required workflow:

  1. Call this with the intent (and source_x_channels for sit/motor subsets).

  2. Reuse reuse.morphology_id when present.

  3. Otherwise create the returned custom patterns/vectors as-is.

  4. Never expand that result into per-voxel exact coordinates.

PositionalServo absolute dest: z=0 is max command. A Z offset is rejected. Sit/motor subset requires source_x_channels; wildcarding every muscle is refused.

Args: intent: e.g. sit motor, one-to-one identity, z offset. src_area: Optional source cortical id. dst_area: Optional destination cortical id (used for servo detection). src_dimensions: Optional [x, y, z] when ids are omitted. dst_dimensions: Optional [x, y, z] when ids are omitted. source_x_channels: Required for subset motor/sit mappings. z_offset: Required for non-motor shift intents (e.g. 17). Forbidden on PositionalServo absolute destinations.

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": {
      "intent": "<intent>"
    },
    "name": "propose_connectivity_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentYes
dst_areaNo
src_areaNo
z_offsetNo
dst_dimensionsNo
src_dimensionsNo
source_x_channelsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, and the description adds real behavioral context beyond that: it performs "local judgment," uses area ids only to read dimensions and detect a PositionalServo destination, creates no morphologies, and warns never to expand the returned patterns into per-voxel coordinates. It also discloses validation rejections, which an agent would otherwise discover only by failing.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and the sequencing constraint are front-loaded in the first line, then workflow, then constraints, then per-argument notes. Every sentence carries actionable information, and the RST double-backtick markup is the only minor noise.

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 seven-parameter proposal tool with an output schema (so return values need no explanation), the definition covers purpose, preconditions, workflow, reuse path, result-handling rule, and per-argument conditions. An agent has enough to invoke it correctly on the first attempt.

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 description coverage is 0%, so the description must carry the parameter burden, and its Args block covers all seven parameters with conditional rules (source_x_channels required for sit/motor subsets, z_offset required for shift intents and forbidden on servo absolute destinations) plus example intent strings. The encoding of source_x_channels and the full set of accepted intent values remain underspecified.

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?

Opens with a specific verb+resource ("Author a compact connectivity rule") and immediately positions it relative to a named sibling ("before create_morphology"), plus an explicit negative scope ("Does not create morphologies"). It does not differentiate from other rule-related siblings such as apply_connectivity_rule or recommend_connectivity_rules, so it falls short of a full 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?

Provides a numbered "Required workflow" that makes ordering, reuse of reuse.morphology_id, and result handling explicit, and it names concrete refusal conditions (Z offset on a PositionalServo absolute dest, wildcarding every muscle). It gives clear when-to-use context but never names an alternative tool to pick instead, so no exclusion guidance.

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