Skip to main content
Glama
Jira MCP Server

Jira MCP Server

by cbagula

jira_discover_custom_fields

Discover all custom fields and their available values for a Jira project, optionally filtered by issue type, to retrieve field options in one call.

Instructions

Automatically discovers all custom fields and their available values for a project. This is the smart way to get all field options at once without manual lookup.

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_discover_custom_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectKeyYesProject key to discover custom fields for
issueTypeIdNoIssue type ID to get field options for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It implies a read operation and bulk retrieval of all values, but never states whether it is side-effect free, whether it hits rate limits given it fetches everything, whether results are cached/fresh, or what shape the returned field/value data takes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the core capability, which is good. The second sentence is promotional ('the smart way', 'without manual lookup') rather than informative, so not every sentence earns its place.

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?

For a simple two-parameter read tool this covers the basic what, but with no output schema the description should at least sketch the return shape (field IDs, names, allowed values) and note the size/cost of an all-fields response. Adequate but with clear gaps.

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 both projectKey and issueTypeId are already documented in the schema. The description adds only that discovery is project-scoped and says nothing about the optional issueTypeId affecting which field options come back, so baseline 3 applies.

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?

States a specific verb and resource: 'discovers all custom fields and their available values for a project'. An agent can tell this is a discovery/enumeration operation, but the description never names the close sibling jira_get_field_options, so differentiation depends on inference.

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 phrase 'the smart way to get all field options at once without manual lookup' implies a bulk alternative to per-field retrieval, but no condition selects this tool over jira_get_field_options or jira_get_create_meta, and there are no when-not or prerequisite statements.

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