Skip to main content
Glama

Create table

table_create

Create a structured table with a typed schema (the title is optional); a column name is 1 to 256 characters with no leading or trailing space, comma or square bracket. description (optional) says what it is, one line first. At most one column may set unique: true, the table's key. strict rejects unknown columns and invalid values. Use a table for data that grows by adding records: rows are stored once, not copied per change. A workspace table created with no description returns a hint saying so.

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": {
      "schema": "<schema>"
    },
    "name": "table_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
whyNoRequired for workspace items: one sentence on the goal this change serves, not a description of this edit. Every edit to workspace files, rows, folders and settings takes one (task operations need none); sessions and summaries record themselves from it. At most 300 characters.
titleNoThe table's title.
folderNoThe folder to file it in: a folder id, or a slug (in workspaceId, else your personal folders).
schemaYes
strictNoRefuse unknown columns and mistyped values on row writes.
visibilityNoStandalone sharing only; omit with workspaceId, including private.
descriptionNoOne line saying what this table is (lists show the first line), at most 64000 characters.
workspaceIdNoTable home: a workspace, by its id or its slug (a workspace folder named in folder implies it). A workspace table needs why and takes no visibility. New tables need no expected revision.
inputReferencesNoWhat it was made from: ids or URLs.
parentArtifactIdNoThe artifact this one was derived from.

Output Schema

NameRequiredDescriptionDefault
tableYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / why / description
      Previous value: -"Required for workspace items: one sentence on what the person is trying to accomplish, in their terms, not a description of this edit. Every workspace write takes one; sessions and summaries record themselves from it. At most 300 characters."New value: +"Required for workspace items: one sentence on the goal this change serves, not a description of this edit. Every edit to workspace files, rows, folders and settings takes one (task operations need none); sessions and summaries record themselves from it. At most 300 characters."
  2. Changed1 schema field changed
    • changedInput schema / properties / description / description
      Previous value: -"The table's description, at most 64000 characters."New value: +"One line saying what this table is (lists show the first line), at most 64000 characters."
  3. Changed1 schema field changed
    • changedInput schema / properties / description / description
      Previous value: -"The table's description."New value: +"The table's description, at most 64000 characters."
  4. Changed2 schema fields changed
    • removedInput schema / properties / audience
      Removed value: -{
      -  "description": "Requires workspaceId; defaults internal for internal members, shared for external editors.",
      -  "enum": [
      -    "internal",
      -    "shared"
      -  ],
      -  "type": "string"
      -}
    • removedOutput schema / properties / table / properties / audience
      Removed value: -{
      -  "enum": [
      -    "internal",
      -    "shared"
      -  ],
      -  "type": "string"
      -}
  5. Changed1 schema field changed
    • removedInput schema / properties / creatorContext
      Removed value: -{
      -  "description": "How it was made: the prompt, tool or run.",
      -  "maxLength": 16000,
      -  "type": "string"
      -}
  6. Changed5 schema fields changed
    • changedInput schema / properties / workspaceId / description
      Previous value: -"Table home (a workspace folder named in folder implies it). A workspace table needs why and takes no visibility. New tables need no expected revision."New value: +"Table home: a workspace, by its id or its slug (a workspace folder named in folder implies it). A workspace table needs why and takes no visibility. New tables need no expected revision."
    • removedInput schema / properties / workspaceId / format
      Removed value: -"uuid"
    • addedInput schema / properties / workspaceId / maxLength
      Added value: +64
    • addedInput schema / properties / workspaceId / minLength
      Added value: +1
    • removedInput schema / properties / workspaceId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  7. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so the safety profile is covered. The description adds meaningful behavior beyond that: only one column may be the unique key, strict mode rejects unknown columns and mistyped values, and a workspace table created without a description returns a hint. It says nothing about permissions, duplicate-table creation, or what happens on key conflicts from the agent's perspective.

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?

Dense but well-ordered: creation semantics first, then column rules, then the table-vs-record positioning, then the no-description hint. Some prose duplicates constraints already present in the schema, which costs a point but the text is otherwise free of filler.

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?

With 10 parameters, an output schema, and full annotations, the description covers the substantive creation semantics an agent needs (typed schema, key column, strictness, workspace hint). Remaining gaps – auth requirements, duplicate-name behavior, idempotency expectations – are modest, and return values are covered by the output schema.

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 90%, so the schema already documents why, folder, unique, strict, visibility and workspaceId. The description largely restates those same constraints (column naming rules, single unique column, strict semantics) rather than adding new interpretation, so baseline 3 is appropriate.

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?

States a specific verb and resource ("Create a structured table with a typed schema") and adds a positioning cue: "Use a table for data that grows by adding records: rows are stored once, not copied per change." It does not explicitly distinguish itself from table_create_from_csv, which is the nearest sibling an agent must choose against.

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?

Gives real when-to-use guidance via the row-growth/storage-once rationale, which is what separates a table from a document-like artifact. It offers no explicit exclusions (e.g. when to prefer table_create_from_csv or an artifact), so the agent must infer the boundary.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.