Skip to main content
Glama

jira_get_project

Retrieve detailed information about a specific Jira project using its unique project key identifier.

Instructions

Get details of a specific Jira project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectKeyYesThe project key

Implementation Reference

  • Handler for the jira_get_project tool: parses input using GetProjectSchema, calls jiraClient.getProject(projectKey), and returns JSON stringified response.
    case "jira_get_project": {
      const { projectKey } = GetProjectSchema.parse(args);
      const project = await jiraClient.getProject(projectKey);
      return {
        content: [{ type: "text", text: JSON.stringify(project, null, 2) }],
      };
    }
  • Zod schema for validating input parameters of jira_get_project tool (requires projectKey). Used in handler and reflected in tool registration.
    const GetProjectSchema = z.object({
      projectKey: z.string().describe("The project key"),
    });
  • src/index.ts:380-389 (registration)
    Tool registration in ListTools handler, defining name, description, and JSON input schema for jira_get_project.
      name: "jira_get_project",
      description: "Get details of a specific Jira project",
      inputSchema: {
        type: "object",
        properties: {
          projectKey: { type: "string", description: "The project key" },
        },
        required: ["projectKey"],
      },
    },
  • Core implementation in JiraClient: makes REST API call to /rest/api/2/project/{projectKey} via the private request method.
    async getProject(projectKey: string): Promise<JiraProject> {
      return this.request<JiraProject>(`/project/${projectKey}`);
    }

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
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. It only restates that the tool gets details; it does not disclose what those details are, whether the operation is purely read-only, what errors may occur, or what the response format will be.

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 with no filler. It is appropriately sized for a simple one-parameter lookup and front-loads the core purpose effectively.

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

Completeness3/5

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

Given the tool's simplicity and full schema coverage, the description is minimally viable. However, with no output schema and no annotation safety profile, the lack of any detail about return values or behavioral constraints leaves meaningful gaps for an agent.

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 schema already fully documents the single 'projectKey' parameter with 100% coverage. The description adds no additional formatting, examples, or constraints beyond what the schema provides, so it meets the baseline without enriching parameter semantics.

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?

The description clearly identifies the verb ('Get'), the resource ('details of a specific Jira project'), and the singular scope, which distinguishes it from jira_get_projects. An agent can easily tell that this is for one project rather than a list.

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?

The word 'specific' implies this is the tool to use when a particular project key is already known, but the description does not explicitly state when to prefer jira_get_projects for listing or provide exclusions. Usage context is only implied, not clearly documented.

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