Skip to main content
Glama

๐Ÿš€ MCP Server App

Complete MCP Server with LangGraph Agent Integration

This project demonstrates a comprehensive Model Context Protocol (MCP) server with LangGraph agent integration, showcasing how to build powerful AI workflows that can interact with custom tools and external APIs.

Related MCP server: mcp-server

๐Ÿ”„ Architecture Overview

graph TD
    subgraph "๐Ÿš€ MCP Server App Architecture"
        subgraph "Client Layer"
            A["๐Ÿค– LangGraph Agent<br/>ChatOpenAI + ReAct"] 
            B["๐Ÿ’ป Interactive Examples<br/>Quick Demo Mode"]
            C["๐Ÿงช Pytest Test Suite<br/>8 Comprehensive Tests"]
        end
        
        subgraph "MCP Integration"
            D["๐Ÿ”Œ MultiServerMCPClient<br/>langchain-mcp-adapters"]
            E["๐Ÿ“ก STDIO Transport<br/>Process Communication"]
        end
        
        subgraph "Server Layer"
            F["โšก FastMCP Server<br/>Python MCP Framework"]
            G["๐ŸŽฒ Dice Roller<br/>Custom Notation Parser"]
            H["๐Ÿ” Web Search<br/>Tavily API Integration"]
            I["๐Ÿ“ฑ Social Creator<br/>Unsplash + Quotable APIs"]
            M["๐Ÿ™ GitHub Tools<br/>Repository & File Access"]
        end
        
        subgraph "External APIs"
            J["๐ŸŒ Tavily Search API<br/>Real-time Web Data"]
            K["๐Ÿ“ธ Unsplash API<br/>High-Quality Images"]
            L["๐Ÿ’ญ Quotable API<br/>Inspirational Quotes"]
            N["๐Ÿ”— GitHub API<br/>Public Repository Data"]
        end
    end
    
    %% Connections
    A --> D
    B --> D
    C --> F
    D --> E
    E --> F
    F --> G
    F --> H
    F --> I
    F --> M
    H --> J
    I --> K
    I --> L
    M --> N
    
    %% Styling
    classDef clientStyle fill:#e1f5fe,stroke:#01579b,stroke-width:2px,color:#000
    classDef mcpStyle fill:#f3e5f5,stroke:#4a148c,stroke-width:2px,color:#000
    classDef serverStyle fill:#e8f5e8,stroke:#1b5e20,stroke-width:2px,color:#000
    classDef apiStyle fill:#fff3e0,stroke:#e65100,stroke-width:2px,color:#000
    
    class A,B,C clientStyle
    class D,E mcpStyle
    class F,G,H,I,M serverStyle
    class J,K,L,N apiStyle

Architecture Components

  1. MCPLangGraphAgent: Main agent class that connects LangGraph to MCP

  2. MultiServerMCPClient: Handles communication with MCP servers

  3. ReAct Agent: Uses reasoning and acting to solve problems

  4. StateGraph: More complex workflow management

  5. MCP Tools: Your custom tools (dice, web search, content creation)

๐ŸŽฏ What This Project Enables

Your AI agents can now:

  • ๐ŸŽฒ Roll dice using natural language and D&D notation

  • ๐Ÿ” Search the web for real-time information via Tavily API

  • ๐ŸŽจ Create social media posts with images and inspirational text

  • ๐Ÿ–ผ๏ธ Find presentation images for slides and presentations

  • ๐Ÿ’ฌ Generate quote cards with backgrounds and motivational content

  • ๐Ÿ™ Search GitHub repositories by query with detailed information

  • ๐Ÿ“ Browse GitHub files and get repository contents

  • ๐Ÿ“„ Read GitHub files directly from any public repository

๐Ÿ—๏ธ Project Structure

