Skip to main content
Glama
swsd-mcp

swsd-mcp

by mikimatsub

swsd_my_queue

Read-onlyIdempotent

View and triage open incidents in a work queue sorted by due date, with SLA risk levels and filters for assignee, group, state, priority, and update time.

Instructions

Work-queue view for the authenticated user (or a given assignee/group). Defaults to open incidents assigned to you, sorted by due_at ascending. Each row includes a computed SLA risk level for at-a-glance triage. Supports assignee_email override (client-side filter), assigned_to_group (server-side), states/priorities filters, and sort_by options.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-indexed).
statesNoFilter to incidents matching ANY of these states.
sort_byNoSort key. Default due_at ASC.due_at
per_pageNoResults per page (1-100). SWSD caps at 100.
prioritiesNoFilter to incidents matching ANY of these priorities.
state_is_notNoNegative state filter. Defaults to excluding Resolved and Closed (open work only).
updated_fromNoFilter to incidents updated on or after this ISO date or datetime.
assignee_emailNoOverride the default (authenticated user) with a specific assignee email. Applied client-side because SWSD ignores it server-side.
updated_withinNoConvenience alias for updated_from: "Nh" is an exact hours-ago ISO timestamp; "Nd" and "Nw" use the UTC calendar date N days or N weeks ago. N must be 1-365. Ignored if updated_from is explicitly set.
assigned_to_groupNoFilter to incidents assigned to this group ID (server-side). When set without assignee_email, defaults to group mode instead of "my" mode.

Output Schema

NameRequiredDescriptionDefault
scanYes
incidentsYes
paginationYes
assignee_emailNoThe email used as the assignee filter (resolved from JWT when not overridden).
applied_filtersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.3.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered structurally. The description adds genuine context beyond that: per-row computed SLA risk levels, the client-side vs server-side split for filtering (assignee_email is client-side because SWSD ignores it server-side), and the mode switch when assigned_to_group is set. It does not discuss pagination limits or result-size behavior, which is a real gap for a queue tool.

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?

Four sentences, front-loaded with the core purpose and defaults before the filter options. Each sentence carries information: default scope, default sort, output enrichment, and override mechanics. Slight redundancy with the schema descriptions keeps it from a 5.

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?

With an output schema present, the description need not explain return values, and it correctly spends its words on mode selection, defaults, and filter semantics. For a 10-parameter, zero-required tool it gives enough to call it correctly without reading the schema carefully. The main omission is any note on pagination behavior or the cost of client-side filtering on large result sets.

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 schema already documents page, per_page caps, the enum for sort_by, the date/datetime union for updated_from, and the client-side note on assignee_email. The description largely restates these (states/priorities/sort_by options) rather than adding syntax or interaction rules the schema lacks; the one addition, mode defaulting when assigned_to_group is set, is also present in that parameter's own description. Baseline 3 is therefore appropriate.

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

Purpose4/5

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

The description opens with a specific verb+resource framing ("Work-queue view for the authenticated user") and states the default result set: open incidents assigned to you, sorted by due_at ascending. It also distinguishes the tool's output shape (rows with a computed SLA risk level) from a plain list. It stops short of naming the closest siblings (swsd_list_incidents, swsd_list_my_incidents), so the differentiation is implicit rather than explicit.

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?

Usage is implied through the description of default mode ("my" queue) and the two override paths (assignee_email for client-side filtering, assigned_to_group for server-side). However, there is no explicit statement of when to choose this over swsd_list_my_incidents or swsd_list_incidents, and no stated exclusions or prerequisites. An agent can infer the intent but must reason about which sibling to pick.

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