Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

update_morphology

Replace an existing morphology, rebuild synapses for mappings using that rule, and submit compact parameters rather than enumerated dumps.

Instructions

Replace an existing morphology (PUT /v1/morphology/morphology).

Rebuilds synapses for mappings that use this rule. Same compactness policy as create_morphology: enumerated dumps are rejected; submit judgment.compact_form from get_morphology instead.

Args: morphology_name: Existing morphology name morphology_type: vectors, patterns, functions, or composite morphology_parameters: Replacement parameters (compact patterns/vectors)

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>",
      "morphology_type": "<morphology_type>",
      "morphology_parameters": "<morphology_parameters>"
    },
    "name": "update_morphology"
  }
}

Input Schema

NameRequiredDescriptionDefault
morphology_nameYes
morphology_typeYes
morphology_parametersYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses a non-obvious side effect ('Rebuilds synapses for mappings that use this rule') and a validation constraint (enumerated dumps are rejected). Auth/permission requirements and whether the rebuild is reversible are still unstated, which keeps this from a 5.

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 first line front-loads the verb, resource, and endpoint, with side effects and validation in the following two sentences and a compact Args block. The docstring-style formatting carries minor formatting overhead but no redundant prose.

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?

An output schema exists, so return values need no explanation, and the description covers the mutation's blast radius, the validation policy, and the prerequisite lookup step. It stops short of stating permissions or whether unspecified parameters are cleared by the replace, which matters for a full-overwrite operation.

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%, so the description must compensate, and it does: it supplies the four legal values for 'morphology_type' (vectors, patterns, functions, composite) that the schema's bare string type omits, and clarifies that parameters are a compact replacement payload rather than an enumerated dump. The nested structure of 'morphology_parameters' is only referred to indirectly via 'judgment.compact_form', leaving the internal shape under-specified.

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?

The description opens with a specific verb and resource ('Replace an existing morphology') and even names the HTTP endpoint, making the replace semantics explicit. The word 'existing' plus the reference to 'create_morphology' cleanly separates it from the creation sibling, so an agent can route without opening a schema.

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?

It states the operative condition clearly: use this for an existing morphology, and fetch 'judgment.compact_form' via 'get_morphology' before submitting. What is missing is explicit exclusion — it never says when to prefer 'rename_morphology' or 'create_morphology' instead of a full replace.

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