Skip to main content
Glama

promote_prompt

Move prompts between environments like staging to production by copying current versions to target collections for deployment management.

Instructions

Promote a prompt from one environment to another (e.g., staging → prod). Copies the current version to the target environment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
source_prompt_idYesSource prompt ID or slug (e.g., staging prompt)
target_collection_idYesTarget collection ID for the promoted prompt
target_nameNoTarget prompt name (defaults to source name with env suffix replaced)
target_envYesTarget environment
virtual_keyNoVirtual key ID to use (defaults to source prompt's virtual_key)
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions copying the current version, which hints at non-destructive behavior, but fails to disclose critical details like required permissions, whether it overwrites existing prompts in the target, error handling, or rate limits. This is inadequate for a mutation tool with zero annotation coverage.

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?

The description is a single, efficient sentence that front-loads the core action and includes a clarifying example. Every word earns its place with no redundancy or unnecessary details.

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

Completeness2/5

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

For a mutation tool with no annotations and no output schema, the description is incomplete. It lacks information on behavioral traits (e.g., permissions, side effects), return values, and error cases. Given the complexity of promoting resources across environments, more context is needed for safe and effective use.

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 description coverage is 100%, so the schema fully documents all 5 parameters. The description adds no additional parameter semantics beyond implying environment usage, which is already covered by the schema's enum and descriptions. Baseline 3 is appropriate as the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('promote', 'copies') and resource ('prompt'), specifying it moves from one environment to another. It distinguishes from siblings like 'migrate_prompt' by focusing on environment promotion rather than migration, though the distinction could be more explicit.

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 for environment transitions (e.g., staging → prod), providing some context. However, it lacks explicit guidance on when to use this versus alternatives like 'migrate_prompt' or 'update_prompt', and does not mention prerequisites or exclusions.

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/s-b-e-n-s-o-n/portkey-admin-mcp'

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