add_comment
Add descriptive comments to MySQL tables or columns to document database structure and improve maintainability. This tool modifies only comments without altering table structure, column types, or data.
Instructions
Safely add a comment to a table or column. This tool only modifies comments — it cannot alter table structure, column types, or data.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name. | |
| column | No | Column name. If omitted, sets a table-level comment. | |
| comment | Yes | Comment text to set. | |
| database | No | Database name. Uses the current database if omitted. |