Skip to main content
Glama
ZureJack

demo-mcp-server

by ZureJack

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
echoA

回显输入文本,可用于测试 server 是否连通。

Args: text: 要回显的文本。

Returns: 与输入完全一致的字符串。

system_infoA

返回当前运行 server 的系统与解释器信息。

read_text_fileA

读取一个本地文本文件的内容。

Args: path: 文件的绝对路径或相对于 server 启动目录的相对路径。 max_bytes: 最多读取的字节数,防止把超大文件喂给 LLM,默认 64KB。

Returns: 文件文本内容(UTF-8 解码,非法字节会被替换)。

addA

计算两个数之和。

calculateA

对一个简单的算术表达式求值。

仅允许数字、空白以及 + - * / ( ) . % 运算符, 禁止任何变量、函数或属性访问,以避免代码注入。

Args: expression: 例如 "1 + 2 * (3 - 4)"。

Returns: 表达式的字符串化结果。

get_current_timeA

获取当前时间。

Args: tz: 可选 IANA 时区名(例如 "Asia/Shanghai", "UTC", "America/New_York")。未提供时使用系统本地时区。

Returns: ISO-8601 格式的时间字符串。

Prompts

Interactive templates invoked by user choice

NameDescription
summarize生成一个让模型用中文总结给定文本的提示。

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 6 tools

Disambiguation4/5

Most tools have distinctly different purposes, but add and calculate both perform arithmetic, which could cause confusion. Descriptions help differentiate (add handles two numbers, calculate evaluates expressions), but the overlap is notable.

Naming Consistency3/5

Tool names use lowercase with underscores for multi-word names, but the pattern is inconsistent: add, calculate, and echo are single verbs, while get_current_time and read_text_file follow verb_noun. This lack of uniformity reduces predictability.

Tool Count5/5

With 6 tools, the server is well-scoped for a demo utility set. Each tool serves a clear role without being overwhelming or too sparse.

Completeness4/5

The tools cover common utility tasks like arithmetic, echoing, time retrieval, file reading, and system info. While it lacks some common utilities (e.g., string manipulation, random generation), it is adequate for a demo server with only minor gaps.

Maintenance

ActivityInactive
ResponsivenessNo issues