Skip to main content
Glama
NocoDB MCP Server

NocoDB MCP Server

nocodb_create_source

Adds a new external data source, such as MySQL or Postgres, to a NocoDB base. Use it to connect external databases by providing a base ID, alias, type, and connection config.

Instructions

Add a new external data source (e.g. MySQL, Postgres) to a base

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": {
      "baseId": "<baseId>",
      "alias": "<alias>",
      "type": "<type>",
      "config": "<config>"
    },
    "name": "nocodb_create_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesDatabase type: mysql2, pg, sqlite3, mssql, oracledb
aliasYesAlias/display name for the data source
baseIdYesThe base ID
configYesJSON string of connection config (host, port, user, password, database)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a mutation tool, yet it says nothing about permissions required, whether the connection is validated on creation, how credentials are stored, or whether the source is immediately usable. Only the bare action is disclosed.

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?

A single, front-loaded sentence with no filler; the resource and scope appear immediately. It is short to the point of under-specification rather than verbosity, which is a different problem than wordiness.

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 four required parameters are fully documented in the schema, so the agent can construct a valid call, and no output schema exists to explain. What is missing is behavioral context around a credential-bearing mutation — validation, error modes, and permissions — which the absent annotations leave entirely uncovered.

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?

Schema description coverage is 100%, and the schema already enumerates the allowed database types and the config keys (host, port, user, password, database). The description's "e.g. MySQL, Postgres" adds nothing beyond the schema, so the baseline 3 applies.

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?

"Add a new external data source (e.g. MySQL, Postgres) to a base" gives a specific verb (add/create) and resource (external data source) plus its parent scope (a base). The word "new" implicitly separates it from nocodb_update_source and nocodb_delete_source, though it never names them.

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 when-to-use guidance: no prerequisites (does the base need to exist first?), no mention of when to prefer nocodb_update_source for an existing source, and no note on whether duplicate aliases are allowed. The agent must infer all routing from the sibling names.

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