AIE7-MCP-Session/
โ”œโ”€โ”€ ๐Ÿ“ server/                 # MCP Server Components
โ”‚   โ”œโ”€โ”€ __init__.py           # Server module initialization
โ”‚   โ”œโ”€โ”€ main.py              # Main MCP server entry point
โ”‚   โ”œโ”€โ”€ dice_roller.py       # Dice rolling tool implementation
โ”‚   โ”œโ”€โ”€ dice_roller_numpy.py # NumPy-based dice roller variant
โ”‚   โ”œโ”€โ”€ social_content_creator.py # Social media content creation tools
โ”‚   โ””โ”€โ”€ github_tool.py       # GitHub API integration tools
โ”‚
โ”œโ”€โ”€ ๐Ÿ“ client/                # Client Components  
โ”‚   โ”œโ”€โ”€ __init__.py          # Client module initialization
โ”‚   โ””โ”€โ”€ langgraph_agent.py   # LangGraph agent implementation
โ”‚
โ”œโ”€โ”€ ๐Ÿ“ tests/                 # Test Files
โ”‚   โ”œโ”€โ”€ __init__.py          # Tests module initialization
โ”‚   โ”œโ”€โ”€ test_server.py       # Basic MCP server tests
โ”‚   โ””โ”€โ”€ test_mcp_integration.py # Integration tests
โ”‚
โ”œโ”€โ”€ ๐Ÿ“ examples/              # Usage Examples
โ”‚   โ”œโ”€โ”€ __init__.py          # Examples module initialization
โ”‚   โ””โ”€โ”€ example_langgraph_usage.py # LangGraph usage examples
โ”‚
โ”œโ”€โ”€ ๐Ÿ“„ run_server.py         # Convenient server entry point
โ”œโ”€โ”€ ๐Ÿ“„ run_client.py         # Convenient client entry point
โ”œโ”€โ”€ ๐Ÿ“„ pyproject.toml        # Project dependencies
โ”œโ”€โ”€ ๐Ÿ“„ .env.sample           # Environment variables template
โ””โ”€โ”€ ๐Ÿ“„ README.md             # This documentation

๐Ÿš€ Quick Start Guide

Prerequisites

  • Python 3.13+

  • OpenAI API Key (required for LangGraph agent)

  • Tavily API Key (required for web search)

  • Unsplash API Key (optional - falls back to Lorem Picsum)

  • GitHub Token (optional - enables private repository access)

Installation Steps

1. Clone & Setup

git clone <repository-url>
cd AIE7-MCP-Session
cp .env.sample .env

2. Configure API Keys Edit .env file:

OPENAI_API_KEY=your_openai_key_here     # Required
TAVILY_API_KEY=your_tavily_key_here     # Required  
UNSPLASH_ACCESS_KEY=your_key_here       # Optional
GITHUB_TOKEN=ghp_your_token_here        # Optional

3. Install Dependencies

uv sync    # Recommended
# OR: pip install -r requirements.txt

4. Verify Installation

uv run tests/test_mcp_integration.py    # Test components
uv run run_client.py                    # Interactive demo
uv run run_server.py                    # Test server

๐Ÿ› ๏ธ Available Tools

Tool

Description

Example Usage

web_search

Search the web via Tavily API

"What's the latest in AI?"

roll_dice

Roll dice with D&D notation

"Roll 3d6 for character stats"

create_social_post

Generate social media content

"Create a LinkedIn post about Python"

get_slide_image

Find presentation images

"Get images for machine learning slides"

create_quote_card

Generate inspirational quotes

"Make a quote card about innovation"

๐Ÿ“ Usage Examples

Basic MCP Server Usage

# Start the MCP server
uv run run_server.py

# In another terminal, test with a simple client
uv run tests/test_server.py

LangGraph Agent Integration

Step-by-Step Demo

1. Start the Interactive Client

uv run run_client.py

2. Choose Demo Mode

๐Ÿš€ LangGraph + MCP Integration Examples
Choose what to run:
1. Quick Examples        # Automated demonstrations
2. Interactive Mode      # Chat with the agent
3. Compare ReAct vs StateGraph  # See different agent patterns

Enter choice (1-3): 1

3. Watch the Agent Work The agent will automatically demonstrate:

  • Rolling dice with natural language

  • Searching the web for current information

  • Creating social media posts with images

  • Finding presentation-ready images

  • Generating inspirational quote cards

Code Examples

Basic Usage:

from client.langgraph_agent import MCPLangGraphAgent

# Create and initialize agent
agent = MCPLangGraphAgent()
await agent.initialize()

# Simple tool usage
result = await agent.chat("Roll 2d20")

# Multi-tool coordination
result = await agent.chat("Roll 2d20 and create a social media post about the results")

Advanced Workflows:

# Complex multi-tool coordination
result = await agent.chat(
    "Search for AI news, create a LinkedIn post about it, and get a slide image"
)

# StateGraph for complex workflows
result = await agent.chat_with_state_graph(
    "Research machine learning trends and prepare presentation materials"
)

๐Ÿ“ก STDIO Transport Communication

Our MCP Server App uses STDIO transport for seamless process-to-process communication between the LangGraph agent and FastMCP server.

