Skip to main content
Glama
rrvrs

jira-alerts-mcp

List JSM on-call schedules

jsm_list_schedules
Read-onlyIdempotent

List on-call schedules from JSM Operations to retrieve schedule IDs, owning teams, and timezones, helping you find rotation IDs for on-call queries or review existing rotations.

Instructions

List the on-call schedules configured in JSM Operations, with their ids, owning teams and timezones.

Start here when you need a schedule id for jsm_get_on_call or jsm_get_next_on_call, or when you want to know which rotations exist at all.

Args:

  • limit (number): 1-100, default 20

  • offset (number): records to skip, default 0

  • response_format ('markdown' | 'json'): default 'markdown'

Returns (json format): { "schedules": [ { "id": string, "name": string, "description": string, "timezone": string, "enabled": boolean, "ownerTeam": { "id": string, "name": string } } ], "pagination": { "count": number, "offset": number, "has_more": boolean, "next_offset": number } }

Examples:

  • "What on-call rotations do we have?" -> no args

  • "Find the schedule id for the platform rotation" -> then match on name

Error handling:

  • HTTP 401 here while alert tools work means the token is missing read:ops-config:jira-service-management — schedules and on-call sit behind a different scope from alerts, so this is a scope gap, not a bad credential.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of records to return (1-100, default 20).
offsetNoNumber of records to skip, for paging. Use the 'next_offset' from a previous response.
response_formatNoOutput format. 'markdown' is compact and human-readable (default); 'json' returns every field for programmatic use.markdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
schedulesYes
paginationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.1.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv1.1.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, and the description goes beyond them with a non-obvious operational detail: a 401 here while alert tools work indicates a missing 'read:ops-config:jira-service-management' scope rather than bad credentials. Pagination via has_more/next_offset is also disclosed, which is real behavioral context an agent needs for multi-page traversal.

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?

Well front-loaded: purpose, then when-to-use, then args, return shape, examples, error handling. Slightly redundant in repeating the parameter defaults and the full return payload that the schema and output schema already provide, but the structure is clean and skimmable.

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?

Covers purpose, routing to downstream tools, parameter limits, pagination, example invocations, and a specific auth-scope failure mode. With annotations and an output schema present, this is more than complete for a read-only list tool.

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%, so all three parameters (limit, offset, response_format) are already documented in the schema, including ranges and defaults. The description's Args block largely restates that, and the mention of matching on name in the example adds only marginal semantics. Baseline 3 is appropriate.

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?

Specific verb ('List') plus resource ('on-call schedules configured in JSM Operations') with the fields returned (ids, owning teams, timezones) named. It clearly separates itself from the alert-oriented siblings by scope, so an agent can route between the two families 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?

Explicitly says 'Start here when you need a schedule id for jsm_get_on_call or jsm_get_next_on_call', naming the downstream alternatives and the condition that selects them. It also covers the exploratory case ('which rotations exist at all'), leaving no usage ambiguity.

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