comment_on_table
Add or replace an Oracle table comment for tables owned by the MCP user. Use it to document schema objects and avoid ORA-01031 on others’ tables.
Instructions
Add or replace the comment on a table. Only works for tables the MCP user owns (no system privilege exists for COMMENT on others' objects; you'll get ORA-01031 otherwise).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name. | |
| schema | No | Schema (owner) of the table. Optional — defaults to the server's current schema; omit rather than guess. | |
| comment | Yes | Comment text. Single quotes are escaped automatically. |