Health
Per-step and mean trophic transfer efficiencies from measured level values, with band grading, weakest transfer, and next-level projection.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/trophic-level-efficiency' \
-H 'Content-Type: application/json' \
-d '{"levels":"20000\n2000\n220\n15"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST http://127.0.0.1:3003/en/api/tools/trophic-level-efficiency| Name | Type | Required | Description |
|---|---|---|---|
| levels | textarea | Yes | One positive value per trophic level, T1 (producers) first, separated by new lines, commas, or spaces. 2–6 levels. |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-trophic-level-efficiency": {
"name": "trophic-level-efficiency",
"description": "Per-step and mean trophic transfer efficiencies from measured level values, with band grading, weakest transfer, and next-level projection.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=trophic-level-efficiency",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "trophic-level-efficiency",
"arguments": {
"levels": "20000\n2000\n220\n15"
}
}
}Questions or issues? Contact [email protected]