๐Ÿ”ง 1. Server Side - FastMCP Server

Files: server/main.py and run_server.py

# server/main.py (line 48)
if __name__ == "__main__":
    mcp.run(transport="stdio")

# run_server.py (line 20)
main.mcp.run(transport="stdio")
  • The FastMCP server runs with STDIO transport

  • This means it communicates via standard input/output rather than HTTP

  • Perfect for process-to-process communication

๐Ÿ”Œ 2. Client Side - MCP Configuration

File: client/langgraph_agent.py (lines 55-61)

self.mcp_config = {
    "my-mcp-server": {
        "command": "uv",
        "args": ["--directory", current_dir, "run", "run_server.py"],
        "transport": "stdio",  # โ† STDIO specified here
    }
}
  • The MultiServerMCPClient is configured to use STDIO transport

  • It spawns the server process (uv run run_server.py)

  • Communicates via stdin/stdout pipes

๐ŸŒŠ 3. How STDIO Transport Works

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    STDIO     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  LangGraph      โ”‚โ—„โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚   FastMCP       โ”‚
โ”‚  Agent          โ”‚   (pipes)    โ”‚   Server        โ”‚
โ”‚  (Client)       โ”‚              โ”‚   (Process)     โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜              โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Process:

  1. Client (LangGraph agent) starts the server process

  2. STDIO pipes connect the two processes

  3. JSON-RPC messages flow over stdin/stdout

  4. Server responds to tool calls via the same pipes

๐ŸŽฏ Why STDIO?

  • Process isolation: Server runs in separate process

  • Clean communication: No network ports or HTTP servers needed

  • MCP standard: Official MCP protocol transport method

  • Development friendly: Easy to debug and test locally

The STDIO transport is the backbone that enables our LangGraph agent to seamlessly communicate with the FastMCP server!

๐Ÿ”ง Configuration

Environment Variables

Create a .env file with the following:

# REQUIRED: OpenAI API Key for LangGraph agent
OPENAI_API_KEY=your_openai_api_key_here

# REQUIRED: Tavily API Key for web search functionality
TAVILY_API_KEY=your_tavily_api_key_here

# OPTIONAL: Unsplash API Key for high-quality images
# If not provided, the system will use Lorem Picsum as fallback
UNSPLASH_ACCESS_KEY=your_unsplash_access_key_here

# OPTIONAL: GitHub Personal Access Token for private repository access
# Create at: https://github.com/settings/tokens
# Scopes needed: repo (for private repos), public_repo (for public repos)
GITHUB_TOKEN=ghp_your_github_personal_access_token_here

# OPTIONAL: LangChain API Key for LangSmith tracing/monitoring
# Only needed if you want to use LangSmith for debugging/monitoring
LANGCHAIN_API_KEY=your_langchain_api_key_here

๐Ÿ” GitHub Token Setup (Optional)

To access your private repositories, create a GitHub Personal Access Token:

  1. Go to: https://github.com/settings/tokens

  2. Click: "Generate new token" โ†’ "Generate new token (classic)"

  3. Set scopes:

    • โœ… repo (for private repositories)

    • โœ… public_repo (for public repositories)

  4. Copy token and add to .env:

    GITHUB_TOKEN=ghp_your_personal_access_token_here

Without a token: Only public repositories are accessible
With a token: Full access to your private and public repositories

MCP Configuration for Cursor

To use this MCP server with Cursor, add to your ~/.cursor/mcp.json:

{
  "mcpServers": {
    "mcp-server": {
      "command": "uv",
      "args": ["--directory", "/absolute/path/to/AIE7-MCP-Session", "run", "run_server.py"]
    }
  }
}

๐ŸŽฎ Interactive Examples & Workflows

Workflow 1: Content Creation

Input: "Create a motivational post about AI and include a dice roll for fun"

Agent Process:

  1. ๐ŸŽฒ Rolls dice using roll_dice tool

  2. ๐ŸŽจ Creates social post using create_social_post tool

  3. ๐Ÿ”„ Combines results into engaging content

Expected Output:

๐ŸŽฒ Rolled: 18 (excellent!)
๐Ÿ“ฑ Social Post: "Feeling lucky today! Just rolled an 18 - time to tackle that AI project! 
Innovation distinguishes between a leader and a follower. - Steve Jobs
#AI #motivation #lucky18"

Workflow 2: Research & Presentation

Input: "Research machine learning trends and prepare a slide"

