Science & Education
Solve control-system signal flow graphs with Mason's gain formula: forward paths, loops, non-touching combinations, Δ/Δk determinants and the exact transfer function.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/signal-flow-graph-mason-gain-rule-feedback-loop-solver' \
-H 'Content-Type: application/json' \
-d '{"edges":"R -> n1 = 1\nn1 -> n2 = G1\nn2 -> n3 = G2\nn3 -> out = 1\nn1 -> n4 = G3\nn4 -> n3 = G4\nn2 -> n2 = H1\nn4 -> n4 = H2","inputNode":"R","outputNode":"out"}'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/signal-flow-graph-mason-gain-rule-feedback-loop-solver| Name | Type | Required | Description |
|---|---|---|---|
| edges | textarea | Yes | — |
| inputNode | text | Yes | — |
| outputNode | text | Yes | — |
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-signal-flow-graph-mason-gain-rule-feedback-loop-solver": {
"name": "signal-flow-graph-mason-gain-rule-feedback-loop-solver",
"description": "Solve control-system signal flow graphs with Mason's gain formula: forward paths, loops, non-touching combinations, Δ/Δk determinants and the exact transfer function.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=signal-flow-graph-mason-gain-rule-feedback-loop-solver",
"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": "signal-flow-graph-mason-gain-rule-feedback-loop-solver",
"arguments": {
"edges": "R -> n1 = 1\nn1 -> n2 = G1\nn2 -> n3 = G2\nn3 -> out = 1\nn1 -> n4 = G3\nn4 -> n3 = G4\nn2 -> n2 = H1\nn4 -> n4 = H2",
"inputNode": "R",
"outputNode": "out"
}
}
}Questions or issues? Contact [email protected]