Skip to main content
Glama

Get Field Options

jira_get_field_options
Read-only

Retrieve valid option values for Jira custom fields like select lists and cascading selects. Use this tool to populate dropdowns or validate field inputs in Atlassian instances.

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 indicate readOnlyHint=true, which the description aligns with by describing a retrieval operation. The description adds valuable behavioral context beyond annotations: it explains platform-specific API differences (Cloud vs Server/DC), auto-resolution behavior for context_id, and filtering capabilities (contains, return_limit). However, it doesn't mention rate limits or authentication requirements, which could be relevant for a Jira API tool.

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: it opens with the core purpose, lists supported field types, explains platform differences, and summarizes the return format. Every sentence adds value—no redundancy or fluff. The parameter explanations in the Args section are clear and directly relevant to usage.

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 (platform-specific behavior, 7 parameters) and the presence of both comprehensive input schema (100% coverage) and output schema (implied by 'Returns' statement), the description is complete. It covers purpose, usage guidelines, behavioral nuances, and return format without needing to duplicate schema details. The context signals indicate all necessary information is provided.

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?

With 100% schema description coverage, the input schema already documents all 7 parameters thoroughly. The description adds minimal parameter semantics beyond the schema—it mentions platform-specific requirements for project_key and issue_type, but most parameter details (like field_id format, contains filtering behavior) are already in the schema. This meets the baseline for high schema coverage.

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 states the specific action ('Get allowed option values') and resource ('for a custom field'), distinguishing it from sibling tools like jira_search_fields (which finds field IDs) and jira_get_issue (which retrieves issue data). It explicitly lists the field types supported (select, multi-select, radio, checkbox, cascading select), making the purpose highly specific and differentiated.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use this tool versus alternatives, noting that 'Use jira_search_fields to find field IDs' in the input schema. It also details platform-specific requirements: Cloud uses Field Context Option API with auto-resolution, while Server/DC requires project_key and issue_type parameters. This clearly defines the context and prerequisites for proper usage.

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