Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

scale_morphology_rows

Create a new pattern morphology by scaling destination z rows around a base, with a dry-run preview of old/new z values and clamping for out-of-strip rows.

Instructions

Create a NEW pattern morphology with its destination z rows scaled about a base.

Rows group by destination (x, y); z' = half_up(base + gain * (z - base)) with base defaulting to the group's row for source bin 0 (base_z overrides). The source bin axis is src_axis or the single varying source coordinate. The strip is 0..depth-1 from dst_depth or dst_area. A used bin (used_src_bins) outside the strip refuses the call and lists it; unused rows outside are stored clamped and flagged. dry_run (default) returns only the table: old z, new z, in-strip or clamped, used, and the largest gain with no clamp over the used bins. A real run never edits the source morphology or any mapping; rebind with update_cortical_mapping. Refuses non-pattern morphologies, wildcard coordinates and an existing new_name.

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": {
      "morphology_name": "<morphology_name>",
      "gain": "<gain>",
      "new_name": "<new_name>",
      "used_src_bins": "<used_src_bins>"
    },
    "name": "scale_morphology_rows"
  }
}

Input Schema

NameRequiredDescriptionDefault
gainYes
base_zNo
dry_runNo
dst_areaNo
new_nameYes
src_axisNo
dst_depthNo
used_src_binsYes
morphology_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4.5/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does so thoroughly: it discloses the z formula, base defaults, strip derivation, refusal versus clamping behavior for used bins, dry_run semantics, and that a real run leaves the source morphology and mappings untouched. This is unusually rich behavioral disclosure.

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?

The description is front-loaded and dense with useful detail, but the formula and strip rules are packed into long sentences that could be parsed more easily with structured formatting. No sentence is pure filler, though.

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?

An output schema exists, so return-value documentation is not required, and the description still covers side effects, defaults, refusals, and mapping rebinding. This is complete for a nine-parameter mutation tool with no annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage across nine parameters, the description supplies meaning for gain, base_z, dry_run, src_axis, dst_depth/dst_area, used_src_bins, new_name, and morphology_name context. Nearly every parameter's role is grounded beyond its bare schema title.

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?

States a specific verb (create) and resource (new pattern morphology) with the distinguishing operation of scaling destination z rows about a base. This clearly separates it from generic create_morphology or update_morphology siblings.

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?

Implies use for creating scaled pattern morphologies and notes the dry_run default plus rebinding via update_cortical_mapping, but never explicitly states when to choose this over create_morphology or update_morphology. Refusal cases are behavioral constraints rather than alternative-selection 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