Skip to main content
Glama

get_prompt_by_id_api_v1_prompts_id

Retrieve a specific prompt by its unique ID from the OpenWebUI admin system. Use this to access prompt details programmatically.

Instructions

Get Prompt By Id

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prompt_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations provided, and the description does not disclose any behavioral traits such as error handling (e.g., behavior when ID not found), rate limits, or side effects. For a read operation, it fails to confirm safety.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is very concise (three words) but lacks essential details. While brevity is positive, it sacrifices completeness, making it minimally adequate.

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?

Output schema exists, so return values are covered, but the description omits typical details for a get-by-id endpoint, such as behavior on missing ID or permission requirements. The tool is simple, but the description could be more complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description adds no information about the prompt_id parameter, such as format, constraints, or examples. The agent must infer all meaning from the parameter name alone.

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 'Get Prompt By Id' uses a specific verb and resource, clearly indicating the action and target. It distinguishes from sibling tools like get_prompt_by_command or get_prompt_list, which operate by different criteria.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives (e.g., get_prompt_by_command, get_prompt_list). The description lacks context about prerequisites or scenarios where this tool is preferred.

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/TETRA-2023/open-webui-mcp'

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