Utilities
Decompose an Objective into a weighted Department → Team → Personal tree with automatic progress roll-up. HTML tree + Markdown + CSV output.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/okr-tree-decomposer' \
-H 'Content-Type: application/json' \
-d '{"treeDefinition":"Grow ARR to $10M | target: 10000000 | current: 6200000 | unit: USD\n Sales | weight: 60\n Enterprise | target: 50 | current: 32 | unit: accounts\n SMB | target: 200 | current: 140 | unit: accounts\n Marketing | weight: 40 | target: 5000 | current: 3100 | unit: leads","outputFormat":"html"}'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/okr-tree-decomposer| Name | Type | Required | Description |
|---|---|---|---|
| treeDefinition | textarea | Yes | — |
| outputFormat | select | No | — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}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-okr-tree-decomposer": {
"name": "okr-tree-decomposer",
"description": "Decompose an Objective into a weighted Department → Team → Personal tree with automatic progress roll-up. HTML tree + Markdown + CSV output.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=okr-tree-decomposer",
"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": "okr-tree-decomposer",
"arguments": {
"treeDefinition": "Grow ARR to $10M | target: 10000000 | current: 6200000 | unit: USD\n Sales | weight: 60\n Enterprise | target: 50 | current: 32 | unit: accounts\n SMB | target: 200 | current: 140 | unit: accounts\n Marketing | weight: 40 | target: 5000 | current: 3100 | unit: leads",
"outputFormat": "html"
}
}
}Questions or issues? Contact [email protected]