MCP Python Server & Client
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_SERVER_PORT | No | Override server port (default: from settings.yaml) | |
| MCP_LOGGING_LEVEL | No | Override log level (DEBUG, INFO, WARNING, ERROR, CRITICAL) | |
| MCP_TOOLS_WEATHER_API_KEY | No | Override weather API key (secrets should use env vars) | |
| MCP_SECURITY_RATE_LIMIT_PER_MINUTE | No | Override rate limit per minute |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| calculateA | Perform a mathematical calculation. Args: operation: The math operation (add, subtract, multiply, divide, power, sqrt, modulo) a: The first number b: The second number (not used for sqrt) Returns: The calculation result as a string |
| string_operationA | Perform a string manipulation operation. Args: operation: The string operation (reverse, count_words, uppercase, lowercase, title_case, count_chars, replace, truncate) text: The input text to operate on extra: Extra parameter (replacement text for 'replace', or max length for 'truncate') Returns: The operation result as a string |
| get_weatherA | Get current weather or forecast for a city. Args: city: The city name to get weather for forecast_days: Number of days for forecast (0 for current weather only, max 7) Returns: Weather information as a formatted string |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| code_review | Generate a code review prompt for AI-assisted review. Args: code: The source code to review language: Programming language (python, javascript, typescript, java, go, rust, etc.) focus_areas: Comma-separated focus areas (security, performance, readability, etc.) Returns: Structured prompt messages for code review |
| summarize_text | Generate a text summarization prompt. Args: text: The text content to summarize max_length: Maximum number of words in the summary (default 200) style: Summarization style (concise, detailed, executive, technical, casual) Returns: Structured prompt messages for summarization |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| list_files | List all available files that can be read. Returns: JSON array of available file paths |
| system_info | Get comprehensive system information. Returns: JSON object containing platform, Python, memory, disk, and CPU info |
| platform_info | Get platform and OS information only. Returns: JSON object containing platform details |
TDQS
Scored across 3 tools
Each tool has a unique domain: math, weather, and string operations. There is no overlap or ambiguity in their purposes.
All tools follow a consistent verb_noun pattern (calculate, get_weather, string_operation), making them predictable and easy to understand.
The server has only 3 tools, which is on the thin side but acceptable for a focused utility server. Each tool serves a distinct purpose.
The tools cover basic math, weather, and string operations. Minor gaps exist (e.g., no advanced math or weather forecast details), but the set is sufficient for common tasks.