Agent Process:

  1. ๐Ÿ” Searches web using web_search tool

  2. ๐Ÿ–ผ๏ธ Finds presentation image using get_slide_image tool

  3. ๐Ÿ“Š Summarizes findings for presentation

Workflow 3: Inspiration Generation

Input: "I need motivation for my startup"

Agent Process:

  1. ๐Ÿ’ฌ Creates quote card using create_quote_card tool

  2. ๐ŸŽจ Generates custom inspirational content

  3. ๐ŸŽฏ Provides actionable motivation

๐Ÿงช Testing

Run All Tests with Pytest

# Run all tests (recommended)
uv run pytest tests/ -v

# Run specific test file
uv run pytest tests/test_server.py -v
uv run pytest tests/test_mcp_integration.py -v

# Run specific test method
uv run pytest tests/test_server.py::TestMCPServer::test_dice_rolling_tool -v

# Run with coverage (if available)
uv run pytest tests/ --cov=server --cov-report=term-missing

Test Coverage

Our comprehensive test suite includes:

  • 7 tests in test_server.py - Server functionality, tool registration, and GitHub tools

  • 3 tests in test_mcp_integration.py - LangGraph integration tests

  • Total: 10 tests covering MCP server, tools, GitHub API integration, and client integration

Manual Testing

# Test server startup
uv run run_server.py

# Test client integration
uv run run_client.py

# Test specific functionality
uv run examples/example_langgraph_usage.py

# Legacy test execution (backwards compatible)
uv run tests/test_server.py

๐Ÿ› ๏ธ Development

Adding New Server Tools

  1. Implement your tool in the server/ directory

  2. Register the tool in server/main.py using @mcp.tool() decorator

  3. Add tests in tests/

  4. Update documentation

Example:

@mcp.tool()
def my_custom_tool(param: str) -> str:
    """Description of what your tool does"""
    return f"Processed: {param}"

Adding New Client Features

  1. Implement features in the client/ directory

  2. Add examples in examples/

  3. Add integration tests in tests/

  4. Update documentation

Entry Points

# Server entry points
uv run server/main.py          # Direct server execution
uv run run_server.py           # Convenient wrapper

# Client entry points  
uv run examples/example_langgraph_usage.py  # Direct examples
uv run run_client.py           # Convenient wrapper

# Testing entry points
uv run tests/test_mcp_integration.py        # Integration tests
pytest tests/                               # All tests

๐ŸŽฎ Live Demo Walkthrough

Quick 5-Minute Demo

Step 1: Setup (1 minute)

# Clone and setup
git clone <repository-url>
cd AIE7-MCP-Session
cp .env.sample .env
# Add your OPENAI_API_KEY and TAVILY_API_KEY to .env

Step 2: Install Dependencies (1 minute)

uv sync

Step 3: Test MCP Server (1 minute)

# Test server works
uv run run_server.py &
sleep 2
pkill -f run_server.py
echo "โœ… Server working!"

Step 4: Run Interactive Demo (2 minutes)

uv run run_client.py
# Choose option 1 for automated examples
# Watch the agent coordinate multiple tools

Expected Demo Output

๐ŸŽฏ Quick LangGraph + MCP Examples
๐Ÿ”น Testing: Roll a d20 for me and tell me what it means for my luck today
๐Ÿ”Œ Connecting to MCP server...
โœ… Connected! Loaded 5 tools
๐Ÿค– Agent: You rolled a 19 on a d20! That's excellent luck - great success awaits!

๐Ÿ”น Testing: Search for recent AI news and create a professional social media post
๐Ÿค– Agent: Here's a professional LinkedIn post about recent AI developments:
๐Ÿ’ก Reflecting on Recent AI Developments...
[Generated post with image and hashtags]

๐ŸŽฏ Use Cases

๐ŸŽฒ Gaming & Entertainment

  • Generate character stats with dice rolls

  • Create social posts about gaming sessions

  • Find fantasy-themed images for campaigns

๐Ÿ“ˆ Business & Marketing

  • Research industry trends

  • Create professional social media content

  • Generate presentation materials

  • Find motivational quotes for teams

๐ŸŽ“ Education & Training

  • Create educational content with images

  • Generate quiz questions with dice randomization

  • Research topics and create summaries

  • Motivational content for students

๐Ÿ’ผ Content Creation

  • Automated social media campaigns

  • Blog post research and imagery

  • Quote cards for inspiration

๐Ÿ™ Developer Workflow

  • Search GitHub repositories for inspiration

  • Browse repository files and structure

  • Read documentation and code examples

  • Analyze open-source project patterns

  • Presentation slide generation

