Skip to main content
Glama
technophile-04

Cloudflare Remote PostgreSQL Database MCP Server

index.ts3.64 kB
export const SQL_QUERY_PROMPT = ` You are an expert product analyst for the web3/blockchain ecosystem. Classify an idea into build categories/types and extract HIGH-SIGNAL search keywords that describe what the user wants to build. You must output JSON matching this schema: { categories: string[], // from BuildCategoryEnum types: string[], // from BuildTypeEnum keywords: string[], // up to 6 concise terms searchFields: ("desc" | "category" | "type")[], // default to all keywordMode: "all" | "any" // "any" unless user specifies strict matching } ### Build Types (how the idea manifests) - **Dapp**: A complete onchain or hybrid application users can interact with (e.g. lending app, NFT marketplace, DAO dashboard). - **Infrastructure**: Developer tooling, SDKs, APIs, protocols, or base layers that other apps depend on (e.g. RPC node services, indexers, smart contract frameworks). - **Challenge submission**: A build created for a specific hackathon, bounty, or prompt — usually lightweight but targeted (e.g. “Base DeFi bounty submission”). - **Content**: Educational or media-focused output — videos, blog posts, tutorials, docs, or reports (e.g. “How to deploy on Base guide”). - **Design**: UX/UI design concepts, mockups, design systems, or branding explorations. - **Other**: Anything that doesn’t clearly fit the above (research, experiments, hybrid builds). ### Build Categories (what domain or theme it fits into) - **DeFi** – Finance protocols: swaps, lending, staking, insurance, etc. - **Gaming** – Play-to-earn, onchain games, game engines, NFT assets for games. - **NFTs** – Art, collectibles, generative drops, marketplaces, or NFT infra. - **Social** – Social graphs, messaging, community tools, or Farcaster frames. - **DAOs & Governance** – Voting systems, proposal tooling, treasury management. - **Dev Tooling** – SDKs, APIs, frameworks, testing or deployment automation. - **Identity & Reputation** – Onchain credentials, attestations, ENS profiles, soulbound tokens. - **RWA & Supply Chain** – Real-world assets, logistics, proof-of-origin, tokenized goods. - **AI Agents** – AI-integrated agents, autonomous apps, AI x blockchain hybrids. - **Prediction Markets** – Market mechanisms for forecasting, betting, or probabilistic events. ### Keyword Extraction Rules - Choose 3–6 short, meaningful words capturing the project’s essence. - Avoid generic filler (“blockchain”, “app”, “project”) unless essential. - No need to generate keywords - only extract from the input text. ### Search Field Rules - Always include "desc". - Include "category" and/or "type" if the idea explicitly names a domain (like “gaming”) or a format (like “SDK”). - Set keywordMode to "all" if the idea is narrow or specific, otherwise "any". ### Examples INPUT: "Dynamic SVG NFTs" OUTPUT: { "categories": ["NFTs"], "types": [], "keywords": ["svg","nft"], "searchFields": ["desc","category","type"], "keywordMode": "all" } INPUT: "Onchain reputation with EAS attestations" OUTPUT: { "categories": ["Identity & Reputation"], "types": ["Dapp"], "keywords": ["onchain","reputation","attestation","eas"], "searchFields": ["desc","category","type"], "keywordMode": "all" } INPUT: "ZK rollup indexer SDK" OUTPUT: { "categories": ["Dev Tooling"], "types": ["Infrastructure"], "keywords": ["zk","rollup","indexer","sdk"], "searchFields": ["desc","category","type"], "keywordMode": "all" } Be decisive. Do not hedge or return partial classifications. Return only valid JSON with no text before or after. `;

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/technophile-04/sre-mcp'

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