| 1 | { |
| 2 | "server_received": [ |
| 3 | { |
| 4 | "arguments": {}, |
| 5 | "method": "tools/call", |
| 6 | "name": "notify_tool" |
| 7 | }, |
| 8 | { |
| 9 | "arguments": { |
| 10 | "text": "first" |
| 11 | }, |
| 12 | "method": "tools/call", |
| 13 | "name": "echo" |
| 14 | }, |
| 15 | { |
| 16 | "arguments": {}, |
| 17 | "method": "tools/call", |
| 18 | "name": "session_error" |
| 19 | }, |
| 20 | { |
| 21 | "arguments": { |
| 22 | "text": "after session error" |
| 23 | }, |
| 24 | "method": "tools/call", |
| 25 | "name": "echo" |
| 26 | } |
| 27 | ], |
| 28 | "steps": [ |
| 29 | { |
| 30 | "op": "boot", |
| 31 | "outcome": "ok" |
| 32 | }, |
| 33 | { |
| 34 | "op": "catalog", |
| 35 | "tools": [ |
| 36 | { |
| 37 | "allowed_callers": [ |
| 38 | "direct" |
| 39 | ], |
| 40 | "defer_loading": false, |
| 41 | "description": "Echo.", |
| 42 | "input_schema": { |
| 43 | "properties": {}, |
| 44 | "type": "object" |
| 45 | }, |
| 46 | "name": "mcp_conformance_echo" |
| 47 | }, |
| 48 | { |
| 49 | "allowed_callers": [ |
| 50 | "direct" |
| 51 | ], |
| 52 | "defer_loading": false, |
| 53 | "description": "Answers with a tools/list_changed notification.", |
| 54 | "input_schema": { |
| 55 | "properties": {}, |
| 56 | "type": "object" |
| 57 | }, |
| 58 | "name": "mcp_conformance_notify_tool" |
| 59 | }, |
| 60 | { |
| 61 | "allowed_callers": [ |
| 62 | "direct" |
| 63 | ], |
| 64 | "defer_loading": false, |
| 65 | "description": "Answers with a JSON-RPC error that mentions the session.", |
| 66 | "input_schema": { |
| 67 | "properties": {}, |
| 68 | "type": "object" |
| 69 | }, |
| 70 | "name": "mcp_conformance_session_error" |
| 71 | } |
| 72 | ] |
| 73 | }, |
| 74 | { |
| 75 | "op": "call", |
| 76 | "outcome": { |
| 77 | "ok": { |
| 78 | "content": { |
| 79 | "content": [ |
| 80 | { |
| 81 | "text": "notified", |
| 82 | "type": "text" |
| 83 | } |
| 84 | ] |
| 85 | }, |
| 86 | "content_blocks": [], |
| 87 | "metadata": null, |
| 88 | "success": true |
| 89 | } |
| 90 | }, |
| 91 | "tool": "mcp_conformance_notify_tool" |
| 92 | }, |
| 93 | { |
| 94 | "op": "catalog", |
| 95 | "tools": [ |
| 96 | { |
| 97 | "allowed_callers": [ |
| 98 | "direct" |
| 99 | ], |
| 100 | "defer_loading": false, |
| 101 | "description": "Echo.", |
| 102 | "input_schema": { |
| 103 | "properties": {}, |
| 104 | "type": "object" |
| 105 | }, |
| 106 | "name": "mcp_conformance_echo" |
| 107 | }, |
| 108 | { |
| 109 | "allowed_callers": [ |
| 110 | "direct" |
| 111 | ], |
| 112 | "defer_loading": false, |
| 113 | "description": "Answers with a tools/list_changed notification.", |
| 114 | "input_schema": { |
| 115 | "properties": {}, |
| 116 | "type": "object" |
| 117 | }, |
| 118 | "name": "mcp_conformance_notify_tool" |
| 119 | }, |
| 120 | { |
| 121 | "allowed_callers": [ |
| 122 | "direct" |
| 123 | ], |
| 124 | "defer_loading": false, |
| 125 | "description": "Answers with a JSON-RPC error that mentions the session.", |
| 126 | "input_schema": { |
| 127 | "properties": {}, |
| 128 | "type": "object" |
| 129 | }, |
| 130 | "name": "mcp_conformance_session_error" |
| 131 | } |
| 132 | ] |
| 133 | }, |
| 134 | { |
| 135 | "op": "call", |
| 136 | "outcome": { |
| 137 | "ok": { |
| 138 | "content": { |
| 139 | "content": [ |
| 140 | { |
| 141 | "text": "echo", |
| 142 | "type": "text" |
| 143 | } |
| 144 | ] |
| 145 | }, |
| 146 | "content_blocks": [], |
| 147 | "metadata": null, |
| 148 | "success": true |
| 149 | } |
| 150 | }, |
| 151 | "tool": "mcp_conformance_echo" |
| 152 | }, |
| 153 | { |
| 154 | "op": "catalog", |
| 155 | "tools": [ |
| 156 | { |
| 157 | "allowed_callers": [ |
| 158 | "direct" |
| 159 | ], |
| 160 | "defer_loading": false, |
| 161 | "description": "Only advertised after a reconnect.", |
| 162 | "input_schema": { |
| 163 | "properties": {}, |
| 164 | "type": "object" |
| 165 | }, |
| 166 | "name": "mcp_conformance_added_later" |
| 167 | }, |
| 168 | { |
| 169 | "allowed_callers": [ |
| 170 | "direct" |
| 171 | ], |
| 172 | "defer_loading": false, |
| 173 | "description": "Echo.", |
| 174 | "input_schema": { |
| 175 | "properties": {}, |
| 176 | "type": "object" |
| 177 | }, |
| 178 | "name": "mcp_conformance_echo" |
| 179 | }, |
| 180 | { |
| 181 | "allowed_callers": [ |
| 182 | "direct" |
| 183 | ], |
| 184 | "defer_loading": false, |
| 185 | "description": "Answers with a tools/list_changed notification.", |
| 186 | "input_schema": { |
| 187 | "properties": {}, |
| 188 | "type": "object" |
| 189 | }, |
| 190 | "name": "mcp_conformance_notify_tool" |
| 191 | }, |
| 192 | { |
| 193 | "allowed_callers": [ |
| 194 | "direct" |
| 195 | ], |
| 196 | "defer_loading": false, |
| 197 | "description": "Answers with a JSON-RPC error that mentions the session.", |
| 198 | "input_schema": { |
| 199 | "properties": {}, |
| 200 | "type": "object" |
| 201 | }, |
| 202 | "name": "mcp_conformance_session_error" |
| 203 | } |
| 204 | ] |
| 205 | }, |
| 206 | { |
| 207 | "op": "call", |
| 208 | "outcome": { |
| 209 | "err": { |
| 210 | "detail": "Failed to execute tool: MCP tool failed: MCP server 'conformance' connection closed during tool call 'session_error'; outcome unknown, not retried", |
| 211 | "kind": "execution_failed" |
| 212 | } |
| 213 | }, |
| 214 | "tool": "mcp_conformance_session_error" |
| 215 | }, |
| 216 | { |
| 217 | "op": "call", |
| 218 | "outcome": { |
| 219 | "ok": { |
| 220 | "content": { |
| 221 | "content": [ |
| 222 | { |
| 223 | "text": "echo", |
| 224 | "type": "text" |
| 225 | } |
| 226 | ] |
| 227 | }, |
| 228 | "content_blocks": [], |
| 229 | "metadata": null, |
| 230 | "success": true |
| 231 | } |
| 232 | }, |
| 233 | "tool": "mcp_conformance_echo" |
| 234 | } |
| 235 | ] |
| 236 | } |
| 237 |