Skip to main content
Glama

create_tables

Create one or more tables with typed columns in a Grist document; Grist automatically generates associated views and pages for immediate use.

Instructions

Create one or more new tables with typed columns. Grist will automatically create associated views and pages. Column types: Text, Numeric, Int, Bool, Date, DateTime, Choice, ChoiceList, Ref:, RefList:.

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": {
      "tables": "<tables>"
    },
    "name": "create_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault
doc_idNoDocument ID
tablesYesTables to create

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 it does disclose one important side effect: Grist automatically creates associated views and pages. It says nothing about permissions required, whether re-creating an existing table overwrites or errors, or what happens if a Ref target table is missing.

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?

Three short sentences, front-loaded with the action and scope, followed by the side effect and the type vocabulary. Nothing is redundant and the ordering matches what an agent needs to decide and then invoke.

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?

The schema fully documents the nested table and column structure with no output schema to explain, so the core is covered. Still missing for a creation tool: required permissions, failure semantics on partial creation, and whether generated table IDs are returned.

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 both doc_id and the nested table/column definitions are already documented, including the type list. The description restates the column-type vocabulary, which adds marginal convenience but no meaning beyond the schema.

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 opens with a specific verb and resource ('Create one or more new tables with typed columns') and makes the batch capability explicit. It does not differentiate itself from siblings such as create_summary_table or add_columns, leaving the agent to infer which creation path applies.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the batch framing suggests this is the path for defining table structure from scratch. There is no statement of when to prefer this over add_columns, create_summary_table, or create_document, and no prerequisites or exclusions are given.

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