Skip to main content
Glama

rename_folder

Idempotent

Rename a Jira/Zephyr folder by numeric ID and optionally set custom fields; update stored paths afterward because the change also affects all child folder paths.

Instructions

Rename a folder and/or set its custom fields (PUT /folder/{folderId}). name replaces the name of that ONE folder segment — it is not a path, so it cannot move the folder to another parent, and an empty or whitespace-only name, or "/" or "" in it, is rejected before any HTTP call. The rename changes the full path of this folder and of every folder below it, so paths held elsewhere (the folder argument of create_test_case / create_test_run, TQL folder filters) must be updated afterwards. The API does NOT enforce sibling-name uniqueness here (verified live): renaming a folder to the name of an existing sibling succeeds and leaves two siblings with one name — an ambiguous path — even though create_folder rejects that same path with 400 "already exists". The public Server/DC API v1 cannot LIST folders, so keep the numeric id returned by create_folder — rename_folder and delete_folder need it (otherwise it can only be found in the Jira UI, or with get_folder_tree when the internal API is enabled). Returns { id, name }, where name is the new SINGLE segment — unlike create_folder, which echoes the full path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesNew name of this one folder — a single segment without "/" or "\" and with at least one non-whitespace character, e.g. "Payments". Surrounding spaces are kept verbatim.
folderIdYesNumeric folder id, as returned by create_folder (the public API cannot list folders)
customFieldsNoCustom field values keyed by field name; omit to leave them untouched

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.5

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only provide idempotentHint=true, so the description carries most of the burden and delivers: it discloses that the rename propagates to all descendant folder paths, that the API does NOT enforce sibling-name uniqueness (verified live, contradicting create_folder's 400), and that the public API cannot list folders so the numeric id must be retained. This is exactly the behavioral context beyond annotations that an agent needs.

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?

Front-loaded with the action and endpoint, then the constraints and consequences. Dense but nearly every sentence carries distinct information; the parenthetical asides make it slightly longer than strictly necessary but nothing is wasted.

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?

Despite no output schema, the description documents the return value ({ id, name } with the single-segment semantics), covers all three parameters, the uniqueness hazard, and the id-retention requirement. Nothing an agent needs to call this correctly is missing.

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, but the description adds real meaning beyond the schema: it explains that name replaces ONE segment (not a path), cannot reparent the folder, and contrasts the return's single-segment name with create_folder's full-path echo. customFields omission semantics are already covered by the schema description.

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?

States a specific verb and resource ('Rename a folder') plus the secondary capability ('and/or set its custom fields') and the underlying endpoint PUT /folder/{folderId}. It is immediately distinguishable from siblings create_folder and delete_folder, and it explicitly clarifies that name is a single segment, not a path.

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?

Gives explicit when/when-not guidance: name cannot move a folder, invalid names are rejected before any HTTP call, and the agent is told to update paths held elsewhere (create_test_case/create_test_run folder args, TQL filters) after renaming. It also names the alternative route to finding folder ids (Jira UI or get_folder_tree when the internal API is enabled).

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

Deploy Server

Other Tools