Skip to main content
Glama

Get Schedule

swarm_get_schedule
Read-onlyIdempotent

Read a schedule's trigger, Task and enabled state using an ID from swarm_list_schedules. Check swarm_list_runs for actual outcomes.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "policy_id": "<policy_id>"
    },
    "name": "swarm_get_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
policy_idYesSchedule policy ID returned by swarm_list_schedules.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / policy_id / description
      Added value: +"Schedule policy ID returned by swarm_list_schedules."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds real value by scoping the result to configuration/state (trigger, task, enabled) and warning that execution history is not included, pointing to swarm_list_runs instead. No mention of not-found behavior, but the output schema covers the success shape.

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?

Two short sentences, zero filler, with the core action and its data source front-loaded before the alternative-tool pointer.

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?

A single-parameter read tool with rich annotations and an output schema; the description supplies the ID provenance and the conceptual boundary of the return value. Nothing an agent needs in order to invoke it correctly is missing.

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

Parameters3/5

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

Schema description coverage is 100% and the single parameter already documents that it is the policy ID returned by swarm_list_schedules. The description restates the same fact without adding format, prefix, or error-handling detail, so it does not exceed the schema.

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 ('Read') and resource ('a schedule'), then enumerates exactly what is returned: trigger, Task and enabled state. The phrase 'using an ID from swarm_list_schedules' distinguishes it from the sibling list tool without ambiguity.

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

Usage Guidelines4/5

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

Explicitly routes the agent to swarm_list_schedules to obtain the required ID, and to swarm_list_runs when the goal is actual run outcomes rather than configuration. No explicit 'do not use for X' exclusion is stated, but the alternatives are named clearly.

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.