Skip to main content
Glama

modifyTables

modifyTables

Apply structural changes to tables in NeoSQL, including column, index, foreign key, and constraint operations, as well as renaming and comments.

Instructions

Modify one or more existing tables in the NeoSQL application. Each alteration can include: table rename, comment operation, primary key operations, column operations (ADD/DROP/MODIFY/RENAME), index operations (ADD/DROP), foreign key operations (ADD/DROP), and table-level constraint operations (UNIQUE / CHECK / EXCLUSION; ADD/DROP). For table comments, use remarksOperation.modify=true when an empty string is an intended comment change. For primary keys, omit primaryKeyOperations or pass [] for no change; dropping every PK column requires an explicit DROP operation for each current PK column. Pass multiple alterations to modify several tables in a single call. Uses the current context (project/connection).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
alterationsYesList of table alterations. Each specifies a target table and the changes to apply.
connectionIdNoNeoSQL connection ID from listConnections. If omitted, uses current context connectionId.
schemaNoMCP-enabled database schema name from listConnections. If omitted, uses current context schema.
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description must disclose behavior. It explains operational details (e.g., dropping every PK column requires explicit DROP). However, it does not mention whether the operation is transactional, whether changes are immediately persisted, or any permission requirements. Some behavioral traits are left implicit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is verbose and lists all operation types, making it thorough but not concise. It is front-loaded with the main action, but subsequent sentences are dense. It could be trimmed without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (many operation types) and that the input schema covers all parameters, the description covers the main use cases and edge cases (e.g., empty comments, PK drops). Missing details like error handling or atomicity are minor gaps, but overall it is mostly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds value beyond the schema by explaining the purpose of each operation group and providing usage nuance (e.g., when to set modify flag, how to handle PK drops). This elevates the score above baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool modifies existing tables and enumerates all supported operation types (rename, comments, PK, columns, indexes, foreign keys, constraints). It distinguishes from sibling tools like createTables (creates new tables) and getTableDetails (reads table info).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides specific usage patterns, such as using remarksOperation.modify=true to intentionally set an empty comment, and that omitting primaryKeyOperations or passing [] means no change. It also mentions that multiple alterations can be batched and notes context defaults, but lacks explicit when-not-to-use guidance vs. alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/unvus/neosql-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server