Commit c68afef
fix(mcp): correct UTC drift in recording-policy tool descriptions + list missing tools
Two real wire-check findings:
1. get_camera_recording_policy and set_camera_recording_policy still
said "HH:MM, UTC" / "HH:MM 24-hour UTC" in their tool descriptions.
Per-org timezone shipped in v0.1.43 — windows are interpreted in the
org's configured timezone, not UTC. An AI agent reading the old
description would convert wall-clock "8 AM Pacific" to "16:00" and
write the wrong window. Both now say "interpreted in the org's
configured timezone (NOT UTC) — pass exactly what the user said, do
not convert." Also surfaced the modes_conflict invariant in the set
description so the AI knows the error shape ahead of time.
2. McpPage public-facing TOOLS list was missing five tools that are
actually live: list_incidents, get_incident, get_incident_snapshot,
get_incident_clip (read), and attach_clip (write). Backed-into the
list during the wire check after grepping every @mcp.tool(name=...)
registration against the array.
Wire check verified end-to-end against prod: 23 registered tools, all
in the gating frozensets, 16 live-tested with real responses
(view_camera returned a JPEG, get_incident_snapshot returned the
previously stored evidence image, set_camera_recording_policy correctly
422'd on the mutual-exclusion path with {error:"modes_conflict"}).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 50f33fd commit c68afef
2 files changed
Lines changed: 16 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
753 | | - | |
754 | | - | |
755 | | - | |
756 | | - | |
757 | | - | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
758 | 759 | | |
759 | 760 | | |
760 | 761 | | |
| |||
783 | 784 | | |
784 | 785 | | |
785 | 786 | | |
786 | | - | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
787 | 792 | | |
788 | 793 | | |
789 | 794 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
| |||
0 commit comments