Skip to main content
Glama
NocoDB MCP Server

NocoDB MCP Server

nocodb_create_view

Creates a new view for a NocoDB table, letting you choose the view type (Grid, Form, Gallery, Kanban, Calendar) and title so the correct type-specific API endpoint is used.

Instructions

Create a new view for a table. NocoDB uses type-specific endpoints so the type determines the API path used.

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": {
      "tableId": "<tableId>",
      "title": "<title>"
    },
    "name": "nocodb_create_view"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoView type: 1=Form, 2=Gallery, 3=Grid (default), 4=Kanban, 6=Calendar
titleYesView title
tableIdYesThe table ID
fk_grp_col_idNoForeign key to grouping column (required for Kanban, optional for Gallery)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It does add one genuine piece of non-schema insight — that the view type selects a different API endpoint — but is silent on permissions/auth requirements, what happens on duplicate titles, and irreversibility.

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?

Two short sentences with the action front-loaded and no filler. The endpoint sentence earns its place slightly less than the first, but nothing is redundant.

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?

For a 4-parameter mutation with no annotations and no output schema, the description is thin: it never states what is returned after creation or what constraints apply to the new view. The schema covers parameter detail, but the operational context is only partially filled.

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%, so all four parameters (including the type enum mapping and Kanban requirement for fk_grp_col_id) are already documented in the schema. The description only reinforces that 'type' matters by tying it to the API path, adding marginal meaning above the schema baseline.

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 names a specific verb and resource — 'Create a new view for a table' — which distinguishes it cleanly from the many delete_/update_/list_ siblings. It does not explicitly contrast with nocodb_update_view or nocodb_list_views, but the create semantics are unambiguous.

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 guidance on when to use this versus alternatives, no prerequisite about the table existing, and no note about whether the view title must be unique within the table. The second sentence about type-specific endpoints is context, not a usage rule.

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