# Put an answer into a Google Sheet (write_to_sheet): InstaMaps MCP tool

> Put an earlier answer into a Google Sheet: new dated columns beside the rows it came from, or a new tab. Never overwrites a cell. The only tool that writes. Inputs, sources with dates and a real example answer.

Source: https://get-instamaps.com/mcp-server/tools/write_to_sheet

[InstaMaps](/)

[Features](#features)[How It Works](#how-it-works)[Tools](/tools)[Store Locator](/store-locator)[Blog](/blog)[Support](/support)

[ Get Started ](https://workspace.google.com/marketplace/app/instamaps/103204565785?utm%5Fsource=get-instamaps&utm%5Fmedium=site&utm%5Fcampaign=header)

[← All tools](/mcp-server/tools)

Runs and jobs

# Put an answer into a Google Sheet

`write_to_sheet`

Put an earlier answer into a Google Sheet: new dated columns beside the rows it came from, or a new tab. Never overwrites a cell. The only tool that writes.

Writes to your sheet: adds, never overwrites

## Use it when

* ✓ The user wants the results in their sheet, next to their rows
* ✓ A background job should fill the sheet as it goes (pass its job\_id)
* ✓ An answer should be kept as a dated tab of its own

## Not for

* → A file to download or attach: [geocode\_batch](/mcp-server/tools/geocode%5Fbatch) with format "csv"
* → A map to share: [render\_map](/mcp-server/tools/render%5Fmap)

Usual chain: [geocode\_batch](/mcp-server/tools/geocode%5Fbatch) (or any tool) with source { sheet } → [write\_to\_sheet](/mcp-server/tools/write%5Fto%5Fsheet) with its run\_id

Coverage: Google Sheets shared with the InstaMaps service account as Editor; rows are matched by id, and a row that now holds a different place is skipped and named.

## Inputs

run\_id

string

The run\_id from an answer (run.run\_id), or from get\_job when a job is done. 

job\_id

string

Or a background job's job\_id. 

sheet

string

A Google Sheets link. Default: the sheet the rows came from. 

tab

string

The tab. Default: the tab the rows came from. 

mode

string

beside: new columns next to the rows they came from (the default when the run came from this tab). new\_tab: the rows as a table in a new tab (the default for any other sheet). One of: beside · new\_tab

columns

array

Which of the answer's fields to write, by name (e.g. "Latitude", "Confidence", "Nearest A&E", or geocode keys such as postcode or uprn). Default: the tool's usual columns. 

The full description, as the server gives it to an agent

Writes an earlier answer into a Google Sheet without overwriting anything. Give run\_id (every answer has one) to write its rows as new dated columns beside the rows they came from (matched by id; a row that now holds a different place is skipped and named), or as a table in a new tab; give job\_id (a background job) to write each chunk beside its rows as it finishes, or the whole run when it is done. Each write adds a line to an "InstaMaps runs" tab. The sheet must be shared with the InstaMaps service account as Editor; if it isn't, the error names the address.

## A real answer

Captured from the live server on 2026-10-13, trimmed to the first rows.

Request

{
  "run_id": "run_ae02fe5fb0d18808",
  "mode": "new_tab",
  "columns": [
    "lat",
    "lng",
    "postcode",
    "council",
    "uprn",
    "confidence"
  ]
}

The answer's first line

Wrote 3 rows to "geocode\_batch · 2026-10-13 17:36" (a new tab) in InstaMaps write\_to\_sheet test (landmarks), and a line in "InstaMaps runs".

The answer (trimmed)

{
  "run_id": "run_ae02fe5fb0d18808",
  "sheet": "InstaMaps write_to_sheet test (landmarks)",
  "tab": "geocode_batch · 2026-10-13 17:36",
  "columns": [
    "ID",
    "Name",
    "Address",
    "Latitude",
    "Longitude",
    "Postcode",
    "Council",
    "UPRN",
    "Confidence"
  ],
  "rows": 3,
  "run_log": "InstaMaps runs",
  "mode": "new_tab"
}

Use it in Claude

Add InstaMaps from Claude's connector directory and ask in plain words. 5,000 tool calls a day per person, reset at midnight UTC; a call counts once however many rows it carries; a sheet by reference is one call; checking a job is free. No billing account sits behind it, so an agent left running cannot run up a bill: at the day's limit it stops until midnight UTC.

[Add to Claude →](https://claude.ai/directory/connectors/instamaps)[ChatGPT, Gemini or Copilot](/mcp-server#add)

 Address and map data © [OpenStreetMap contributors](https://www.openstreetmap.org/copyright).
