Skip to main content
Glama

createTable

Creates a named table with typed columns, headers, and dropdown validation in a Google Sheets spreadsheet, so structured data stays formatted and validated automatically.

Instructions

Creates a new named table with specific column types. Tables provide structured data with typed columns, automatic formatting, and special features like dropdown validation.

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": {
      "spreadsheetId": "<spreadsheetId>",
      "name": "<name>",
      "range": "<range>"
    },
    "name": "createTable"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesUnique name for the table within this spreadsheet. Table names must be unique.
rangeYesA1 notation range for the table (e.g., "Sheet1!A1:E10"). Must be within existing sheet boundaries.
columnsNoColumn definitions. If not specified, columns are auto-detected from first row.
hasFooterRowNoWhether the table should have a footer row (default: false).
hasHeaderRowNoWhether the table has a header row (default: true).
spreadsheetIdYesThe spreadsheet ID — the long string between /d/ and /edit in a Google Sheets URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0-rc.1

TDQS

C2.8/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, yet it says nothing about whether the target sheet must already exist, what happens on a duplicate table name, whether the operation is reversible, or what a successful call returns. The only behavioral content is generic marketing about table features (formatting, dropdown validation), which does not help an agent predict outcomes or failure modes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is front-loaded and useful. The second sentence is filler about the nature of tables generally and does not earn its place in a tool description; it could be replaced with guidance that actually helps invocation.

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

Completeness2/5

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

For a six-parameter creation tool with no annotations and no output schema, the description omits return value shape, prerequisite sheet state, and conflict/error behavior, while leaving the sibling-choice question unanswered. The rich schema covers parameter detail, but the operational context an agent needs before calling is missing.

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 every one of the six parameters (including nested column definitions and header/footer flags) is already documented in the schema. The description only echoes 'specific column types', adding no format, constraint, or interaction detail beyond what the schema states; 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?

States a specific verb and resource — 'Creates a new named table with specific column types' — which is unambiguous about the operation. It does not, however, distinguish itself from closely named siblings such as insertTable or insertTableWithData, so the agent cannot tell which creation path to pick from this text alone.

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 at all: no mention of when a table is preferable to a plain range, and no differentiation from the sibling insertTable / insertTableWithData tools. The second sentence describes what tables are in general rather than when this tool should be invoked.

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