Skip to main content
Glama
jira-alerts-mcp

jira-alerts-mcp

List this server's toolsets

jsm_list_capabilities
Read-onlyIdempotent

Lists every Jira Service Management Operations toolset the server knows, shows which are enabled or withheld, and names the environment variable needed to load missing ones.

Instructions

Report every toolset this server knows about, whether it is currently loaded, and how to load one that is not.

Call this before telling the user something is impossible. This server carries far more of the Jira Service Management Operations API than any one install registers — the operator chooses which families load, so an absent tool usually means "not enabled here", not "not supported". This tool tells you which of the two it is, and names the exact environment variable to change.

It takes no arguments, makes no API call, and needs no credentials, so it also answers when the token is missing or wrong.

Args: none beyond response_format.

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

Returns (json format): { "requested": string[], // the names this process was configured with "read_only": boolean, "tool_count": number, // tools actually registered "toolsets": [ { "name": string, "enabled": boolean, // whether any of its tools are registered "selected": boolean, // whether the selection asked for it; false enabled with true // selected means read-only mode withheld the tools "summary": string, "scopes": string[], // OAuth scopes this family needs "tool_count": number, "tools": string[], "unverified": string // present only when the family was never seen to work } ] }

A toolset carrying unverified ships but no profile loads it, 'all' included — it has to be named on its own, as JSM_TOOLSETS=all,. The string says what blocked it: a JSM plan that excludes the feature, or a permission no credential on the test site held. Enabling it is allowed and may well work on a different site, but say what the limit was before suggesting it.

Examples:

  • User asks for something no loaded tool covers -> call this, then tell them which toolset covers it and that JSM_TOOLSETS needs to include it.

  • Tool exists but its toolset is unverified -> say so plainly, quote the reason, and let the user decide whether their plan differs.

  • "What can you do here?" -> call this rather than guessing from your tool list.

Note: changing JSM_TOOLSETS requires restarting the server. You cannot enable a toolset from inside a conversation.

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": "jsm_list_capabilities"
  }
}

Input Schema

NameRequiredDescriptionDefault
response_formatNoOutput format. 'markdown' is compact (default); 'json' returns every field.markdown

Output Schema

NameRequiredDescriptionDefault
toolsetsYes
code_modeYes
read_onlyYes
requestedYes
tool_countYes
script_sandboxNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.2.1
    • addedOutput schema / properties / code_mode
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / script_sandbox
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "available": {
      +      "type": "boolean"
      +    },
      +    "reason": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "available"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "requested",
      -  "read_only",
      -  "tool_count",
      -  "toolsets"
      -]New value: +[
      +  "requested",
      +  "read_only",
      +  "tool_count",
      +  "code_mode",
      +  "toolsets"
      +]
  2. 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"
  3. Addedv2.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already mark this readOnly/idempotent/closed-world, and the description adds substantially more: no arguments, no API call, no credentials, so it still answers when the token is missing or wrong. It also explains the subtle enabled-vs-selected distinction and the 'unverified' flag, which the annotations cannot convey.

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 purpose, then usage, then behavior, then returns — well organized and every early sentence earns its place. The long JSON return block partially duplicates the existing output schema, which is the only redundancy.

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 the operational edge cases an agent needs: no-auth operation, the selected/enabled trap in read-only mode, the unverified toolset workflow with JSM_TOOLSETS=all,<name>, and the restart requirement. With an output schema present, the inline return description is a bonus rather than a gap-filler.

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?

Only one parameter and schema coverage is 100%, so the schema already defines response_format and its default. The description restates the default and the compact-vs-full tradeoff but adds no new syntax or format meaning beyond the schema, which is the baseline case.

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 — reporting every toolset the server knows about, whether it is loaded, and how to load it — and contrasts its discovery role against the sibling alert/schedule tools without needing their schemas.

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 guidance: call before declaring something impossible, use it for 'what can you do here?' instead of guessing, and use it to distinguish 'not enabled here' from 'not supported'. It also states the exclusion that matters most — you cannot enable a toolset from inside a conversation, a restart is required.

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