Skip to main content
Glama

rename_prompt

Fix typos in prompt names or change version without altering other details. Requires prompt ID, new name, and version.

Instructions

Change an existing prompt's name + version (Pro+ only, POST /v1/prompts/:id/rename). Main use is typo fixes ('customer_supprt' to 'customer_support'). Collision with an existing (name, version) in the account = 409. Since update_prompt never changes name/version by contract, rename is a separate tool for semantic separation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesNew name ([A-Za-z0-9][A-Za-z0-9_-]{0,63})
versionYesNew version ([A-Za-z0-9][A-Za-z0-9._-]{0,63})
promptIdYesTarget prompt id (list_prompts.prompts[].id)
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses that it's Pro+ only, uses POST, changes both name and version, and can cause 409 collision. However, it does not describe the response format or any side effects (e.g., on deployments). Still, key behavioral traits are covered.

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 three sentences long, with each sentence adding value: purpose, use case, and differentiation. It is well-structured and front-loaded but could be slightly more concise (e.g., merging the first two sentences).

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of output schema, the description covers licensing, collision behavior, and distinguishes from related tools. It could mention what the API returns (e.g., the renamed prompt) but is otherwise sufficient for a straightforward rename operation.

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?

Schema coverage is 100% with descriptions for all three parameters. The description adds context about typo fixes and collision but does not add parameter-specific semantics beyond what the schema already provides. Baseline 3 is appropriate.

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 verb 'Change' and resource 'existing prompt's name + version', and distinguishes from update_prompt by noting that update_prompt never changes name/version. The example and explicit reference to POST /v1/prompts/:id/rename provide specific purpose clarity.

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 explicitly says 'Main use is typo fixes' and contrasts with update_prompt, explaining that rename is a separate tool for semantic separation. It also mentions collision with existing (name, version) results in 409 error, providing clear when-to-use and when-not-to-use guidance.

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/argosvix/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server