chanthu-nair
MCP Serverchanthu-nairpublic

mcp pages prompt optimisation

构建基于提示的数学计算系统,支持逐步推理和工具调用。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
-
License

About This Server

构建基于提示的数学计算系统,支持逐步推理和工具调用。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

MCP Project – Math Computation Platform with Tool-Based Prompting

This project demonstrates an optimized prompt-based system for structured problem solving using a Math Agent that leverages step-by-step reasoning and function-based tool usage.

🔍 Objective

The goal of this project is to build and evaluate a structured prompt system that enables a language model to:

Perform math and logic operations using external tools.

Reason explicitly in natural language before invoking tools.

Separate reasoning, computation, and final answer generation.

Handle uncertainty and ambiguous inputs with safe fallbacks.

Maintain traceability through internal self-checks and categorized reasoning types.

🧠 Prompt Structure

Each prompt must guide the agent to:

Start with REASONING: Explain the logic behind each decision in plain English.

Use FUNCTION_CALLS only after reasoning and only one at a time.

Avoid duplicate tool calls with identical parameters.

Return FINAL_ANSWER only after all reasoning and calculations are complete.

Handle errors or ambiguities gracefully using ERROR.

📦 Response Format

{

"reasoning": "Explain why this tool or step is necessary",

"reasoning_type": "e.g. arithmetic, lookup, planning, error_handling",

"action": "FUNCTION_CALL: tool_name|input_values",

"self_check": "Verify that the tool is being used correctly and that the expected output makes sense"

}

Quick Start

1

Clone the repository

git clone https://github.com/chanthu-nair/mcp-pages-prompt-optimisation
2

Install dependencies

cd mcp-pages-prompt-optimisation
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerchanthu-nair
Repomcp-pages-prompt-optimisation
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation