Skip to main content
Glama

Get All Projects

jira_get_all_projects
Read-only

Retrieve all Jira projects accessible to your account, including optional archived projects, to manage and analyze project data.

Instructions

Get all Jira projects accessible to the current user.

Args: ctx: The FastMCP context. include_archived: Whether to include archived projects.

Returns: JSON string representing a list of project objects accessible to the user. Project keys are always returned in uppercase. If JIRA_PROJECTS_FILTER is configured, only returns projects matching those keys.

Raises: ValueError: If the Jira client is not configured or available.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
include_archivedNoWhether to include archived projects in the results

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations provide readOnlyHint=true, which the description aligns with by describing a read operation. The description adds valuable behavioral context beyond annotations: it specifies that project keys are always returned in uppercase, mentions the JIRA_PROJECTS_FILTER configuration effect, and details error conditions (ValueError for client issues). This enriches the agent's understanding of the tool's behavior.

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?

The description is well-structured with clear sections (Args, Returns, Raises) and front-loaded the core purpose. It is appropriately sized without unnecessary fluff, though the Args section slightly repeats schema information. Every sentence serves a purpose, such as clarifying output format and error conditions.

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 low complexity (1 parameter, read-only), rich annotations (readOnlyHint), and the presence of an output schema (implied by 'Has output schema: true'), the description is complete. It covers purpose, parameter context, return value details (including formatting and configuration effects), and error handling, leaving no significant gaps for the 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 input schema has 100% description coverage, with the parameter 'include_archived' fully documented in the schema. The description adds minimal value beyond the schema by briefly mentioning the parameter in the Args section but does not provide additional semantics or usage nuances. 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 all Jira projects') and resource ('accessible to the current user'), distinguishing it from sibling tools like 'jira_get_project_issues' or 'jira_get_project_components' which focus on specific project details rather than listing all projects. The verb 'Get all' is precise and unambiguous.

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 description implies usage by stating it retrieves projects 'accessible to the current user' and mentions the 'JIRA_PROJECTS_FILTER' configuration, which provides some context. However, it does not explicitly state when to use this tool versus alternatives like 'jira_search' or 'jira_get_project_issues', nor does it provide exclusions or prerequisites beyond the error handling note.

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