Diagnose a PayRam server
payram_doctorRead-only diagnosis of a PayRam server by its public URL — works from the hosted MCP without credentials: reachability, health, TLS certificate, installed vs latest version, worker states. Optionally validates an API key without creating anything. Returns ranked likely causes and exact fixes for the first failing stage. Run this first when anything PayRam-related fails.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "payram_doctor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | Optional project API key to validate (never creates anything). Passing it puts the key in this conversation; prefer running payram_ops_playbook "connect" locally. | |
| baseUrl | No | Public address of the PayRam server, same origin as the dashboard: https://pay.example.com, or just pay.example.com or an IP (https is tried first, then http). No :8080, no path. Required on the hosted MCP. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baseUrl | Yes | ||
| healthy | Yes | ||
| version | Yes | ||
| findings | Yes | ||
| nextCall | Yes | The single most useful tool call to make next | |
| warnings | Yes | ||
| nextSteps | Yes | ||
| setupStage | Yes | Pass as payram_setup_plan stage once the server answers PayRam health; null when not reachable | |
| failedStage | Yes | First failing stage, null when healthy | |
| likelyCauses | Yes | Ranked causes for the first failing stage | |
| latestVersion | Yes |