Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

get_last_failed_mutation

Read-only

Retrieve the last failed mutating FEAGI API request to diagnose launch, upload, or genome-load failures when health checks pass. Returns method, path, status, error, and timestamp.

Instructions

Most recent failed mutating FEAGI API request (/v1/system/last_failed_mutation).

Use when health_check / diagnose_feagi_runtime report healthy but an experiment launch, connectome upload, or genome load just failed. Returns a compact mutation object: method, path, status, content_type, content_length, error_message, timestamp_ms. mutation is null when this FEAGI process has not recorded a failure.

Prefer this over get_log_tail for body-limit / multipart parse errors — those often leave no useful ring-buffer signal.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_last_failed_mutation"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true; the description adds substantial context beyond that: what the payload contains, that it is process-scoped ('this FEAGI process'), that the value is null when nothing was recorded, and that certain error classes leave no ring-buffer signal. That last point warns the agent about a limitation it could not otherwise infer.

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 resource and then the trigger, with zero filler sentences. The enumerated return fields (method, path, status, content_type, ...) are mildly redundant given an output schema exists, but they aid quick scanning rather than obstructing it.

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 zero-argument, read-only diagnostic with an output schema, everything an agent needs is present: purpose, trigger condition, alternative tool and when to prefer each, null semantics, and the process-scope caveat. Return-value documentation is appropriately left to the output schema.

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?

The tool takes zero parameters, so the baseline is 4 and there is nothing for the description to disambiguate. No misleading or missing argument information exists.

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 resource ('Most recent failed mutating FEAGI API request') and even names the underlying endpoint path, scoping it to mutating requests only. An agent can distinguish it from get_log_tail, health_check, or diagnose_feagi_runtime without opening any 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 trigger ('when health_check / diagnose_feagi_runtime report healthy but an experiment launch, connectome upload, or genome load just failed') and an explicit preference rule ('Prefer this over get_log_tail for body-limit / multipart parse errors'). Both the when-to-use and the alternative routing are spelled out.

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