๐Ÿ” Troubleshooting

Common Issues

Error: "OpenAI API key not found"

# Solution: Set your OpenAI API key
echo "OPENAI_API_KEY=your_key_here" >> .env

Error: "MCP server connection failed"

# Solution: Check server is working
uv run run_server.py

Error: "No tools loaded"

# Solution: Ensure MCP server tools are properly decorated
# Check server/main.py has @mcp.tool() decorators

Cursor MCP Issues:

  1. Restart Cursor after updating mcp.json

  2. Check Cursor's Developer Tools โ†’ Console for MCP errors

  3. Ensure absolute paths in MCP configuration

  4. Verify .env file has required API keys

๐Ÿš€ Advanced Usage

Custom Tool Integration

# Add your own MCP tools to server/main.py
@mcp.tool()
def my_custom_tool(param: str) -> str:
    """Description of what your tool does"""
    return f"Processed: {param}"

# Agent will automatically detect and use new tools

Workflow Customization

# Create custom StateGraph workflows
from langgraph.graph import StateGraph, MessagesState

def custom_workflow():
    builder = StateGraph(MessagesState)
    # Add your custom nodes and edges
    return builder.compile()

Language Model Options

# Different OpenAI models
agent = MCPLangGraphAgent()
agent.llm = ChatOpenAI(
    model="gpt-4",           # More powerful
    # model="gpt-4o-mini",   # Cost efficient (default)
    temperature=0.7,         # Creativity level
)

๐Ÿค Integration with Other Systems

This setup follows the patterns from the langchain-mcp-adapters repository, making it compatible with:

  • LangGraph API Server: Deploy as production service

  • Multiple MCP Servers: Connect to multiple tool sources

  • Streamable HTTP: Use HTTP transport for web deployment

  • Custom Headers: Add authentication and custom headers

๐Ÿ“ˆ Benefits of This Architecture

โœ… Clear Separation of Concerns

  • Server logic isolated from client logic

  • Tests separated from implementation

  • Examples clearly organized

โœ… Easy Development

  • Add new tools without affecting client code

  • Test components independently

  • Clear import paths and dependencies

โœ… Production Ready

  • Server can be deployed independently

  • Client can connect to remote servers

  • Scalable architecture for multiple clients

โœ… Maintainable

  • Logical file organization

  • Clear entry points for different use cases

  • Comprehensive testing structure

๐Ÿ“š Next Steps

  1. Explore Examples: Run uv run run_client.py to see all capabilities

  2. Add Custom Tools: Extend server/main.py with your own MCP tools

  3. Create Workflows: Build complex StateGraph workflows for your use cases

  4. Deploy: Consider deploying with LangGraph API server for production

  5. Integrate: Use with Cursor or other MCP-compatible AI assistants

๐Ÿ“„ License

MIT License - see LICENSE file for details.

๐Ÿค Contributing

Contributions are welcome! Please read the contributing guidelines and submit pull requests for any improvements.


Ready to build amazing AI workflows? Start with uv run run_client.py and explore the interactive examples! ๐ŸŽ‰

Available Tools

10 tools
create_quote_cardC

Generate a quote card with inspirational text and background image

ParametersJSON Schema
NameRequiredDescriptionDefault
themeNomotivation

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

C2.8/5.0
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. It does not mention side effects, permissions, or the return format. 'Generate' suggests a creative operation but fails to clarify whether the tool is read-only, mutates state, or has any other behavioral implications.

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

Conciseness4/5

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

The description is a single, clean sentence with no wasted words, and it front-loads the core action. However, it is under-specified for the parameter, making it not fully 'appropriately sized' given the need for more detail.

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

Completeness2/5

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

The tool is simple, but the description still lacks completeness by not explaining the 'theme' parameter or distinguishing from the similar sibling create_social_post. The output schema exists, but the description fails to provide critical usage context that the schema does not cover.

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

Parameters1/5

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

The schema defines only one parameter ('theme') with 0% schema description coverage. The description does not explain what 'theme' means, how it affects the output, or what values are acceptable, leaving the agent without the necessary information to correctly set this parameter beyond using the default.

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

Purpose5/5

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

The description clearly states the tool generates a quote card with inspirational text and a background image, which is a specific and distinct resource from siblings like create_social_post. The verb 'generate' and the noun 'quote card' make the action and object unambiguous.

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 alternatives such as create_social_post or get_slide_image. There are no explicit exclusions, prerequisites, or context indicating when this tool is appropriate over others.

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

