Skip to main content
Glama

Schedule Agent Task

schedule_agent_task

Create a scheduled task for one of the user's agents. Supported schedule types: once (run_at ISO local time + timezone), interval (interval_minutes 5-1440), hourly, daily (time HH:MM + timezone), weekly (time + timezone + days_of_week 0=Sunday..6), cron (5-field expression + timezone), manual (only runs on demand). Returns the normalized schedule and the computed next_run_at so you can read the fire time back to the user in their timezone.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesShort task title
activateNoStart the schedule immediately (true) or save as draft (false)
agent_idYesThe agent id (from create_agent or list_agents)
max_runsNoOptional cap on total runs (0 = unlimited)
scheduleYesSchedule object, e.g. {"type":"daily","time":"08:30","timezone":"Asia/Jerusalem"} or {"type":"weekly","time":"09:00","timezone":"Asia/Jerusalem","days_of_week":[0]} or {"type":"once","run_at":"2026-08-20T09:00","timezone":"Asia/Jerusalem"}
instructionsYesWhat the agent should do on each run, written as instructions to the agent

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate readOnlyHint=false and destructiveHint=false, clarifying it's a mutation but not destructive. The description adds valuable context beyond that: it specifies the returned payload (normalized schedule and next_run_at), explains the 'manual' schedule type runs only on demand, and mentions the 'activate' flag for draft mode. It doesn't address concurrency or failure behavior, but the added detail is substantial.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single focused paragraph that starts with the action, then efficiently enumerates all schedule types with their required fields, and closes with the return value. There is no redundancy or filler; every sentence adds information needed to call the tool correctly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (nested schedule object with seven types) and no output schema, the description is thorough. It covers all schedule types, return values, and the activation flag. Missing are error conditions and how to obtain agent_id, but those are apparent from the schema and sibling tools (create_agent). Overall, it provides enough context for a competent agent to invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so all parameters are documented in the schema. The description adds significant meaning by detailing each schedule type (once, interval, hourly, daily, weekly, cron, manual) with specific constraints like interval_minutes 5-1440, days_of_week 0=Sunday..6, and timezone handling. This goes well beyond the schema's generic 'Schedule object' description, enhancing the agent's ability to construct valid inputs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool creates a scheduled task for an agent, enumerates all supported schedule types with specific constraints, and explains the return value. It's distinct from siblings like list_agent_tasks by focusing on creation, and the detailed schedule types leave no ambiguity about what the tool does.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains what the tool does and covers various schedule scenarios, but it does not explicitly mention when to use this over alternatives (e.g., list_agent_tasks for viewing, or update_agent_task if it existed). It implies usage for creating schedules but gives no clear guidance on when not to use it or how it relates to other task-management tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

B3.4/5.0
Disambiguation4/5

Most tools have clearly distinct purposes with detailed descriptions, but there are some overlapping pairs like read_app_file/read_app_files and create_entity_records vs seed_entity, which could cause misselection. Singular/plural variants and compatibility tools introduce minor ambiguity, but the majority are well-separated.

Naming Consistency4/5

Tool names predominantly follow a consistent verb_noun pattern (e.g., create_app, get_entities, delete_secret). There are some variations like 'agency_create_client' and 'seed_entity' that deviate slightly, but the overall convention is predictable and readable.

Tool Count2/5

With 82 tools, the server is far above the typical range and feels overwhelming. Even for a full platform API, the count is extreme and likely increases selection complexity. A more curated set would improve navigability without sacrificing capability.

Completeness5/5

The tool surface is exceptionally comprehensive, covering app lifecycle, file operations, entity CRUD, versioning, A/B testing, secrets, integrations, domains, agents, scheduling, policies, and member management. No obvious missing operations for the platform's scope; it even includes validation and workflow guidance tools.

Resources