Skip to main content
Glama
respanai

Respan MCP Server

Official
by respanai

deploy_prompt_version

Make a prompt version active for experiments and workflows. Resolves 'Prompt version not found' errors by deploying the version so it can be referenced.

Instructions

Deploy a specific prompt version, making it the active version that experiments (and other workflows) will use.

Background: when you create a prompt version, it starts as a draft (not deployed). The platform requires at least one DEPLOYED version before a prompt can be referenced by version number in experiments or other workflows. If you call create_experiment with a prompt workflow and see "Prompt version X not found", you forgot to deploy.

Tip: in the UI it's common to have multiple versions (draft + deployed). To switch the active version, just deploy the new one — the previous deployed version stays in history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionYesVersion number to deploy as the active version
prompt_idYesUnique prompt identifier (from list_prompts)
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it states that deploying makes the version active, affects experiments/workflows, and that the previous deployed version stays in history. It does not cover permissions or idempotency, but for this simple action the key side effects are disclosed.

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 front-loaded with the core purpose, and every subsequent sentence adds meaningful context: lifecycle background, error diagnosis, and switching behavior. It is somewhat longer than the minimum but every sentence earns its place.

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 simple two-parameter deploy action with no output schema, the description fully covers the important context: why deployment exists, when it is needed, how to recognize a mistake, and what happens to previous versions. It is complete for this tool's complexity.

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 both parameters already described (prompt_id from list_prompts, version number to deploy). The description adds no parameter-specific meaning beyond the schema, so the baseline of 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 first sentence clearly states the verb and resource: 'Deploy a specific prompt version, making it the active version that experiments (and other workflows) will use.' This distinguishes it from creating draft versions and other prompt operations.

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 explanation explicitly describes when deployment is required: to reference a prompt by version number in experiments or workflows, and the error symptom ('Prompt version X not found') indicates a forgotten deployment. The tip about switching the active version and preserving history also clarifies expected usage.

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/respanai/respan-mcp'

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