Skip to main content
Glama

update_naming_rules

Update naming rules for an ERD to control delimiter, case, unknown-word handling, and self-reference prefix. Set rules before modelling, as existing names are not regenerated.

Instructions

Partially updates the naming rules (delimiter, case, unknown-word handling, self-reference role prefix). Existing physical names are not regenerated retroactively (noted in warnings) — set the rules before modelling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
casingNo
sourceYesTarget ERD — exactly one of a local file ({file}) or a server ERD ({erdId})
separatorNo
unknownWordModeNo
selfReferencePrefixNoRole prefix for self-referencing FK names, keeping them distinct from the PK (e.g. 'Parent' → 'Parent Post Number' → PRNT_POST_NO). It is resolved through the word list like any other word, so register it first. Defaults to 'Parent' when unset or blank; projects created before that default keep the prefix they were built with.
Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It explicitly discloses the non-retroactive nature of the update and mentions that warnings will note this. It doesn't cover reversibility or validation behavior, but the key side-effect that matters to users is addressed. The 'partially updates' phrasing also implies a merge-like behavior, which is useful.

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

Conciseness5/5

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

The description is two sentences long, front-loads the action and resource, and includes a critical warning without any fluff. Every sentence earns its place, and the structure is easy to parse.

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 (5 parameters, 1 required, no output schema, no annotations), the description covers the essentials: purpose, timing, and a key behavioral caveat. It doesn't describe return values or error handling, but these are not required without an output schema. Overall, it is sufficiently complete for an agent to decide when and how to invoke it.

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?

The description maps the high-level rule categories to specific parameters ('delimiter' to separator, 'case' to casing, etc.), which adds meaning beyond the schema. It also clarifies that the update is partial, meaning unspecified fields remain unchanged—an important semantic not in the schema. With 40% schema coverage, this compensation is necessary and well-executed.

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's function: 'Partially updates the naming rules' and enumerates the specific aspects (delimiter, case, unknown-word handling, self-reference role prefix). This distinguishes it from sibling tools like check_naming and generate_physical_name, which focus on validation and generation rather than configuration.

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 clear contextual guidance: 'Existing physical names are not regenerated retroactively... set the rules before modelling.' This tells the agent when to use the tool relative to other actions. It does not explicitly mention alternatives or exclusions, but the timing guidance is strong enough for most use cases.

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/sqemo/sqemo-mcp'

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