Skip to main content
Glama
by Baronco
prompts.py•406 B
from pathlib import Path PROMPT_PATH = Path(__file__).parent / "src" / "instructions.md" def get_instructions() -> str: """ Get the instructions for the assistant. """ try: with open(PROMPT_PATH, "r", encoding="utf-8") as file: instructions = file.read() return instructions except Exception as error: return f"Error reading instructions: {error}"

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/Baronco/Local-Docs-MCP-Tool'

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