generate_glue
Creates a stub connector function that invokes a tool on one server and passes its output to a tool on another server, enabling inter-server tool chaining.
Instructions
Generate a stub connector function that calls a tool on one registered server and pipes its result into a tool on another
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sourceServerId": "<sourceServerId>",
"targetServerId": "<targetServerId>",
"sourceTool": "<sourceTool>",
"targetTool": "<targetTool>"
},
"name": "generate_glue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceTool | Yes | ||
| targetTool | Yes | ||
| sourceServerId | Yes | ||
| targetServerId | Yes |