create_social_postB

Generate a social media post with image and text for any topic

ParametersJSON Schema
NameRequiredDescriptionDefault
styleNoprofessional
topicYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are present, so the description must carry the full burden of behavioral disclosure. It states it 'generate[s]' a post but does not reveal side effects, persistence, whether it actually publishes to a platform, or any prerequisites. This is a basic action statement without deeper behavioral context.

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 sentence with no filler or redundant information. It is front-loaded with the action and subject, making it immediately understandable and appropriately concise.

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

Completeness2/5

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

Although the tool is simple with two parameters and an output schema, the description lacks critical context about the tool's behavior, such as whether it posts to a social network or just returns generated content. It does not clarify the relationship between image and text or any side effects. A bit more detail would make it complete.

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

Parameters2/5

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

With 0% schema description coverage, the description must compensate for explaining parameters. It implicitly addresses 'topic' via 'any topic', but the 'style' parameter is completely ignored, and no additional meaning is added beyond the schema's field names. The description only partially compensates for the lack of parameter documentation.

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

Purpose5/5

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

The description uses the specific verb 'Generate' and identifies the resource as a 'social media post with image and text', which clearly states what the tool does. It is distinguishable from siblings like web_search and create_quote_card by focusing on social posts with both image and text, though not explicitly differentiating them.

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?

No explicit guidance is provided on when to use this tool versus alternatives such as create_quote_card or get_slide_image. The phrase 'for any topic' implies broad usage but does not clarify exclusions or when a different sibling might be more appropriate. This is minimal guidance at best.

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

get_slide_imageC

Get presentation-ready images for slides and presentations

ParametersJSON Schema
NameRequiredDescriptionDefault
sizeNo1920x1080
topicYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It does not reveal whether the tool searches existing images, generates AI images, what image sources/licenses apply, or whether output is a URL or binary. The vague phrase 'presentation-ready' adds little concrete behavioral detail.

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

Conciseness4/5

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

The description is a single, concise sentence that is easy to scan and front-loaded with the action. It wastes no words, though it sacrifices substance for brevity.

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

Completeness2/5

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

Although the tool is simple with only two parameters and an output schema exists, the description omits essential context such as image sourcing, licensing, acceptable file formats, and any constraints on topic or size. For a tool that retrieves images, the lack of behavioral or usage detail makes it underdeveloped.

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

Parameters2/5

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

Schema description coverage is 0%, so the description should clarify the parameters. It only mentions 'presentation-ready' but does not explain that 'topic' is the subject of the image or that 'size' controls dimensions (despite the default of 1920x1080). The meaning of 'topic' and 'size' remains implicit and under-specified.

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 uses a specific verb ('Get') and resource ('presentation-ready images for slides and presentations'), making the core purpose clear. However, it does not differentiate this tool from siblings like create_quote_card or create_social_post, which could also produce presentation-related visuals.

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?

No guidance is given on when to use this tool vs. alternatives, such as web_search for finding images or create_quote_card for generating quote graphics. The description implies it is for slide-ready images but never states the intended use case or any exclusions.

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

github_auth_statusA

Check GitHub authentication status and rate limits

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden. It clearly indicates a read-only status operation, but doesn't disclose details like error handling, whether authentication is required, or what happens if not authenticated. Given the simplicity of the tool, this is acceptable but not rich.

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 concise sentence that immediately conveys the tool's purpose. No unnecessary words.

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

Completeness4/5

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

Given the tool's simplicity (zero params, output schema present), the description sufficiently covers the functionality. However, it could benefit from noting that it provides rate limit information, which is already named. There is no missing critical information for basic usage. A slight gap is lack of mention that it returns structured auth information, but that's covered by output schema.

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

Parameters4/5

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

The tool has zero parameters, so the description correctly doesn't need to explain parameter meanings. The baseline score of 4 applies due to no parameters.

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

Purpose5/5

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

The description uses a specific verb 'Check' and names the resource 'GitHub authentication status and rate limits'. This is distinct from all sibling tools, which focus on search, repository info, file content, etc. No ambiguity.

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

Usage Guidelines4/5

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

The description provides clear context: the tool is for checking GitHub auth status and rate limits. However, it doesn't explicitly mention when to use it over alternatives, though no sibling directly overlaps. There are no exclusions or alternative tool references.

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

github_get_file_contentB

Get the content of a specific file from a GitHub repository

