Back to build log

ziksaka-mcp2026-08-06

Broken

Log inside the server, not in front of it

CostThe server can't see the user's question or the agent's reasoning.

observabilityMCPevals

Still broken

The log shows which tool was called, not whether it was the right one. No session has a human verdict yet.

Constraint

The server had been in daily use for months with no view of how agents used it. I could see the symptom: the wrong tool picked, or two tools fetching the same content. I couldn't say whether it happened twice a week or twenty times a day. Logging had to add almost nothing to each call, and a logging failure could never break one.

Options

  1. Put a proxy between the agents and the server, and log there.
  2. Log inside the server: queue in memory, write to a local database from a background worker.
  3. Send full traces to an external platform.

Chose

Option 2. A proxy is the pattern for servers you can't modify. I own this one, so a proxy would add a hop and a new point of failure for the same information. An external platform would have meant shipping private arguments elsewhere; here they're redacted by default. The tradeoff: the server sees calls, not intent. It can flag a repeated call. It can't tell me the agent should have asked a different question. That half needs a person reading sessions, and I haven't done it yet.