Skip to main content
Glama

Rename feature id

set_feat_id

Rename a feature ID by validating the new feat-NNN-slug, renaming its folder, and rewriting README frontmatter; it refuses if the target folder already exists.

Instructions

Rename an existing feature's id: validates new_id's feat-NNN-slug shape, refuses if new_id's folder already exists, renames // to /<new_id>/, rewrites the README frontmatter id to new_id, bumps updated, and leaves the body byte-identical. Does not update or search for references to the old id in any other document. Returns the renamed document's frontmatter only (no body); use the corresponding get_feat tool to fetch the full document afterward.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
new_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
typeNofeat
statusNoplanning
createdNo
updatedNo
versionNo1.0.0
classificationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.36.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so thoroughly: it discloses validation of new_id, the refusal condition (folder already exists), the exact mutations (folder rename, frontmatter id rewrite, updated bump), what stays byte-identical (body), and what is deliberately omitted (reference updates). This is unusually complete behavioral disclosure for a mutation 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?

Front-loads the action, then sequences side effects and caveats in a single dense but scannable passage; every clause conveys a distinct behavior (validation, refusal, rename, rewrite, bump, immutability, return scope) with no filler.

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?

Even though an output schema exists, the description adds the useful note that only frontmatter is returned and points to get_feat for the full document. Combined with the mutation and refusal semantics, an agent has everything needed to call this correctly.

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 0%, so the description must compensate; it explains that `id` is the existing id and that `new_id` must match the feat-NNN-slug shape, adding real semantic constraint beyond the bare schema. It doesn't describe length limits or exact slug character rules, so not a full 5.

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?

Opens with a specific verb+resource ('Rename an existing feature's id') and enumerates the exact operations performed (validate, refuse, rename folder, rewrite frontmatter). It is clearly distinguishable from siblings like create_feat, get_feat, and edit.

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?

Explicitly states the precondition for new_id (feat-NNN-slug shape) and that references elsewhere are NOT updated or searched, which steers the agent away from assuming repo-wide consistency. It names get_feat as the follow-up to fetch the body, though it doesn't name an alternative tool for updating references.

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