Skip to main content
Glama
Jira MCP Server

Jira MCP Server

by cbagula

jira_get_project_metadata

Fetch Jira project metadata to inspect issue types, custom fields, field options, and requirements, helping you understand project structure and field configurations before creating or updating issues.

Instructions

Fetches comprehensive metadata for a Jira project including available issue types, custom fields, field options, and requirements. Essential for understanding project structure and field configurations.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectKey": "<projectKey>"
    },
    "name": "jira_get_project_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectKeyYesProject key (e.g., CUST)
issueTypeIdNoSpecific issue type ID to get metadata for. If not provided, returns metadata for all issue types
expandFieldsNoWhether to expand field details including custom field options. Default: true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. "Fetches" correctly signals a read operation, and the enumeration of returned data gives useful context about breadth of response. However, it omits anything about permission requirements, response size or latency for a metadata-heavy call, whether results are cached, and how errors on an invalid project key are surfaced.

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?

Two sentences with the payload contents front-loaded and the motivational framing second. No filler or repetition. Slightly more efficient if the second sentence were dropped or folded into the first, but it is tight overall.

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?

With three parameters, no output schema, and no annotations, the description should carry more weight. It conveys the general shape of the response but not its structure, and it is silent on the sibling overlap that matters most for selection. Adequate to identify the tool, insufficient to guarantee a correct first call in a crowded metadata toolset.

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 are already documented in the schema, including the default of true for expandFields and the behavior when issueTypeId is omitted. The description's mention of field options loosely maps to expandFields but adds no syntax, format, or edge-case detail beyond the schema. Baseline 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 opens with a specific verb and resource ("Fetches comprehensive metadata for a Jira project") and enumerates the payload contents: issue types, custom fields, field options, and requirements. That is enough for an agent to know what comes back. It stops short of distinguishing this tool from nearby siblings such as jira_get_project, jira_get_create_meta, or jira_discover_custom_fields, which appear to overlap in subject matter.

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 line "Essential for understanding project structure and field configurations" implies a context of use but never states when to choose this over jira_get_project, jira_get_create_meta, or jira_get_field_options. There are no exclusions, prerequisites, or cost warnings. An agent must infer the routing decision from tool names alone.

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