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

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

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"]
            }
          }
        ]
      };
    });
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. While 'Get' implies a read operation, the description doesn't address important behavioral aspects like whether this requires authentication, rate limits, what format the explanation returns, or if it's cached. For a tool with zero annotation coverage, this is a significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that states the core purpose without unnecessary words. It's appropriately sized for a simple tool and front-loads the essential information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity (1 parameter, no output schema, no annotations), the description is minimally adequate but lacks completeness. It doesn't explain what the output looks like (text format, length, structure) or provide behavioral context needed since annotations are absent. A 3 reflects the minimum viable level for this simple tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents the single parameter 'concept' with examples. The description doesn't add any parameter-specific information beyond what's in the schema, such as explaining the 'beginner-friendly' aspect relates to the output rather than parameter handling. Baseline 3 is appropriate when schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('Get') and resource ('explanation of an MCP concept'), and specifies the target audience ('beginner-friendly'). However, it doesn't distinguish this tool from its sibling tools (list_servers, show_example), which would require a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus its siblings (list_servers, show_example). It doesn't mention any prerequisites, alternatives, or exclusions, leaving the agent with no contextual usage information.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

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