Skip to main content
Glama

Numbers: create

numbers_create
Destructive

Create a new .numbers file from sheet and table data, keeping numbers and text exact (including Arabic). Refuses to overwrite existing files; no Numbers app required.

Instructions

Create a new .numbers file from data. sheets = [{"name": "Sales", "tables": [{"name": "Q1", "rows": [["Region", "Revenue"], ["Riyadh", 1200]], "header_rows": 1}]}]. Numbers stay numbers, text stays text exactly (Arabic included). Refuses to overwrite. No app needed. Use to make a new Numbers file when you have the rows. From a CSV file use numbers_import_csv; to add a table to an existing file use numbers_add_table.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesWhere to create the new .numbers file; it must not exist yet.
sheetsYesSheets with their tables: [{"name": "Sales", "tables": [{"name": "Q1", "rows": [["Region", "Revenue"], ["Riyadh", 1200]], "header_rows": 1}]}].

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.4.1
    • addedInput schema / properties / path / description
      Added value: +"Where to create the new .numbers file; it must not exist yet."
    • addedInput schema / properties / sheets / description
      Added value: +"Sheets with their tables: [{\"name\": \"Sales\", \"tables\": [{\"name\": \"Q1\", \"rows\": [[\"Region\", \"Revenue\"], [\"Riyadh\", 1200]], \"header_rows\": 1}]}]."
  2. First observedv2.4.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, but the description adds non-obvious behavior: it refuses to overwrite, needs no app running, and preserves value types exactly (including Arabic text). The overwrite refusal is genuinely useful given the destructive annotation. It does not, however, say what happens on a path collision beyond refusal or whether partial writes can occur.

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?

Front-loaded with the core action and constraints, and the routing sentence comes last where it belongs. The embedded JSON example consumes a large share of the text and duplicates the schema, which is mild redundancy rather than confusion.

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?

An output schema exists, so return values need not be described. The description covers creation, type fidelity, overwrite refusal, and sibling routing, leaving only edge-case failure behavior unstated. Adequate for a two-parameter create tool.

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 parameters are already documented in the schema, and the description's inline JSON example largely repeats the schema's own sheets description. Baseline 3 is appropriate since the schema does the heavy lifting and the description adds no syntax or constraint beyond what is already there.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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 new .numbers file from data') and immediately scopes it against siblings by naming numbers_import_csv and numbers_add_table as the tools for adjacent tasks. An agent can distinguish this from the other create paths without opening a schema.

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

Usage Guidelines5/5

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

Explicitly says when to use it ('when you have the rows') and routes two adjacent cases to alternatives: CSV input to numbers_import_csv, adding a table to an existing file to numbers_add_table. This is the when/when-not/alternatives pattern at full strength.

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