chatgpt-plugin-one-tool
Summary: This server exposes one read-only MCP tool that scores the WHO-5 Well-Being Index.
Call
who5_scorewith exactly five integers from 0 to 5 in item order.Get a WHO-5 score from 0 to 100, a band (
low,reduced, ornormal), and a message.Use it over MCP JSON-RPC via HTTP
/mcpor stdio; it supportsinitialize,ping,tools/list, andtools/call.Rely on stateless, read-only behavior with no storage/logging and safe wording that the score is not a diagnosis.
Do not use it for symptoms, illnesses, or medication.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@chatgpt-plugin-one-tool Score my WHO-5 well-being answers: 3, 3, 2, 2, 3"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
chatgpt-plugin-one-tool
A minimal MCP server with one read-only tool, written to show how small a ChatGPT plugin server can be. No framework, no dependencies, no sign-in, no storage. About 180 lines of code and 12 tests.
Author: Aizhan Li, author of the Ladder method.
About the author and the method: 108psy.com/ob-avtore.
Answers to common questions: 108psy.com/otvety (in Russian).
Psychosomatics for women: 108psy.com/psihosomatika (in Russian).
It comes with REVIEW.md: the step-by-step story of how our plugin Ladder by Aizhan Li went through OpenAI review and was approved for the ChatGPT plugin directory on 4 November 2026. In Russian: REVIEW.ru.md.
This repository does not contain the code of the Ladder plugin or of 108psy.com. It is a teaching example built on the same pattern.
The tool
who5_score scores the WHO-5 Well-Being Index:
five answers from 0 to 5 give a score from 0 to 100 and a band (low, reduced, normal).
The score is not a diagnosis, and the tool description tells the model so.
Why this tool: it is deterministic, needs no network or model, and still shows the parts reviewers look at: a clear description of when to use the tool and when not to, an input schema, an output schema, annotations, readable errors and safe wording for a low result.
Related MCP server: Personal Agent Allostatic Load Index Biomarker Skill
Run it
npm test
npm startThen call it:
curl -s -X POST http://localhost:8787/mcp -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"who5_score","arguments":{"answers":[3,3,2,2,3]}}}'Deploy to Cloudflare Workers with npx wrangler deploy. The endpoint is /mcp.
You can also open it in MCP Inspector.
For clients that start the server themselves, run it over stdio (npm run stdio).
In Claude Desktop, add to claude_desktop_config.json:
{
"mcpServers": {
"who5-one-tool": { "command": "node", "args": ["/path/to/chatgpt-plugin-one-tool/src/stdio.mjs"] }
}
}Or in a container: docker build -t who5-one-tool . && docker run -i --rm who5-one-tool.
Files
src/tool.mjs: the tool definition and the scoring. Start reading here.src/mcp.mjs: JSON-RPC over Streamable HTTP:initialize,ping,tools/list,tools/call.src/worker.mjs: Cloudflare Workers entry.src/node.mjs: local run on Node 18+.src/stdio.mjs: the same server over stdio, one JSON-RPC message per line.Dockerfile: runs the stdio server in a container.example/plugin.json,example/mcp.json: a submission package template with review test cases.test/mcp.test.mjs,test/stdio.test.mjs: protocol, tool and stdio tests (node --test).
Design choices
Stateless. Each POST is one JSON-RPC message. No sessions, so any instance can answer.
Plain JSON, no SSE. The MCP spec allows a JSON response to a POST. GET returns 405.
Tool errors are results. Wrong input returns
isError: truewith a sentence the model can fix. Protocol errors (unknown method, unknown tool) are JSON-RPC errors.Read-only annotations.
readOnlyHint: true,destructiveHint: false,openWorldHint: false.Nothing is logged. The server never writes the answers anywhere.
About the method
The Ladder method, its structure and pilot data are described in a preprint (in Russian):
Li, A. (2026). Онлайн-самопроверка внутренних препятствий на пути к цели: структура, операционализация и пилотные данные методики «Лестница». Zenodo. https://doi.org/10.5281/zenodo.23960425
Author
Aizhan Li, author of the Ladder method, 108psy.com. The plugin, the site and this repository were built by one person with Claude Code.
License
MIT, see LICENSE. WHO-5 is by the WHO Collaborating Centre in Mental Health; this repository contains only its scoring rule, not the item wording.
Available Tools
1 toolwho5_scoreWHO-5 well-being scoreARead-onlyIdempotent
Scores the WHO-5 Well-Being Index. Use it when the user has answered the five WHO-5 items about the last two weeks and wants their score. Pass exactly five integers from 0 (at no time) to 5 (all of the time), in item order. Returns the score from 0 to 100 and a band: low (28 or less), reduced (29 to 50) or normal. The score is not a diagnosis. Do not use it for symptoms, illnesses or medication.
Inputs: answers (required). Returns: band, score, message
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
There is only one tool, so there is no possibility of misselection between competing options. Its purpose (scoring five WHO-5 item responses) is stated unambiguously, along with explicit negative guidance about what it must not be used for.
The single name `who5_score` is clear snake_case, combining a domain identifier with an action noun. With one tool there is no convention mixing to evaluate, and the name reads predictably.
The server is explicitly designed as a one-tool plugin, and that tool is a deterministic computation that fully earns its place. The surface is deliberately minimal rather than accidentally thin, though one more tool (e.g. returning the questionnaire items) would add value.
For the stated purpose of scoring WHO-5 responses, the tool covers the whole operation: input validation, 0-100 raw score, and interpretation bands. The only gap is that it cannot surface the five item texts or the band thresholds as reusable data, so an agent must supply the questionnaire itself.
Maintenance
Related MCP Connectors
Checks a public website in six areas and returns scores from 0 to 100. Free, no key needed.
WHO Regional Office for Europe — Data Warehouse API v5.
Build, publish and read scored forms and quizzes where the score picks the next screen.
Is this food healthy? A 0-100 score from nutrition, additives and processing (Open Food Facts).
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables querying World Health Organization Global Health Observatory data via natural language, free and without authentication.81 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables users to calculate a normalized allostatic load index from biomarker panels, identify the primary vulnerable physiological subsystem, and project 12-week homeostatic recovery trajectories.7MIT
- AlicenseNot gradedqualityBmaintenanceEnables computing maximal inspiratory and expiratory pressure percentages against Black & Hyatt predicted values from age and sex, then deriving a 0–100 diaphragmatic resilience index and status. Also produces inspiratory muscle training prescriptions at 50% of measured MIP for personal-agent use.7MIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to calculate age-adjusted Rydel-Seiffer tuning fork pallesthesia scores and classify large-fiber sensory neuropathy from clinical readings.7MIT