Bug Description
The MCP server's create_agent_schedule and update_agent_schedule tools are missing several parameters that the backend API fully supports. Users cannot set timeout_seconds, allowed_tools, or model when creating or updating schedules via MCP.
Root Cause
The Zod schemas in the MCP tool definitions and the TypeScript interfaces in types.ts do not include these fields, even though the backend models (ScheduleCreate, ScheduleUpdate, ScheduleResponse) support them.
Affected Files
src/mcp-server/src/tools/schedules.ts — tool parameter schemas missing fields
src/mcp-server/src/types.ts — Schedule, ScheduleCreate, ScheduleUpdate interfaces missing fields
What's Missing
| Parameter |
Backend Support |
MCP Tool Support |
timeout_seconds |
✅ (default 900) |
❌ |
allowed_tools |
✅ |
❌ |
model |
✅ |
❌ |
Impact
- Users cannot set custom execution timeouts for schedules via MCP (stuck with default 15 min)
- Users cannot restrict which tools a scheduled execution can use via MCP
- Users cannot override the model per schedule via MCP
- Workaround: Use the REST API directly instead of MCP
Expected Fix
- Add
timeout_seconds, allowed_tools, and model to the Zod schemas in create_agent_schedule and update_agent_schedule tool definitions
- Add the same fields to the TypeScript interfaces in
types.ts
- Rebuild the MCP server
Bug Description
The MCP server's
create_agent_scheduleandupdate_agent_scheduletools are missing several parameters that the backend API fully supports. Users cannot settimeout_seconds,allowed_tools, ormodelwhen creating or updating schedules via MCP.Root Cause
The Zod schemas in the MCP tool definitions and the TypeScript interfaces in
types.tsdo not include these fields, even though the backend models (ScheduleCreate,ScheduleUpdate,ScheduleResponse) support them.Affected Files
src/mcp-server/src/tools/schedules.ts— tool parameter schemas missing fieldssrc/mcp-server/src/types.ts—Schedule,ScheduleCreate,ScheduleUpdateinterfaces missing fieldsWhat's Missing
timeout_secondsallowed_toolsmodelImpact
Expected Fix
timeout_seconds,allowed_tools, andmodelto the Zod schemas increate_agent_scheduleandupdate_agent_scheduletool definitionstypes.ts