Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

load_genome_from_file

Load a .genome file from disk into live FEAGI, replacing the current genome without sending large JSON through the model. Use it to provision a known brain architecture before closed-loop runs.

Instructions

Load a .genome artifact into the live FEAGI.

Reads the genome JSON file inside the MCP server process and uploads it to FEAGI, replacing the current genome. Prefer this over upload_genome whenever the genome lives on disk: only the file path crosses the model boundary, not the (often very large) genome JSON, which avoids excessive token use.

Use this to provision a known architecture (e.g. an IPU/OPU layout a Trainer run binds to) before driving a closed-loop run.

Args: path: Filesystem path to a .genome file (absolute, or relative to the MCP server's working directory). ~ is expanded.

Returns: A compact status object: success, the resolved path, a derived genome_title / cortical_area_count summary, and the FEAGI upload_result. On a local read/parse failure, success is false with an explicit error code (file_not_found / not_a_file / invalid_json / io_error); the genome is not uploaded.

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": {
      "path": "<path>"
    },
    "name": "load_genome_from_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4.7/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 load and does well: it discloses that the current genome is REPLACED, that reading happens server-side, and enumerates failure modes (`file_not_found` / `not_a_file` / `invalid_json` / `io_error`) with the guarantee that no upload occurs on failure. It stops short of stating permission requirements or whether the overwritten genome is recoverable (e.g. via snapshot), which keeps it 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?

Front-loaded with the core action and the sibling differentiation before any detail, and the sections are labeled and scannable. The Returns block is somewhat verbose given an output schema exists, but the error-code list earns its place.

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 one-param mutation tool with no annotations, the description covers everything an agent needs: what it replaces, path resolution rules, the success/error contract, and when to choose it over the alternative. The output schema handles return structure, and the description's summary of it is a bonus rather than a crutch.

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?

Schema coverage is 0% (the single `path` property has no description), so the description must compensate, and it does: it specifies the format (`.genome` file), that the path may be absolute or relative to the MCP server's working directory, and that `~` is expanded. That resolves the main ambiguity for the only parameter.

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 and resource ("Load a `.genome` artifact into the live FEAGI") and immediately clarifies the mechanism: the file is read inside the MCP server process, not passed as JSON. It explicitly contrasts with sibling `upload_genome`, so the agent can tell the two apart without opening either 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 selection rule: prefer this over `upload_genome` whenever the genome lives on disk, with the reason (avoids sending large JSON across the model boundary). It also names the concrete scenario (provisioning a known architecture such as an IPU/OPU layout before a closed-loop run), leaving little to infer.

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