Skip to content

MCP schedule tools missing timeout_seconds, allowed_tools, and model parameters #85

Closed

Description

@vybe

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

  1. Add timeout_seconds, allowed_tools, and model to the Zod schemas in create_agent_schedule and update_agent_schedule tool definitions
  2. Add the same fields to the TypeScript interfaces in types.ts
  3. Rebuild the MCP server

Activity

  1. added
    bug
    on Mar 9, 2026
  2. vybe commented on Mar 9, 2026

    @vybe
    ContributorAuthor

    Fixed. Added timeout_seconds, allowed_tools, and model parameters to MCP schedule tool Zod schemas, TypeScript interfaces, and pass-through logic in both create_agent_schedule and update_agent_schedule tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions