Skip to main content
Glama
respanai

Respan MCP Server

Official
by respanai

get_prompt_version_detail

Retrieve detailed configuration and message templates for a specific prompt version. Access model parameters, stop sequences, and metadata to manage prompt iterations.

Instructions

Retrieve detailed information about a specific version of a prompt.

Returns complete version data including:

  • id: Version identifier

  • version: Version number

  • prompt_id: Parent prompt identifier

  • messages: Full prompt template messages array

    • Each message has: role (system/user/assistant), content (template text)

    • Content may contain {{variable}} placeholders for dynamic values

  • model: Model setting for this version

  • temperature: Temperature setting (0.0-2.0)

  • max_tokens: Maximum tokens for completion

  • top_p: Top-p sampling parameter

  • frequency_penalty: Frequency penalty (0.0-2.0)

  • presence_penalty: Presence penalty (0.0-2.0)

  • stop: Stop sequences array

  • created_at: Creation timestamp

  • updated_at: Last update timestamp

  • is_active: Whether this version is active

  • change_notes: Description of changes

  • created_by: Creator information

  • metadata: Custom metadata

Use list_prompts to find prompt_id, then list_prompt_versions to find the version number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionYesVersion number (integer, e.g. 1, 2, 3 — from the 'version' field in list_prompt_versions)
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 provided, the description carries the full disclosure burden. It clearly indicates this is a read-only retrieval operation and enumerates the complete response structure, including messages with role/content and model settings. It does not discuss auth or error scenarios, but for a simple detail-fetch tool the return-value transparency is strong.

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 front-loaded with a clear purpose sentence followed by a structured bullet list of returned fields. The length is justified because there is no output schema to document return values, and the list is well-organized rather than repetitive.

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?

Because no output schema is present, the description fully compensates by documenting all key return fields, including the nested messages array and metadata. It also provides the required lookup workflow, making the tool self-contained for an agent to invoke correctly.

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?

The input schema already has 100% coverage with descriptions for both parameters, including provenance hints like 'from list_prompt_versions.' The description adds a usage sentence reinforcing that connection, but it does not materially extend parameter semantics beyond what the schema provides, so 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 opens with 'Retrieve detailed information about a specific version of a prompt,' which pairs a specific verb with a clearly scoped resource. This distinguishes it from sibling tools like get_prompt_detail and list_prompt_versions by focusing on version-level detail.

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?

The description explicitly states the prerequisite workflow: 'Use list_prompts to find prompt_id, then list_prompt_versions to find the version number.' This provides clear usage context, though it does not explicitly mention when not to use the tool or name alternative tools beyond the prerequisite chain.

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