Connect an MCP companion
An MCP companion is a local tool an agent relies on — a filesystem server, a database inspector, a browser driver. Agentic Optimizer tracks each companion's reported status and how fresh that report is, so the Action Center can tell the difference between "the agent chose not to use this tool" and "the tool was unavailable".
What gets tracked
Each companion reports a status record carrying its identity and a last-seen timestamp. The health gate compares the last-seen time against a freshness window:
- Freshness window:
McpCompanionHealth:FreshnessMinutes, default 15 minutes. - Fresh — the companion reported inside the window.
- Stale — the window elapsed without a report.
- Down / degraded — the companion reported a failure state.
The freshness window is configurable per organization through org settings; the default above is the platform fallback.
What it unlocks
A companion that is healthy but unused is a pruning candidate; a companion that is unhealthy is a backfill candidate. Both are detectors that need the companion inventory to say anything useful — without it, the log cannot distinguish "unused tool" from "missing tool".
IF a tool is called on fewer than a threshold of sessions while its companion reports healthy → THEN run the unused-tool-pruning detector and remove the tool from the agent's manifest → RESULT smaller tool definitions on every turn, and fewer tokens spent advertising tools the agent never calls.
Setup checklist
- Register the companion so it appears in the Action Center's connector/MCP panel.
- Make it report its status on the platform's heartbeat interval (well inside the freshness window).
- Confirm the Action Center shows it fresh, then leave it for a few sessions so there is usage to compare the status against.