Fix Morrowind MCP tool naming — prevent hallucination loops #48
Reference in New Issue
Block a user
Delete Branch "fix/mcp-morrowind-tool-naming"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Timmy burned 30 iterations calling
mcp_morro— a hallucinated tool name — instead of the real tools registered by the MCP server. The local model drifted from the exact tool name after the first few successful calls.Root Cause
The server was registered as
morrowindin config.yaml, creating tool names likemcp_morrowind_perceive. The 10-character prefix gave the local model too much room to abbreviate/hallucinate. After a few turns it collapsed tomcp_morro.Fix
Rename the MCP server key from
morrowind→mw. Tool names become:mcp_mw_perceivemcp_mw_movemcp_mw_actionmcp_mw_screenshotmcp_mw_statusShorter, harder to get wrong.
Paired with: timmy-home PR (adds
CONTEXT.md+mcp_config.yaml)How to tweak
To rename the prefix again, edit one line in this file:
Then update
server_keyinmorrowind/mcp_config.yamland the tool names inmorrowind/CONTEXT.mdto match.Review Notes
Clean one-line rename that directly addresses the hallucination loop from the screenshot.
Pair with: timmy-home PR #17 — adds the config file and context doc. Merge both together.
After merge: Restart the Hermes session for the new
mcp_mw_*tool prefix to take effect.How to change the prefix later: Edit the key under
mcp_servers:in this file, then updateserver_keyinmorrowind/mcp_config.yamland the tool table inmorrowind/CONTEXT.md.Review Notes
Clean one-line rename that directly addresses the hallucination loop from the screenshot.
Pair with: timmy-home PR #17 — adds the config file and context doc. Merge both together.
After merge: Restart the Hermes session for the new
mcp_mw_*tool prefix to take effect.How to change the prefix later: Edit the key under
mcp_servers:in this file, then updateserver_keyinmorrowind/mcp_config.yamland the tool table inmorrowind/CONTEXT.md.9bfaa6fbdftofd26354678