Skip to main content
Glama

rename a sync project

projects_rename
Idempotent

Rename an existing accessible project by changing only its name while keeping its visibility, owner, media, and generations unchanged. Use only when a user explicitly requests the rename.

Instructions

Rename one existing project you can access in the current organization; only the name changes, while visibility, owner, media and generations stay as they are. Use it only when the user explicitly asks to rename that project, never because its name or workflow matches the request or its editor is open; new work gets a new project from projects_create instead. Always pass projectIntent=explicit, including for a project you just created for this request; a rename without it can be refused with PROJECT_INTENT_REQUIRED. A missing, deleted or inaccessible project returns a 404 error. Returns the project's id and new name.

Input Schema

NameRequiredDescriptionDefault
nameYesNew project name, up to 255 characters.
projectIdYesProject to rename (UUID), from projects_list, or from projects_create for the project just made for this request.
projectIntentNoSet to explicit whenever you pass projectId: the user asked to rename this project, selected it in the interface, or it is the project just created for this request. Never infer it from a matching project name, workflow name or open editor.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.4
    • changedInput schema / properties / projectId / description
      Previous value: -"Project to rename, from projects_list or projects_create."New value: +"Project to rename (UUID), from projects_list, or from projects_create for the project just made for this request."
    • changedInput schema / properties / projectIntent / description
      Previous value: -"Required with projectId. Set only for an explicit user project selection/update, or the new project just created for this request. Never infer intent from a matching project name, workflow name or active editor."New value: +"Set to explicit whenever you pass projectId: the user asked to rename this project, selected it in the interface, or it is the project just created for this request. Never infer it from a matching project name, workflow name or open editor."
  2. Changed2 schema fields changed
    • addedInput schema / properties / name / description
      Added value: +"New project name, up to 255 characters."
    • addedInput schema / properties / projectId / description
      Added value: +"Project to rename, from projects_list or projects_create."
  3. Addedv0.1.5

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (which only say non-read-only, idempotent, non-destructive), it discloses the blast radius ("visibility, owner, media and generations stay as they are"), the failure mode (404 for missing, deleted or inaccessible project), and the pre-condition gate that can reject the call. Those are exactly the behavioral facts annotations cannot express.

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?

Three tight sentences: scope first, then the selection rule, then the operational gotcha. No filler. Minor deduction because the projectIntent guidance tracks the schema's own wording closely enough that it partly repeats structured data rather than adding new signal.

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?

For a low-complexity, flat 3-parameter mutation with an output schema present, everything an agent needs is covered: what changes, what does not, when to call it, when not to, the rejection condition, and the error case. Return values are mentioned but the real detail lives in the output schema, which is the right division of labor.

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 the baseline is 3, but the description adds a consequence the schema does not state: omitting or guessing projectIntent "can be refused with PROJECT_INTENT_REQUIRED." That turns a const field into an actionable requirement. The remaining content largely restates the schema's own projectId and projectIntent text, so it stops short of 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?

States a specific verb and resource ("Rename one existing project") plus precise scope ("you can access in the current organization") and the exact field affected ("only the name changes"). It distinguishes itself from the sibling projects_create by naming it as the destination for new work, so an agent can route without opening either schema.

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 an explicit when ("only when the user explicitly asks to rename that project") and an explicit when-not ("never because its name or workflow matches the request or its editor is open"), and names the alternative tool (projects_create) for the excluded case. This is about as complete a selection rule as a description can carry.

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