Context
_apply_pydantic_schemas in src/adcp/server/mcp_tools.py runs at import time and generates output schemas for every tool. This coincides with a multi-PR batch of storyboard "Agent unreachable" failures observed across PRs #391, #405, #406, #407.
Deferring schema generation to the first tools/list call should restore predictable boot times and eliminate the readiness race.
Acceptance Criteria
Refs
Context
_apply_pydantic_schemasinsrc/adcp/server/mcp_tools.pyruns at import time and generates output schemas for every tool. This coincides with a multi-PR batch of storyboard "Agent unreachable" failures observed across PRs #391, #405, #406, #407.Deferring schema generation to the first
tools/listcall should restore predictable boot times and eliminate the readiness race.Acceptance Criteria
_apply_pydantic_schemasis invoked lazily (firsttools/listcall), not at importRefs
src/adcp/server/mcp_tools.py(_apply_pydantic_schemas)