ParametersJSON Schema
NameRequiredDescriptionDefault
repoYes
ownerYes
branchNomain
file_pathYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states that the tool fetches file content but does not mention how the content is returned (e.g., raw text, base64, metadata), what the default branch behavior is (though the schema has a default), or any error/authentication concerns. This is a thin description for a tool interacting with an external system.

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, focused sentence that uses exactly the words needed to convey the core purpose. It is front-loaded with the verb and resource, contains no fluff, and is appropriately sized for a simple read operation.

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 moderate complexity (4 parameters, external API), the description covers only the basic purpose. The presence of an output schema mitigates the lack of return-value documentation, and the operation is a read, not a mutation. However, it lacks usage guidance and parameter semantics, making it only marginally complete.

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

Parameters2/5

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

The schema has a description coverage of 0%, meaning no parameter is documented in the schema. The description does not compensate by explaining any parameters (owner, repo, file_path, branch). The names are somewhat self-explanatory, but the description adds nothing about the required format or the role of the optional branch, which is a significant gap.

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 action ('Get'), the resource ('content of a specific file'), and the context ('from a GitHub repository'). While it is specific and easy to understand, it does not explicitly differentiate itself from sibling tools like github_list_files or github_get_repository_info, so it falls just short of 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 Guidelines3/5

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

The description implies when to use the tool (when you need file content) but provides no explicit guidance on when not to use it or which alternatives to prefer (e.g., github_list_files for just filenames). There are no prerequisites or exclusions mentioned, so it relies on inference rather than clear direction.

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

github_get_repository_infoC

Get detailed information about a specific GitHub repository

ParametersJSON Schema
NameRequiredDescriptionDefault
repoYes
ownerYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

C2.8/5.0
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. It merely states 'Get detailed information' without disclosing whether authentication is required, what kind of information is returned, or any rate limits or potential side effects. The behavior is opaque beyond the high-level purpose.

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

Conciseness4/5

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

The description is a single sentence and is concise. It is appropriately front-loaded with the core purpose, though it could benefit from a bit more structure (e.g., listing key details) without becoming verbose.

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

Completeness2/5

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

Although an output schema exists (so return values are self-documenting), the description lacks contextual information such as authentication requirements or how this tool compares to similar repository-related tools. Given the minimal description and no annotations, it is incomplete for an agent to safely and correctly invoke the tool in all situations.

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

Parameters1/5

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

The schema has 0% description coverage, and the tool description does not mention the parameters 'owner' and 'repo' or explain their roles. The agent is left to infer that 'owner' is the repository owner and 'repo' is the repository name from the parameter names alone, which is a significant gap.

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

Purpose5/5

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

The description uses a specific verb ('Get') and resource ('detailed information about a specific GitHub repository'), clearly distinguishing it from sibling tools like github_search_repositories or github_get_file_content. It tells the agent exactly what the tool does.

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 alternatives. It does not mention any prerequisites, exclusions, or comparison to sibling tools such as github_search_repositories or github_get_file_content.

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

github_list_filesB

List files and directories in a GitHub repository path

ParametersJSON Schema
NameRequiredDescriptionDefault
pathNo
repoYes
ownerYes
branchNomain

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

B3.4/5.0
Behavior3/5

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

Annotations are absent, so the description carries the full burden. It accurately states the read-only action of listing, but it does not disclose behavioral details such as recursion behavior, pagination, or authentication needs. It is minimally transparent but lacks richness beyond the basic verb.

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, front-loaded sentence with zero redundancy. Every word contributes to the core purpose, making it appropriately concise and efficient.

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?

The tool is relatively simple: it lists files/directories with four parameters and has an output schema. The description covers the core action but does not address edge cases (e.g., empty path, default branch) or provide examples. It is adequate but leaves some contextual gaps, such as the behavior when 'path' is omitted.

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

Parameters2/5

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

Schema description coverage is 0%, meaning no parameter descriptions exist in the schema. The description only references 'path' indirectly, and it does not clarify the meaning of 'owner', 'repo', or 'branch'. Parameter names are self-explanatory, but the description adds little value beyond what the schema already shows.

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

Purpose5/5

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

The description uses the specific verb 'List' and clearly identifies the resource as 'files and directories in a GitHub repository path'. This differentiates it from sibling tools like github_get_file_content (which retrieves file content) and github_repository_info, making the purpose unmistakable.

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?

There is no guidance on when to use this tool versus alternatives, no exclusions, and no mention of when not to use it. For example, it does not explain whether this tool should be preferred over github_get_file_content for exploring a repository tree. The usage context is entirely implied.

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

