Skip to content

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.

Capabilitydatabase.database_problem_report
AreaDatabases
Accessreads only
Reaches—
Rightsnone
Dry runnone

Arguments

ArgumentTypeDescription
connectionstringConnection id or name from list_connections; its system is reported.
systemstringDatabase system id from list_connectors (instead of, or in addition to, connection).
stepstringFailing step: connect, test-query, list-schemas, introspect, run-statement, explain, edit, other.
errorrequiredstringThe error message as shown.
server_versionstringThe server's version text, if known.
statementstringThe failing statement; included when given.
include_hostsbooleanKeep 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.

Terminal window
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
}
}
}