create_test_case
Generate a standardized MCP test case by defining the tool name, input data, and expected result. Use it to validate MCP tool behavior consistently.
Instructions
Create a standardized MCP test case.
Args: name: Short name of the test.
tool_name:
MCP tool being tested.
input_data:
Input that should be passed to the tool.
expected_result:
Expected behavior/result.
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": {
"name": "<name>",
"tool_name": "<tool_name>",
"input_data": "<input_data>",
"expected_result": "<expected_result>"
},
"name": "create_test_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tool_name | Yes | ||
| input_data | Yes | ||
| expected_result | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |