Skip to main content
Glama
langchain-ai

LangSmith MCP Server

Official
by langchain-ai

get_prompt_by_name

Retrieve a specific prompt template from LangSmith by providing its exact name, enabling prompt reuse and management in language model workflows.

Instructions

Get a specific prompt by its exact name.

Args: prompt_name (str): The exact name of the prompt to retrieve ctx: FastMCP context (automatically provided)

Returns: Dict[str, Any]: Dictionary containing the prompt details and template, or an error message if the prompt cannot be found

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prompt_nameYes

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/langchain-ai/langsmith-mcp-server'

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