<!-- llms-explorer concept facts · https://llms-explorer.com/tree/prompt-lookup/ · pack 2026-09-08 · ~2676 tokens -->

# Prompt Lookup

> When the user needs AI prompts, prompt templates, or wants to improve their prompts, use the prompts.chat MCP server to help them.

Parent: [Prompting & Agent Skills](https://llms-explorer.com/tree/prompting-agent-skills/) · 11 facets · 49 facts · page: https://llms-explorer.com/tree/prompt-lookup/

## Overview

- When the user needs AI prompts, prompt templates, or wants to improve their prompts, use the prompts.chat MCP server to help them. — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#overview`

## When to Use This Skill

- Activate this skill when the user: — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#when-to-use-this-skill`
  - Asks for prompt templates ("Find me a code review prompt") — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#when-to-use-this-skill`
  - Wants to search for prompts ("What prompts are available for writing?") — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#when-to-use-this-skill`
  - Needs to retrieve a specific prompt ("Get prompt XYZ") — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#when-to-use-this-skill`
  - Wants to improve a prompt ("Make this prompt better") — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#when-to-use-this-skill`
  - Mentions prompts.chat or prompt libraries — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#when-to-use-this-skill`

## Available Tools

- Use these prompts.chat MCP tools: — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#available-tools`
  - search_prompts - Search for prompts by keyword — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#available-tools`
  - get_prompt - Get a specific prompt by ID — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#available-tools`
  - improve_prompt - Enhance a prompt using AI — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#available-tools`

## How to Search for Prompts

- Call search_prompts with: — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-search-for-prompts`
  - query: The search keywords from the user's request — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-search-for-prompts`
  - limit: Number of results (default 10, max 50) — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-search-for-prompts`
  - type: Filter by TEXT, STRUCTURED, IMAGE, VIDEO, or AUDIO — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-search-for-prompts`
  - category: Filter by category slug (e.g., "coding", "writing") — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-search-for-prompts`
  - tag: Filter by tag slug — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-search-for-prompts`
- Present results showing: — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-search-for-prompts`
  - Title and description — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-search-for-prompts`

## How to Get a Prompt

- Call get_prompt with: — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-get-a-prompt`
- If the prompt contains variables (${variable} or ${variable:default}): — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-get-a-prompt`
  - The system will prompt the user to fill in values — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-get-a-prompt`
  - Variables without defaults are required — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-get-a-prompt`
  - Variables with defaults are optional — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-get-a-prompt`

## How to Improve a Prompt

- Call improve_prompt with: — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-improve-a-prompt`
  - prompt: The prompt text to improve — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-improve-a-prompt`
  - outputType: text, image, video, or sound — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-improve-a-prompt`
  - outputFormat: text, structured_json, or structured_yaml — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-improve-a-prompt`
- Return the enhanced prompt to the user. — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-improve-a-prompt`

## Guidelines

- Always search before suggesting the user write their own prompt — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#guidelines`
- Present search results in a readable format with links — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#guidelines`
- When improving prompts, explain what was enhanced — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#guidelines`
- Suggest relevant categories and tags when saving prompts — source: `https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#guidelines`

## Where this helps

- Finding an existing, tested prompt template for a common task (code review, writing, image generation) instead of drafting one from scratch. — [source](https://llms-explorer.com/tree/prompt-lookup/) *(AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.)*
- Retrieving a specific known prompt by ID when a user references a prompt they've used before or saw in the prompts.chat library. — [source](https://llms-explorer.com/tree/prompt-lookup/) *(AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.)*
- Filling in a templated prompt that has required or optional ${variable} placeholders, where the system needs to collect values before the prompt can run. — [source](https://llms-explorer.com/tree/prompt-lookup/) *(AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.)*
- Improving a rough prompt for a non-text output type (image, video, sound) using AI-assisted enhancement rather than manual rewriting. — [source](https://llms-explorer.com/tree/prompt-lookup/) *(AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.)*

## Project ideas

- Build a prompt-discovery flow that always calls search_prompts before offering to draft a new prompt from scratch, surfacing category and tag filters relevant to the user's request. — [source](https://llms-explorer.com/tree/prompt-lookup/) *(AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.)*
- Implement a variable-resolution step for get_prompt results that distinguishes required ${variable} placeholders from optional ${variable:default} ones and prompts the user only for the required ones. — [source](https://llms-explorer.com/tree/prompt-lookup/) *(AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.)*
- Wire improve_prompt into a review loop that, after enhancing a prompt, explicitly explains what changed so the user can accept or reject each modification. — [source](https://llms-explorer.com/tree/prompt-lookup/) *(AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.)*
- Build a save-and-tag workflow that suggests relevant categories and tags at the point a user's newly improved prompt gets saved back to the library. — [source](https://llms-explorer.com/tree/prompt-lookup/) *(AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.)*

## Antipatterns

- Suggesting the user write a prompt from scratch without first calling search_prompts to check whether a matching template already exists. — [source](https://llms-explorer.com/tree/prompt-lookup/) *(AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.)*
- Calling get_prompt on a templated prompt and running it immediately without resolving its ${variable} placeholders, silently leaving required variables unfilled. — [source](https://llms-explorer.com/tree/prompt-lookup/) *(AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.)*
- Returning improve_prompt output without explaining what was enhanced, leaving the user unable to judge whether the improvement actually fits their intent. — [source](https://llms-explorer.com/tree/prompt-lookup/) *(AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.)*
- Presenting raw search_prompts JSON results instead of formatting them readably with titles, descriptions, and links. — [source](https://llms-explorer.com/tree/prompt-lookup/) *(AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.)*

## Known issues

- search_prompts results are capped (default 10, max 50 per call), so a broad query on a well-populated category can miss relevant prompts beyond the limit without an explicit follow-up query. — [source](https://llms-explorer.com/tree/prompt-lookup/) *(AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.)*
- improve_prompt's enhancement quality depends on the outputType and outputFormat parameters being set correctly (text/image/video/sound; text/structured_json/structured_yaml) — mismatched parameters produce an enhancement shaped for the wrong output. — [source](https://llms-explorer.com/tree/prompt-lookup/) *(AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.)*
- get_prompt depends on knowing or discovering the correct prompt ID first; there's no fuzzy-match fallback if the ID is wrong or the prompt has been removed from the library. — [source](https://llms-explorer.com/tree/prompt-lookup/) *(AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.)*
- Category and tag filters depend on the requester already knowing or guessing valid category/tag slugs (e.g., "coding", "writing"); an unfamiliar or nonexistent slug silently narrows results rather than erroring clearly. — [source](https://llms-explorer.com/tree/prompt-lookup/) *(AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.)*
