Skip to main content
Glama

create_db_connection

Creates a named JDBC database connection for Ignition using a driver, URL, and credentials, with dry-run previews and confirmation before writing.

Instructions

Create a database connection.

Args: name: Connection name. driver: JDBC driver class. connect_url: JDBC connection URL. username: Database username. password: Database password (never logged). confirm: Must be True to create. dry_run: Preview without creating.

Returns: Creation acknowledgement or a guard/preview payload.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "driver": "<driver>",
      "connect_url": "<connect_url>",
      "username": "<username>",
      "password": "<password>"
    },
    "name": "create_db_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
driverYes
confirmNo
dry_runNo
passwordYes
usernameYes
connect_urlYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose real safety behavior: confirm must be True, dry_run previews without creating, and the password is never logged. It omits what happens on a duplicate name, whether the operation is idempotent, and what permissions or validation failures can occur.

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?

Front-loaded one-line purpose followed by a tight parameter list; each line adds information. The Returns section is slightly redundant given an output schema exists, but it is short.

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

Completeness3/5

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

All seven parameters are documented and the two guard flags are explained, which is solid for a 7-param mutation tool. It still lacks error/conflict behavior and any hint of what the guard payload contains beyond a vague phrase, which matters for a creation operation with no annotations.

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 description coverage is 0%, so the args block does the necessary work: it identifies driver as a JDBC driver class, connect_url as a JDBC URL, and clarifies the non-obvious semantics of confirm (must be True to create) and dry_run (preview only). Minor gap: no format examples for the URL or driver.

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 first line names a specific verb and resource (create a database connection) that is unambiguous. It does not distinguish itself from the sibling test_db_connection, so an agent gets no help choosing between testing and creating.

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?

There is no explicit guidance on when to use this versus test_db_connection or whether a test should precede creation. The only workflow hint is implicit, in the dry_run and confirm parameter glosses.

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

Deploy Server

Other Tools