Skip to main content
Glama

explain_concept

Get a beginner-friendly explanation of any MCP concept to better understand tools, resources, prompts, servers, clients, and frameworks. Ideal for developers new to Model Context Protocol.

Instructions

Get a beginner-friendly explanation of an MCP concept

Input Schema

NameRequiredDescriptionDefault
conceptYesThe MCP concept to explain (e.g., 'tools', 'resources', 'prompts', 'server', 'client', 'server_types', 'frameworks', 'clients')

Input Schema (JSON Schema)

{ "properties": { "concept": { "description": "The MCP concept to explain (e.g., 'tools', 'resources', 'prompts', 'server', 'client', 'server_types', 'frameworks', 'clients')", "type": "string" } }, "required": [ "concept" ], "type": "object" }

Implementation Reference

  • Handler implementation for the 'explain_concept' tool. Matches tool name, extracts concept from args, looks up explanation from predefined map, and returns markdown-formatted text response.
    if (name === "explain_concept" && args) { const concept = (args.concept as string).toLowerCase(); const explanations: Record<string, string> = { "tools": "Tools are functions that LLMs can call to perform actions. Think of them like special commands that Claude can use to do things like search data, make API calls, or perform calculations. Every tool has a name, description, and a schema that defines what information it needs.\n\nFor example, a weather tool might need a city name to fetch the forecast. The LLM reads the tool descriptions and decides when to use them based on the user's requests. For safety, tools always require user approval before executing.", "resources": "Resources are pieces of data that can be read by LLMs, like files, API responses, or database records. Each resource has a unique URI (like a web address) that identifies it. Resources can contain text (like code or documents) or binary data (like images).\n\nUnlike tools which perform actions, resources just provide information. They're great for giving LLMs access to documentation, configuration files, or other reference material.", "prompts": "Prompts are pre-written templates that help guide conversations with LLMs. They can include dynamic parts that get filled in with specific information. Prompts often show up as slash commands or menu options in chat interfaces.\n\nFor example, a code review prompt might have placeholders for the programming language and code to review. This helps ensure consistent and effective interactions.", "server": "An MCP server is a program that provides tools, resources, and prompts to LLMs. It's like a bridge between AI models and your data or systems. Servers can be simple (like providing access to local files) or complex (like connecting to databases or APIs).\n\nServers use a standard protocol (MCP) to communicate, which means they work with any MCP-compatible client like Claude Desktop.", "client": "An MCP client is a program that connects to MCP servers and coordinates interactions with LLMs. Claude Desktop is an example of a client - it manages connections to servers, handles user permissions, and presents tools and resources in its interface.\n\nClients act as middlemen, ensuring secure and controlled access to server capabilities.", "server_types": "MCP servers come in many specialized types:\n\n" + "📂 Browser Automation: Web scraping and interaction\n" + "☁️ Cloud Platforms: Manage cloud infrastructure\n" + "🖥️ Command Line: Execute shell commands securely\n" + "💬 Communication: Integrate with messaging platforms\n" + "🗄️ Databases: Query and analyze data\n" + "🛠️ Developer Tools: Enhance development workflows\n" + "📂 File Systems: Access and manage files\n" + "🧠 Knowledge & Memory: Maintain persistent context\n" + "🔎 Search: Web and data search capabilities\n" + "🔄 Version Control: Git and repository management", "frameworks": "MCP has several frameworks for building servers:\n\n" + "- TypeScript SDK: Official TypeScript implementation\n" + "- Python SDK: Official Python implementation\n" + "- Kotlin SDK: Official Kotlin implementation\n" + "- FastMCP: High-level Python framework\n" + "- LiteMCP: High-level TypeScript framework\n" + "- MCP-Go: Golang SDK\n\n" + "These frameworks provide tools and utilities for building MCP servers efficiently.", "clients": "Popular MCP clients include:\n\n" + "- Claude Desktop: Official Anthropic client\n" + "- Zed: Multiplayer code editor\n" + "- Continue: VSCode extension\n" + "- Firebase Genkit: Agent framework\n" + "- MCP-Bridge: OpenAI middleware proxy\n\n" + "Clients can connect to multiple servers and manage their capabilities." }; const explanation = explanations[concept]; if (!explanation) { return { content: [{ type: "text", text: `I don't have an explanation for "${concept}" yet. Available concepts: ${Object.keys(explanations).join(", ")}` }] }; } return { content: [{ type: "text", text: explanation }] }; }
  • Schema definition for the 'explain_concept' tool, including input schema requiring a 'concept' string parameter.
    { name: "explain_concept", description: "Get a beginner-friendly explanation of an MCP concept", inputSchema: { type: "object", properties: { concept: { type: "string", description: "The MCP concept to explain (e.g., 'tools', 'resources', 'prompts', 'server', 'client', 'server_types', 'frameworks', 'clients')", } }, required: ["concept"] } },
  • src/index.ts:255-303 (registration)
    Registration of the 'explain_concept' tool in the ListToolsRequestSchema handler, where it is included in the list of available tools returned to clients.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: [ { name: "explain_concept", description: "Get a beginner-friendly explanation of an MCP concept", inputSchema: { type: "object", properties: { concept: { type: "string", description: "The MCP concept to explain (e.g., 'tools', 'resources', 'prompts', 'server', 'client', 'server_types', 'frameworks', 'clients')", } }, required: ["concept"] } }, { name: "show_example", description: "Show a practical example of an MCP feature", inputSchema: { type: "object", properties: { feature: { type: "string", description: "The MCP feature to demonstrate (e.g., 'tool_call', 'resource_read', 'prompt_template')", } }, required: ["feature"] } }, { name: "list_servers", description: "List available MCP servers by category", inputSchema: { type: "object", properties: { category: { type: "string", description: "Server category to list (e.g., 'browser', 'cloud', 'command_line', 'communication', 'database', 'developer', 'filesystem', 'search', 'all')", enum: ["browser", "cloud", "command_line", "communication", "customer_data", "database", "developer", "data_science", "filesystem", "finance", "knowledge", "location", "monitoring", "search", "security", "compliance", "travel", "version_control", "other", "all"] } }, required: ["category"] } } ] }; });

Other Tools

Related 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/qpd-v/mcp-guide'

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