Skip to main content
Glama

download_base_formulas

DestructiveIdempotent

Downloads every formula field from an Airtable base into local .formula files grouped by table, resolving field references to real field names so each file stays readable and uploads back unchanged.

Instructions

Download ALL formula fields from a base to local .formula files, organized into per-table subfolders. Field refs are resolved to real field names ({Field Name}, Airtable's native syntax) so files are readable and upload back unchanged. Each file includes a # AT: header with appId, tableId, fieldId, fieldName, description, and resultType. Tables with no formula fields are silently skipped. outputDir defaults to the current working directory when omitted.

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": {
      "appId": "<appId>"
    },
    "name": "download_base_formulas"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYesThe Airtable base/application ID
debugNoWhen true, include raw Airtable response in output for diagnostics
outputDirNoLocal directory to write files into. Defaults to process.cwd() when omitted. Structure: outputDir/<Table Name>/<Field Name>.formula

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.6

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=true. The description adds useful behavior beyond that: it resolves field refs to readable names, writes a # AT: header with IDs and metadata, silently skips tables without formula fields, and defaults outputDir to the current working directory. It could say more about overwriting existing local files, which is relevant given destructiveHint=true.

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?

The description is front-loaded with the core action and then adds only relevant details about ref resolution, headers, skipped tables, and the outputDir default. There is no redundant or filler wording.

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?

For a file-producing bulk download tool with no output schema, the description covers the important mechanics: file organization, header contents, field ref resolution, skipped tables, and outputDir default. It is slightly incomplete because it does not describe overwrite behavior or what the tool returns after downloading.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the parameters are already documented. The description adds meaning for outputDir by specifying its default and the exact outputDir/<Table Name>/<Field Name>.formula structure, while appId and debug are adequately covered by the schema.

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?

The description gives a specific verb and resource: download ALL formula fields from a base to local .formula files. The phrase ALL formula fields and per-table subfolders distinguishes this bulk tool from the likely singular sibling download_formula_field.

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?

The description makes the context clear by emphasizing that it downloads ALL formula fields and organizes them into per-table subfolders. It does not explicitly state when to prefer the singular download_formula_field sibling, but the bulk scope is strongly implied.

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