github_search_repositoriesB

Search for GitHub repositories by query (e.g., 'python machine learning', 'user:microsoft')

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations provided, the description should disclose behavioral traits such as whether authentication is required, whether the operation is read-only, or any rate limits or pagination behavior. The description only states the search action and gives examples, adding no context about side effects, safety, or constraints. This is a notable gap given the presence of a github_auth_status sibling tool.

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, front-loaded sentence that immediately focuses on the primary action and includes helpful query examples. There is no filler or redundant information; every word adds value.

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?

The description provides enough to understand the tool's core purpose, and the existence of an output schema covers return value specifics. However, the lack of usage guidance, parameter clarification for 'limit', and behavioral context (e.g., auth) makes it incomplete for an agent to confidently invoke the tool without additional assumptions. For a simple search tool, it is minimally adequate but has clear gaps.

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

Parameters2/5

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

The schema description coverage is 0%, so the description must compensate for both parameters. It effectively explains the 'query' parameter with examples, but it does not explain the 'limit' parameter at all. The schema defines limit as an integer with default 5, but without a description, the agent cannot know that limit likely controls the maximum number of results returned.

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

Purpose5/5

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

The description states a specific action ('Search for GitHub repositories') with clear resource (GitHub repositories) and method (by query). Examples of query formats help differentiate it from sibling tools like github_get_repository_info or github_list_files, since this is the only search tool among them.

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

Usage Guidelines3/5

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

The description implies usage for searching repositories and provides query examples, but it does not explicitly state when to use this tool instead of alternatives like github_get_repository_info or github_list_files. There is no mention of when not to use it or any prerequisites (e.g., authentication), though the examples offer some contextual hints.

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

roll_diceC

Roll the dice with the given notation

ParametersJSON Schema
NameRequiredDescriptionDefault
notationYes
num_rollsNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

C2/5.0
Behavior1/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. It fails to mention the format of accepted notation, whether the roll is random, any constraints, error behavior, or the return value. This is a significant transparency gap.

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

Conciseness3/5

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

The description is very short and front-loaded, but it is under-specified. Every sentence is technically earned but the content is insufficient. It is concise at the expense of usefulness.

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

Completeness2/5

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

Despite being a simple tool, the description is incomplete for an agent to use it correctly. It does not explain the expected notation syntax or the number of rolls, and while an output schema exists, the description does not help connect inputs to outputs. The description needs more detail to be functionally complete.

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

Parameters1/5

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

Schema description coverage is 0%, so the description must compensate for parameter meaning. It only vaguely references 'notation' and completely ignores the 'num_rolls' parameter. The description provides essentially no semantic information beyond the parameter names.

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

Purpose3/5

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

The description is essentially a restatement of the tool name ('roll dice') with a vague reference to 'given notation'. It communicates the basic action but adds no detail about what notation is or how it differs from other tools. It's minimally clear but not strongly differentiated.

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?

There is no guidance on when to use this tool versus alternatives, nor any context about suitable scenarios. The description simply states the action without implying any usage conditions or exclusions.

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

TDQS

B3.2/5.0
Disambiguation5/5

Each tool targets a distinct purpose: web search, dice rolling, social post creation, slide image generation, quote card creation, and five distinct GitHub operations (search, repo info, file content, file listing, auth status). No two tools have overlapping functionality, and the GitHub prefix clearly separates those tools from the general utilities.

Naming Consistency5/5

All tools use lowercase snake_case with a clear verb_noun pattern (e.g., web_search, roll_dice, create_social_post) and GitHub tools consistently use a github_ prefix followed by a verb_noun structure (e.g., github_search_repositories, github_get_file_content). The naming is highly predictable and conventional.

Tool Count5/5

With 10 tools, the server sits comfortably in the ideal 3-15 range. Each tool contributes a unique capability, and the mix of 5 general content/search utilities and 5 GitHub utilities feels reasonably scoped for a multi-purpose server.

Completeness3/5

The GitHub toolset covers read-only operations and search, but lacks common write operations such as creating issues or pull requests, making it incomplete for full repository management. The general tools are a mixed bag without a coherent domain, leaving obvious gaps (e.g., no generic image generation beyond slides/quote cards). However, the existing tools do cover their immediate stated purposes.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    B
    quality
    C
    maintenance
    Experimental MCP server built with NestJS and LangGraph, enabling tool execution and agent workflows via stdio transport. Supports OpenAI and Ollama models for flexible agent orchestration.
    4

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/ovokpus/MCP-Server-App'

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