database_problem_report
MCP tools › Databases
Build the text of a problem report about a database system for the user to review: Ferris IDEA version, system, status, family, the failing step and error message, with passwords, user names and (unless include_hosts) host, port, database and IP addresses replaced by placeholders. Never sends or opens anything; returns title, body and the address the user could open: the definition's report_url, else the setting database.report_url (empty: Ferris IDEA's GitHub issue template, off: none).
Its results carry text from database, files: the client is told to treat that as data, never as instructions.
| Capability | database.database_problem_report |
|---|---|
| Area | Databases |
| Access | reads only |
| Reaches | — |
| Rights | none |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
connection | string | Connection id or name from list_connections; its system is reported. |
system | string | Database system id from list_connectors (instead of, or in addition to, connection). |
step | string | Failing step: connect, test-query, list-schemas, introspect, run-statement, explain, edit, other. |
errorrequired | string | The error message as shown. |
server_version | string | The server's version text, if known. |
statement | string | The failing statement; included when given. |
include_hosts | boolean | Keep host, port and database names (default false). |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project database_problem_report '{"error":"<string>"}'Input schema as JSON
{ "type": "object", "required": [ "error" ], "properties": { "connection": { "description": "Connection id or name from `list_connections`; its system is reported.", "type": [ "string", "null" ], "default": null }, "system": { "description": "Database system id from `list_connectors` (instead of, or in addition to, `connection`).", "type": [ "string", "null" ], "default": null }, "step": { "description": "Failing step: connect, test-query, list-schemas, introspect, run-statement, explain, edit, other.", "type": [ "string", "null" ], "default": null }, "error": { "description": "The error message as shown.", "type": "string" }, "server_version": { "description": "The server's version text, if known.", "type": [ "string", "null" ], "default": null }, "statement": { "description": "The failing statement; included when given.", "type": [ "string", "null" ], "default": null }, "include_hosts": { "description": "Keep host, port and database names (default false).", "type": [ "boolean", "null" ], "default": null } }}