Skip to main content
Glama

List Schedules

listSchedules
Read-onlyIdempotent

List the schedules in your workspace, soonest next run first. Each has an id, name, description, what it starts (targetType test, map or batch, and targetId: a test config id, mapping job id or batch id), when (scheduleType once with runAt, recurring with intervalMinutes, or cron with cronExpression and timezone), enabled (the string "true" or "false"; "false" means paused), lastRunAt, nextRunAt and runCount. Takes optional targetId: only the schedules that start that test, mapping job or batch. Use when: the user asks what runs automatically, when something next runs, or whether a test is scheduled. Name a target with getTestConfig, getMapping or getBatch. Read-only. Needs scheduling:read.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "listSchedules"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetIdNoFilter to schedules whose `targetId` matches this value.

Output Schema

NameRequiredDescriptionDefault
countYes
schedulesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the description is not carrying the safety burden alone; it still adds real context by naming the required scope ('Needs scheduling:read') and by explaining that enabled is a string where "false" means paused, which affects how an agent interprets results.

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

Conciseness4/5

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

Front-loaded with the core action and ordering, then structured as a field legend, use-cases and a prerequisite. The dense field enumeration is long but each item carries semantic weight (scheduleType variants, enabled string semantics), so little is wasted.

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

Completeness5/5

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

For a single-optional-parameter list tool with full schema coverage and an output schema, the definition is complete: trigger conditions, auth scope, target resolution path and field semantics are all present, and return-value formatting is correctly left to the output schema.

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% and the schema already documents targetId, but the description goes further by spelling out what a targetId can point at (test config id, mapping job id or batch id) and that filtering restricts results to schedules starting that entity, which the schema does not say.

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?

States a specific verb and resource (list schedules) plus the ordering ('soonest next run first'), and enumerates the returned fields, which lets an agent distinguish it from run-oriented siblings like listBatchRuns or listLoadTestRuns without opening a schema.

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

Usage Guidelines5/5

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

Explicit when-to-use triggers: 'what runs automatically', 'when something next runs', 'whether a test is scheduled'. It also routes the agent to getTestConfig, getMapping or getBatch to resolve a target name before filtering, which is the key prerequisite for the one optional parameter.

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.