Skip to main content
Glama
StructlyOfficial

Structly MCP Server

Official

edit_relationship

Edit database relationship properties by providing schema and relationship UUIDs. Adjust name, type, source and target columns, plus delete and update actions.

Instructions

Изменить свойства связи.

    Args:
        schema_uuid: UUID схемы.
        relationship_uuid: UUID связи.
        source_table_uuid: UUID исходной таблицы.
        source_column_uuid: UUID исходной колонки.
        target_table_uuid: UUID целевой таблицы.
        target_column_uuid: UUID целевой колонки.
        relationship_name: Новое название связи.
        relationship_type: Новый тип связи.
        delete_action: Новое действие при удалении.
        update_action: Новое действие при обновлении.
        branch_name: Ветка схемы (по умолчанию main).
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
branch_nameNomain
schema_uuidYes
delete_actionNo
update_actionNo
relationship_nameNo
relationship_typeNo
relationship_uuidYes
source_table_uuidNo
target_table_uuidNo
source_column_uuidNo
target_column_uuidNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It lists parameters but does not disclose behavioral traits such as whether updates are partial, whether the relationship must exist, what side effects occur, or how branch_name affects the operation. It only says 'change properties' without depth.

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

Conciseness4/5

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

The description is concise: one sentence stating purpose followed by a parameter list. No unnecessary prose. It could use more structured formatting or grouping, but it's appropriately sized.

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

Completeness2/5

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

Despite having an output schema, this is a complex 11-parameter mutation tool with no annotations. The description only lists parameters and lacks usage context, branch behavior, partial update semantics, and relationship to other CRUD tools. It is insufficient for an agent to invoke confidently.

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

Parameters3/5

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

The description provides a line for each parameter, but most are simple translations of the parameter name (e.g., 'UUID схемы' for schema_uuid). Some add meaning, like 'Новое название связи' (new relationship name) and 'Новое действие при удалении' (new delete action), conveying that these are replacement values. However, there are no examples, allowed values, or constraints beyond the schema defaults.

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

Purpose4/5

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

The description begins with 'Изменить свойства связи' (Change relationship properties), which clearly states the action (change) and resource (relationship). It distinguishes from siblings like create_relationship and delete_relationship by the verb, though it doesn't explicitly say 'existing relationship'.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention that create_relationship is for new relationships or that delete_relationship removes one. There is no context, prerequisites, or exclusions.

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/StructlyOfficial/MCP-server'

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