Skip to main content
Glama

get_transitions

Retrieve available status transitions for a Jira issue to determine next workflow steps and update issue states.

Instructions

Get available status transitions for a Jira issue

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
issueKeyYesThe issue key (e.g., PROJ-123)

Implementation Reference

  • The core handler function that implements the get_transitions tool logic: fetches available transitions for a Jira issue using the API and returns formatted text response.
    async handleGetTransitions(args: any) {
      try {
        const { issueKey } = args;
    
        if (!issueKey) {
          throw new Error('issueKey is required');
        }
    
        const result = await this.apiClient.get(`/issue/${issueKey}/transitions`);
    
        return {
          content: [
            {
              type: 'text',
              text: JiraFormatters.formatTransitions(result.transitions),
            },
          ],
        };
      } catch (error: any) {
        return {
          content: [
            {
              type: 'text',
              text: JiraFormatters.formatError(error),
            },
          ],
          isError: true,
        };
      }
    }
  • Defines the tool schema including name, description, and inputSchema requiring 'issueKey'.
    {
      name: 'get_transitions',
      description: 'Get available status transitions for a Jira issue',
      inputSchema: {
        type: 'object',
        properties: {
          issueKey: {
            type: 'string',
            description: 'The issue key (e.g., PROJ-123)',
          },
        },
        required: ['issueKey'],
      },
    },
  • src/index.ts:128-129 (registration)
    Registers the tool in the MCP server by handling the CallToolRequest for 'get_transitions' and delegating to the handler.
    case 'get_transitions':
      return this.transitionHandlers.handleGetTransitions(request.params.arguments);
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states what the tool does but does not describe behavioral traits such as whether it requires specific permissions, how it handles errors, or the format of the returned transitions. This is a significant gap for a tool with no annotation coverage.

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?

The description is a single, clear sentence that directly states the tool's purpose without unnecessary words. It is front-loaded and efficient, making it easy to understand at a glance.

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

Completeness2/5

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

Given the complexity of Jira operations and the lack of annotations and output schema, the description is incomplete. It does not explain what the tool returns (e.g., a list of transitions with details), potential errors, or how it integrates with sibling tools like 'transition_issue'. This leaves gaps for effective agent use.

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?

The input schema has 100% description coverage, with the 'issueKey' parameter clearly documented. The description does not add any meaning beyond what the schema provides, such as examples or constraints. Given the high schema coverage, a baseline score of 3 is 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 clearly states the verb ('Get') and resource ('available status transitions for a Jira issue'), making the purpose specific and understandable. However, it does not explicitly differentiate from sibling tools like 'get_issue' or 'transition_issue', which might handle related but distinct operations, so it falls short of a perfect score.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. For example, it does not specify if this should be used before 'transition_issue' to check possible transitions, or how it relates to 'get_issue' for issue details. This lack of context leaves usage ambiguous.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pdogra1299/jira-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server