Update table
update_tableRename a table or change its primary field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| table | Yes | Table name or id | |
| baseId | Yes | ||
| primaryField | No |
update_tableRename a table or change its primary field.
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| table | Yes | Table name or id | |
| baseId | Yes | ||
| primaryField | No |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare a non-destructive, non-idempotent, closed-world mutation, so the safety profile is covered. The description adds the notable side effect that the primary field itself can be changed, but says nothing about permission requirements, name-collision behavior, or downstream impact on views/relations that reference the table.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single short sentence with the mutating operations front-loaded and no filler. Nothing in it is redundant.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a four-parameter mutation with sparse schema documentation and no output schema, the description is too thin: it never identifies required inputs (baseId, table), failure modes, or what a successful update returns. The agent must open the schema to call this safely.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is only 25%, so the description needs to carry more weight. It implies the 'name' and 'primaryField' parameters through the operations it lists, but says nothing about 'baseId' (undocumented anywhere) and leaves 'table' to the schema's brief note.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description gives a specific verb and resource plus the two mutating operations it supports (rename, change primary field), which lets an agent distinguish it from create_table, delete_table, and update_field. It stops short of naming those siblings explicitly, so it isn't fully discriminating.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no when-to-use guidance, no prerequisites (base/table must already exist), and no exclusions or routing to alternatives such as update_field or create_table. Usage is only inferable from the listed operations.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.