TL;DR: Every gemini-faf-mcp failure now reaches your client as an error: MCP's isError is set, the reason text is unchanged, and /faf:setup checks before it creates.
In Plain English
Old state. When a gemini-faf-mcp tool failed, it said so in its reply text, but the reply itself was marked as a success. A client that checks the success flag carried on as if nothing went wrong.
Fix. Every failure now sets MCP's isError flag. The words
in the reply are exactly the same; only the flag changes.
New state. Gemini CLI, Antigravity or any MCP client can tell a result from a failure without reading the text. A success looks the same as before, byte for byte.
What happened since The New Era Edition
Last edition was The New Era Edition, for Gemini (v3.1.0). Short tour to today:
- 3.1.1 —
--versionand--helpanswer and exit. - 3.1.2 — your GEMINI.md stays yours.
- 3.2.0 — straight answers. This post.
Why it matters if you use Gemini CLI or Antigravity
Agents decide what to do next from the last tool's result. If a failed call is marked as a success, the agent can carry on with nothing, or report work that never happened. A clear error lets it stop, retry, or tell you.
What 3.2.0 is
| When… | 3.1.2 | 3.2.0 |
|---|---|---|
| a file is missing | reason in the text, marked success | same text, marked as an error |
| a write is refused (not UTF-8, a link out of the project) | reason in the text, marked success | same text, marked as an error |
| a path is outside the project | reason in the text, marked success | same text, marked as an error |
faf_score gets a file that isn't valid YAML | scored 0, no reason given | an error: "Invalid YAML: …" |
faf_model gets an unknown type | reason in the text, marked success | an error, with the list of types |
- "Valid YAML" means what faf-cli reads.
faf_scorechecks the file with the same reader the score uses, so a file faf-cli scores is never called invalid. Duplicate keys and more than one document are errors; an empty file still scores 0, White. /faf:setupchecks before it creates. It looks for aproject.fafin this folder first and scores it; it only creates one when there is none. A file in a parent folder doesn't count.
Heads up: Python scripts that call these tools through FastMCP's Client.call_tool now get a ToolError on a failure unless they pass raise_on_error=False. That's why this is 3.2.0, not a patch.
How we got it right
- Two independent reviews, each in its own session: one in a cloud session, one on a local machine. Both ran the code. Then four re-checks of the fixes.
- The reviews found real gaps: two tools that reported failures in a different shape, and a first YAML check that disagreed with the scorer. All fixed before release.
- A 20-input table, run through a real MCP client: errors now match exactly what faf-cli can't read, and every other input scores as it did in 3.1.2.
- A server that marks every result as an error now fails over 100 tests, so a success that turns into an error can't slip through. 320 tests pass in CI.
- After publishing, we installed 3.2.0 from PyPI on a clean machine: 13 tools, all labelled, and a failing call comes back as an error.
Not claimed
- How Gemini CLI shows an error result was not tried by hand. The reason text reaches the model either way.
- YAML that isn't a mapping (a list, a single value) still scores 0 in
faf_score, as faf-cli scores it.faf_readandfaf_validatereject it.
Try it
Gemini CLI:
gemini extensions install https://github.com/Wolfe-Jam/gemini-faf-mcpAntigravity, or any client that runs a local MCP server:
{ "mcpServers": { "gemini-faf": { "command": "uvx", "args": ["gemini-faf-mcp==3.2.0"] } } }Claude Code:
claude mcp add gemini-faf-mcp -- uvx gemini-faf-mcp==3.2.0Then run /faf:setup in your project.
gemini-faf-mcp is an MCP server, so the model is your client's choice: Gemini 3.1 Pro, Gemini 4 Argon, or any other.
Technical details
- Version: gemini-faf-mcp 3.2.0 (November 9, 2026), The Straight Answers Edition
- Where: PyPI · the MCP Registry
- Changes: #47 · release notes
Feedback welcome
Questions, nits, suggestions — guide the next version. Tell us what you want to see.