Skip to main content
Glama

Get Field Options

jira_get_field_options
Read-only

Retrieve valid option values for Jira custom fields, including select and cascading lists. Supports Cloud (auto-resolve context) and Server/DC (requires project and issue type).

Instructions

Get allowed option values for a custom field.

Returns the list of valid options for select, multi-select, radio, checkbox, and cascading select custom fields.

Cloud: Uses the Field Context Option API. If context_id is not provided, automatically resolves to the global context.

Server/DC: Uses createmeta to get allowedValues. Requires project_key and issue_type parameters.

Args: ctx: The FastMCP context. field_id: The custom field ID. context_id: Field context ID (Cloud only, auto-resolved if omitted). project_key: Project key (required for Server/DC). issue_type: Issue type name (required for Server/DC). contains: Case-insensitive substring filter on option values. return_limit: Cap on number of results after filtering. values_only: Return compact format with only value strings.

Returns: JSON string with the list of available options.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
field_idYesCustom field ID (e.g., 'customfield_10001'). Use jira_search_fields to find field IDs.
context_idNoField context ID (Cloud only). If omitted, auto-resolves to the global context.
project_keyNoProject key (required for Server/DC). Example: 'PROJ'
issue_typeNoIssue type name (required for Server/DC). Example: 'Bug'
containsNoCase-insensitive substring filter on option values. Also matches child values in cascading selects.
return_limitNoMaximum number of results to return (applied after filtering).
values_onlyNoIf true, return only value strings in a compact JSON format instead of full option objects.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations only indicate readOnlyHint=true. The description adds critical behavioral details: automatic resolution of global context on Cloud, separate API paths for Cloud vs Server/DC, filtering behavior (contains matches child values), and the compact format option (values_only). No contradictions.

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 efficiently structured with a concise opening sentence, followed by clear paragraphs for Cloud vs Server/DC behavior, then a bulleted Args list. Every sentence adds value, and there is no redundant or verbose content.

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?

Given the tool's complexity (7 parameters, version-specific behavior, output schema present), the description covers all necessary aspects: field type restrictions, Cloud/Server differences, parameter explanations, filtering, and output format options. The presence of an output schema relieves the description from detailing return structure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds meaning beyond the schema: it explains that context_id is auto-resolved to global context for Cloud, that project_key and issue_type are required for Server/DC, and that return_limit is applied after filtering. It also clarifies the contains filter applies to child values in cascading selects.

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 precisely states 'Get allowed option values for a custom field' and lists the field types supported (select, multi-select, etc.). It clearly differs from sibling tools like jira_search_fields, which finds field IDs rather than retrieving their options.

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

Usage Guidelines4/5

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

The description provides clear guidance on Cloud vs Server/DC usage, explaining when to use context_id versus project_key and issue_type. It implicitly tells the agent when not to use this tool (e.g., for other field types not listed) but does not explicitly mention alternatives.

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/GeiserX/atlassian-browser-mcp'

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