Skip to main content
Glama
tryp0xy1us

yifanli-mcp-add-demo

yifanli-mcp-add-demo

A minimal MCP Server built with the official Python MCP SDK.

Features

  • Runs locally over stdio

  • Exposes one MCP tool: add

  • Can be launched with uvx yifanli-mcp-add-demo

Tool

add

Adds two integers and returns the result.

Inputs:

  • a: integer

  • b: integer

Output:

  • integer sum

Requirements

  • Python 3.10+

  • uv installed locally

Run Locally

Use uvx after publishing the package:

uvx yifanli-mcp-add-demo

Or run from source in the project directory:

uv run python -m yifanli_mcp_add_demo

Cherry Studio Config

If you want to connect this server in Cherry Studio with stdio, use:

  • Command: uvx

  • Arguments: yifanli-mcp-add-demo

Equivalent JSON-style config:

{
  "mcpServers": {
    "yifanli-mcp-add-demo": {
      "command": "uvx",
      "args": ["yifanli-mcp-add-demo"]
    }
  }
}

Package

This project is packaged for publishing to PyPI and local installation via uvx.

Source code lives in:

  • src/yifanli_mcp_add_demo

Available Tools

1 tool
addB

Add two numbers

ParametersJSON Schema
NameRequiredDescriptionDefault
aYes
bYes

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. 'Add two numbers' implies a simple computation but doesn't specify error handling, numeric limits, or return format. It lacks details about what happens with invalid inputs or edge cases.

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 extremely concise with zero wasted words—'Add two numbers' is a single, clear sentence that front-loads the core functionality. Every word earns its place, making it efficient and easy to parse.

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 (simple arithmetic) and the presence of an output schema (which handles return values), the description is minimally adequate. However, with no annotations and 0% schema coverage, it lacks details on behavioral traits and parameter semantics, leaving room for improvement.

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 0%, so the schema provides no parameter descriptions. The description 'Add two numbers' implies parameters 'a' and 'b' are numbers to be added, adding basic meaning beyond the schema's type definitions. However, it doesn't specify integer-only addition or other constraints, leaving gaps.

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 'Add two numbers' clearly states the tool's purpose with a specific verb ('Add') and resource ('two numbers'), making it immediately understandable. It doesn't need to distinguish from siblings since there are none, so a 4 is appropriate rather than 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 alternatives, prerequisites, or constraints. It simply states what the tool does without any context about appropriate use cases or limitations.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 1 tool updatev0.1.2
    • First observedadd

TDQS

B3.2/5.0
Disambiguation5/5

With only one tool, there is no possibility of confusion or overlap between tools. The tool's purpose is clearly defined as adding two numbers, making it distinct by default.

Naming Consistency5/5

A single tool inherently has perfect naming consistency, as there are no other tools to compare it against. The tool name 'add' is simple and follows a verb-based pattern.

Tool Count2/5

One tool is too few for a server's purpose, as it severely limits functionality and suggests an incomplete or trivial implementation. A single addition operation does not justify a full server scope.

Completeness1/5

The server is severely incomplete, as it only supports adding two numbers with no other arithmetic operations (e.g., subtract, multiply, divide) or related functionalities. This creates significant gaps for any practical use.

Related MCP Connectors

  • An MCP server that provides a hello tool

  • An MCP server that provides a hello tool

  • The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.

  • Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server

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/tryp0xy1us/yifanli-mcp-add-demo'

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