

Agent Tool
Google Sheets
Available ActionsEach successful request consumes credits as outlined below.
create5crsearch5crlist_sheets5crread5crget_headers5crget_data_range5crappend_rows5crappend_column5crupdate_row5crexport_sheet5crshare5cradd_sheet5crdelete_sheet5crrename_sheet5crsort5crfind_replace5crformat_cells5crprotect_range5crunprotect_range5cradd_named_range5crdelete_named_range5crset_data_validation5cradd_conditional_formatting5crcopy_paste5crcut_paste5crlist_notes5crset_note5crdelete_note5crdelete_rows5crrename_spreadsheet5crwrite_range5crclear_range5crset_column_widths5crset_row_heights5crmerge_cells5crunmerge_cells5crset_borders5crfreeze5crset_gridlines5cr
Details
Create, read, update, format, share, and export Google Sheets with agent-safe spreadsheet workflows. Append rows after Google's detected table, read cell notes with exact locations and values, delete selected worksheet rows, update fields by one-based row number or stable key, and store exports in File Manager.
Workflows Using This Tool
2 / 12- Plaud Recordings to Google Drive Sync
- Narrated Walkthrough to a Numbered SOP Document
- One Plaud Recording, Several Differently Formatted Summaries
- Plaud Transcripts Corrected With Your Own Terminology Glossary
- Plaud Recordings to Google Calendar Events
- Plaud Spoken Field Notes to a Structured Sheet
- Plaud Spoken Commitments to Telegram Reminders
- Plaud Client Follow-Up Email Drafter
- Plaud Meeting Recap to Slack
- Plaud Master Action-Item Tracker
- Plaud Call Logger for Pipedrive
- X (Twitter) Thought Leadership Engine: Human-Voice AI Posts from Industry News with Approval and Auto-Publish
Workflow
Saves ~45 min
Turns talking through a job out loud into a written, numbered standard operating procedure. Built for the people who actually know the equipment and have no time to write documentation: maintenance and facilities teams, field service, manufacturing, labs, franchise operations, and any owner trying to get a process out of their own head before handing it over. Walk the machine or the task and narrate it, saying the step number out loud as you go, and the workflow pulls the transcript of each new Plaud recording and turns it into a clean procedure document: a title, the equipment or process it covers, tools and safety notes gathered into their own sections, then numbered steps in the order you said them, with your asides and warnings kept attached to the step they belong to. Filler, false starts and interruptions are dropped; the technical content is left in your words rather than rewritten into corporate documentation voice. It lands as a Google Doc so it stays editable and exports to PDF or Word, and anything the narration left ambiguous is flagged at the end for you to fill in rather than being invented. Say each step number aloud and the transcript carries its own index, which makes pairing photos to steps afterwards mechanical instead of guesswork.
Use Cases
append spreadsheet rows safely, update CRM-style rows by key, export a sheet to CSV or PDF, create reporting spreadsheets, add data validation to templates, protect header ranges, share sheets with collaborators, copy or move spreadsheet ranges, format dashboards, manage sheet tabs, lay out printable quotes and reports, merge title cells and draw table borders, set column widths and freeze header rows, export a one-page portrait PDF without gridlines
Dynamic MCP Setup
Connect once through AgentPMT Dynamic MCP, then use approved tools from the same agent connection.
30 Second Setup
STDIO connector for Claude Code, Codex, Cursor, Zed, and other LLMs that require STDIO or custom connections.
npm install -g @agentpmt/mcp-routeragentpmt-setupHosted Streamable HTTPS
MCP endpoint for browser-based apps like ChatGPT, Claude, Grok, or any time you want a streamable connection with no local install.
https://api.agentpmt.com/mcpConfig Example
Use the hosted endpoint directly in clients that support remote MCP. Store your Bearer token in the client config or secret field.
{
"mcpServers": {
"agentpmt": {
"type": "streamable-http",
"url": "https://api.agentpmt.com/mcp",
"headers": {
"Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
"x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
}
}
}
}Need client videos, organization controls, audit details, and the full feature overview?
More About Dynamic MCPCredentials
Google OAuth *
Connect your Google account.
Manage credentials in your dashboard.
Actions(39)
create5cr4 params(1 required)Create a new spreadsheet, optionally with an initial tab, headers, and rows.
create5cr4 params(1 required)Create a new spreadsheet, optionally with an initial tab, headers, and rows.
titlerequiredstringSpreadsheet title.
initial_sheet_namestringOptional first tab name.
initial_headersarrayOptional first header row.
Array of: string
rowsarrayOptional initial rows as arrays or objects keyed by headers.
Array of: object
search5cr2 paramsSearch or list recent Google Sheets spreadsheets.
search5cr2 paramsSearch or list recent Google Sheets spreadsheets.
querystringOptional search text matched against spreadsheet name/content.
max_resultsintegerMaximum results to return, 1-100.
Range: 1 - 100
list_sheets5cr1 param(1 required)List the tabs in a spreadsheet with sheet ids and dimensions.
list_sheets5cr1 param(1 required)List the tabs in a spreadsheet with sheet ids and dimensions.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
read5cr5 params(1 required)Read values from a tab or A1 range. Returns one-based row_numbers aligned with values; no row offset is needed.
read5cr5 params(1 required)Read values from a tab or A1 range. Returns one-based row_numbers aligned with values; no row offset is needed.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
sheet_idintegerOptional numeric sheet id.
rangestringOptional A1 range with visible one-based row labels. Qualified range and sheet_name must identify the same tab.
value_render_optionstringFORMATTED_VALUE, UNFORMATTED_VALUE, or FORMULA.
get_headers5cr3 params(1 required)Read the header row and return header-to-column mappings plus duplicate diagnostics.
get_headers5cr3 params(1 required)Read the header row and return header-to-column mappings plus duplicate diagnostics.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
header_rowintegerOne-based header row, default 1.
Range: 1 - ...
get_data_range5cr3 params(1 required)Find the absolute one-based last non-empty row/column; a partial range never returns an append recommendation.
get_data_range5cr3 params(1 required)Find the absolute one-based last non-empty row/column; a partial range never returns an append recommendation.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
rangestringOptional partial A1 range; recommended_append_start is null when set.
append_rows5cr5 params(2 required)Append rows after Google's detected table. Object rows map to sheet headers. Returns appended_row_numbers from Google's actual updated range.
append_rows5cr5 params(2 required)Append rows after Google's detected table. Object rows map to sheet headers. Returns appended_row_numbers from Google's actual updated range.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
rowsrequiredarrayRows as arrays or objects keyed by headers.
Array of: object
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
header_rowintegerOne-based header row, default 1.
Range: 1 - ...
value_input_optionstringUSER_ENTERED or RAW.
append_column5cr4 params(3 required)Append one new column immediately after the last non-empty data column and write its header and values.
append_column5cr4 params(3 required)Append one new column immediately after the last non-empty data column and write its header and values.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
column_namerequiredstringNew column header.
column_valuesrequiredarrayValues to write below the header at the data table edge.
Array of: string
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
update_row5cr7 params(2 required)Update selected fields by header in a physical one-based row_number, or by a stable key; long-text exact matching is fragile.
update_row5cr7 params(2 required)Update selected fields by header in a physical one-based row_number, or by a stable key; long-text exact matching is fragile.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
updatesrequiredobjectColumn patch keyed by header names.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
row_numberintegerPhysical one-based row number from read.row_numbers; do not add 1 or 2.
Range: 1 - ...
key_columnstringHeader used to find the row when row_number is omitted.
key_valuestringValue to match in key_column.
multibooleanAllow all matching rows to update.
export_sheet5cr8 params(2 required)Export a specific sheet or whole spreadsheet to File Manager as CSV, TSV, PDF, XLSX, ODS, HTML, or ZIP. For PDF, pdf_options sets the print layout (orientation, fit to one page, gridlines, margins).
export_sheet5cr8 params(2 required)Export a specific sheet or whole spreadsheet to File Manager as CSV, TSV, PDF, XLSX, ODS, HTML, or ZIP. For PDF, pdf_options sets the print layout (orientation, fit to one page, gridlines, margins).
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
formatrequiredstringcsv, tsv, pdf, xlsx, ods, html, or zip. Use pdf with pdf_options for print layout.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
sheet_idintegerOptional numeric sheet id.
rangestringOptional A1 range. Limits CSV/TSV exports, and PDF exports that use pdf_options, to these cells.
filenamestringOptional stored filename.
expiration_daysintegerFile Manager expiration, 1-7 days.
Range: 1 - 7
pdf_optionsobjectPrint layout for format=pdf only; applies to the exported file, not the spreadsheet's own print settings. Omitted fields use Google's defaults. One-page portrait without gridlines: {"orientation": "portrait", "fit": "page", "show_gridlines": false}.
Properties:
orientation(string)- Page orientation.fit(string)- actual_size, width (fit to page width), height (fit to page height), or page (everything on one page).paper_size(string)- Paper size.show_gridlines(boolean)- Print cell gridlines.margins(string)- Margin preset: normal, narrow, or wide.top_margin(number)- Top margin in inches; overrides the preset for this side.bottom_margin(number)- Bottom margin in inches.left_margin(number)- Left margin in inches.right_margin(number)- Right margin in inches.horizontal_alignment(string)- Horizontal placement on the page.vertical_alignment(string)- Vertical placement on the page.repeat_frozen_rows(boolean)- Repeat frozen header rows on every page (freeze them first).repeat_frozen_columns(boolean)- Repeat frozen columns on every page.show_page_numbers(boolean)- Print page numbers.show_sheet_names(boolean)- Print the tab name in the header.show_title(boolean)- Print the spreadsheet title in the header.show_notes(boolean)- Print cell notes.share5cr5 params(1 required)Share a spreadsheet with a user, group, domain, or anyone.
share5cr5 params(1 required)Share a spreadsheet with a user, group, domain, or anyone.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
emailstringEmail for user/group shares.
domainstringDomain for domain shares.
rolestringreader, commenter, writer, organizer, fileOrganizer, or owner.
permission_typestringuser, group, domain, or anyone.
add_sheet5cr2 params(2 required)Add a new tab to a spreadsheet.
add_sheet5cr2 params(2 required)Add a new tab to a spreadsheet.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
new_sheet_namerequiredstringNew tab name.
delete_sheet5cr4 params(1 required)Delete a tab by name, id, or index.
delete_sheet5cr4 params(1 required)Delete a tab by name, id, or index.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
sheet_idintegerNumeric sheet id.
sheet_indexintegerZero-based tab index.
rename_sheet5cr5 params(2 required)Rename a tab by name, id, or index.
rename_sheet5cr5 params(2 required)Rename a tab by name, id, or index.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
new_sheet_namerequiredstringNew tab name.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
sheet_idintegerNumeric sheet id.
sheet_indexintegerZero-based tab index.
sort5cr4 params(3 required)Sort a range, preferably by header name.
sort5cr4 params(3 required)Sort a range, preferably by header name.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
rangerequiredstringA1 range to sort.
sort_specsrequiredarraySort specs with header/column_name or dimensionIndex and order/sortOrder.
Array of: object
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
find_replace5cr7 params(3 required)Find and replace text across the spreadsheet or one sheet.
find_replace5cr7 params(3 required)Find and replace text across the spreadsheet or one sheet.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
findrequiredstringText or regex to find.
replacementrequiredstringReplacement text.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
match_casebooleanCase-sensitive match.
match_entire_cellbooleanMatch entire cell contents only.
search_by_regexbooleanTreat find as regex.
format_cells5cr5 params(2 required)Apply cell formatting or number format to a range.
format_cells5cr5 params(2 required)Apply cell formatting or number format to a range.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
rangerequiredstringA1 range to format.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
cell_formatobjectText/background/alignment/wrap formatting.
number_formatobjectSheets numberFormat object.
protect_range5cr6 params(2 required)Protect a range, optionally warning-only or with explicit editor emails.
protect_range5cr6 params(2 required)Protect a range, optionally warning-only or with explicit editor emails.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
rangerequiredstringA1 range to protect.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
descriptionstringProtection description.
warning_onlybooleanIf true, warn instead of blocking edits.
editor_emailsarrayUsers allowed to edit protected range.
Array of: string
unprotect_range5cr2 params(2 required)Remove protection by protected range id.
unprotect_range5cr2 params(2 required)Remove protection by protected range id.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
protected_range_idrequiredintegerGoogle protectedRangeId to delete.
add_named_range5cr4 params(3 required)Create a named range.
add_named_range5cr4 params(3 required)Create a named range.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
rangerequiredstringA1 range.
namerequiredstringNamed range name.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
delete_named_range5cr2 params(2 required)Delete a named range by id.
delete_named_range5cr2 params(2 required)Delete a named range by id.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
named_range_idrequiredstringGoogle namedRangeId to delete.
set_data_validation5cr4 params(3 required)Set a Sheets data validation rule on a range.
set_data_validation5cr4 params(3 required)Set a Sheets data validation rule on a range.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
rangerequiredstringA1 range.
validation_rulerequiredobjectSheets DataValidationRule object.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
add_conditional_formatting5cr4 params(3 required)Add a conditional formatting rule to a range.
add_conditional_formatting5cr4 params(3 required)Add a conditional formatting rule to a range.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
rangerequiredstringA1 range for the rule.
rulerequiredobjectSheets ConditionalFormatRule object; ranges can be omitted.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
copy_paste5cr6 params(3 required)Copy cells to an A1 destination range; overwrites destination cells and does not insert rows.
copy_paste5cr6 params(3 required)Copy cells to an A1 destination range; overwrites destination cells and does not insert rows.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
source_rangerequiredstringA1 source range.
destination_rangerequiredstringA1 destination range.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
paste_typestringSheets pasteType such as PASTE_NORMAL or PASTE_VALUES.
paste_orientationstringNORMAL or TRANSPOSE.
cut_paste5cr5 params(3 required)Move cells to an A1 destination start cell; does not insert rows. Returns destination_row_number.
cut_paste5cr5 params(3 required)Move cells to an A1 destination start cell; does not insert rows. Returns destination_row_number.
spreadsheet_idrequiredstringGoogle spreadsheet id or URL.
source_rangerequiredstringA1 source range.
destination_rangerequiredstringA1 destination start cell.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
paste_typestringSheets pasteType such as PASTE_NORMAL or PASTE_VALUES.
list_notes5cr5 params(1 required)List cell notes with exact sheet and A1 locations plus the current cell values. Without a filter, scans every tab.
list_notes5cr5 params(1 required)List cell notes with exact sheet and A1 locations plus the current cell values. Without a filter, scans every tab.
spreadsheet_idrequiredstringSpreadsheet ID or full Google Sheets URL.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
sheet_idintegerNumeric Google sheetId (gid).
sheet_indexintegerZero-based tab index.
rangestringA1 range using visible one-based worksheet row numbers; quote a tab name only inside a qualified range.
set_note5cr6 params(3 required)Set the same note on every cell in a bounded A1 cell or range.
set_note5cr6 params(3 required)Set the same note on every cell in a bounded A1 cell or range.
spreadsheet_idrequiredstringSpreadsheet ID or full Google Sheets URL.
rangerequiredstringA1 range using visible one-based worksheet row numbers; quote a tab name only inside a qualified range.
noterequiredstringNote text to set; use delete_note to remove it.
Length: 1 - unlimited
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
sheet_idintegerNumeric Google sheetId (gid).
sheet_indexintegerZero-based tab index.
delete_note5cr5 params(2 required)Remove notes from every cell in a bounded A1 cell or range without changing values or formatting.
delete_note5cr5 params(2 required)Remove notes from every cell in a bounded A1 cell or range without changing values or formatting.
spreadsheet_idrequiredstringSpreadsheet ID or full Google Sheets URL.
rangerequiredstringA1 range using visible one-based worksheet row numbers; quote a tab name only inside a qualified range.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
sheet_idintegerNumeric Google sheetId (gid).
sheet_indexintegerZero-based tab index.
delete_rows5cr5 params(2 required)Permanently delete complete worksheet rows by original one-based row number, from bottom to top. Requires a tab selector; row 1 is protected.
delete_rows5cr5 params(2 required)Permanently delete complete worksheet rows by original one-based row number, from bottom to top. Requires a tab selector; row 1 is protected.
spreadsheet_idrequiredstringSpreadsheet ID or full Google Sheets URL.
row_numbersrequiredarrayDistinct original one-based sheet row numbers, each at least 2; 1-500 entries. One of sheet_name, sheet_id, or sheet_index is required.
Array of: integer
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
sheet_idintegerNumeric Google sheetId (gid).
sheet_indexintegerZero-based tab index.
rename_spreadsheet5cr2 params(2 required)Rename the spreadsheet file; does not rename any sheet tab.
rename_spreadsheet5cr2 params(2 required)Rename the spreadsheet file; does not rename any sheet tab.
spreadsheet_idrequiredstringSpreadsheet ID or full URL.
new_titlerequiredstringNonblank new spreadsheet file title.
write_range5cr7 params(3 required)Write values into exact cells, such as a title block or report layout. Refuses to replace cells that already hold data unless overwrite is true; grows the tab if values run past its grid.
write_range5cr7 params(3 required)Write values into exact cells, such as a title block or report layout. Refuses to replace cells that already hold data unless overwrite is true; grows the tab if values run past its grid.
spreadsheet_idrequiredstringSpreadsheet ID or full Google Sheets URL.
rangerequiredstringTop-left cell (e.g. B3) to size the write from values, or a bounded A1 range at least as large as values. A qualified range like 'Quote'!B3 selects the tab.
valuesrequiredarrayRow arrays, e.g. [["Name", "Total"], ["Ada", 42]]. null leaves a cell unchanged; "" clears it. Entered as if typed, so formulas starting with = are evaluated.
Array of: array
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
sheet_idintegerNumeric Google sheetId (gid).
sheet_indexintegerZero-based tab index.
overwritebooleanAllow replacing cells that already contain data. Without it the call fails and lists the occupied cells.
Default:
falseclear_range5cr6 params(2 required)Empty the values in an A1 range without deleting rows or columns. Notes and merges are kept; formatting is kept unless clear_formatting is true.
clear_range5cr6 params(2 required)Empty the values in an A1 range without deleting rows or columns. Notes and merges are kept; formatting is kept unless clear_formatting is true.
spreadsheet_idrequiredstringSpreadsheet ID or full Google Sheets URL.
rangerequiredstringA1 range to clear, e.g. A10:F40 or 'Quote'!A10:F40. Parts past the tab's grid are ignored.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
sheet_idintegerNumeric Google sheetId (gid).
sheet_indexintegerZero-based tab index.
clear_formattingbooleanAlso reset cell formatting in the range.
Default:
falseset_column_widths5cr7 params(1 required)Set column widths in pixels and/or auto-fit columns to their contents. Provide column_widths, auto_fit, or both; explicit widths are applied after the auto-fit.
set_column_widths5cr7 params(1 required)Set column widths in pixels and/or auto-fit columns to their contents. Provide column_widths, auto_fit, or both; explicit widths are applied after the auto-fit.
spreadsheet_idrequiredstringSpreadsheet ID or full Google Sheets URL.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
sheet_idintegerNumeric Google sheetId (gid).
sheet_indexintegerZero-based tab index.
column_widthsobjectColumn letter or letter range mapped to width in pixels, e.g. {"A": 40, "B": 220, "C:F": 110}. Default Sheets width is 100.
auto_fitbooleanResize columns to fit their contents.
Default:
falserangestringColumns to auto-fit, e.g. A:F. Omit to auto-fit every column on the tab.
set_row_heights5cr7 params(1 required)Set row heights in pixels and/or auto-fit rows to their contents. Provide row_heights, auto_fit, or both; explicit heights are applied after the auto-fit.
set_row_heights5cr7 params(1 required)Set row heights in pixels and/or auto-fit rows to their contents. Provide row_heights, auto_fit, or both; explicit heights are applied after the auto-fit.
spreadsheet_idrequiredstringSpreadsheet ID or full Google Sheets URL.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
sheet_idintegerNumeric Google sheetId (gid).
sheet_indexintegerZero-based tab index.
row_heightsobjectOne-based row number or row range mapped to height in pixels, e.g. {"1": 48, "2:30": 24}. Default Sheets height is 21.
auto_fitbooleanResize rows to fit their contents.
Default:
falserangestringRows to auto-fit, e.g. 1:20. Omit to auto-fit every row on the tab.
merge_cells5cr7 params(2 required)Merge a bounded range of at least two cells. Only the top-left value of each merged area is kept, so the call fails and lists the cells that would lose values unless allow_value_loss is true.
merge_cells5cr7 params(2 required)Merge a bounded range of at least two cells. Only the top-left value of each merged area is kept, so the call fails and lists the cells that would lose values unless allow_value_loss is true.
spreadsheet_idrequiredstringSpreadsheet ID or full Google Sheets URL.
rangerequiredstringBounded A1 range inside the tab's grid, e.g. A1:F1.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
sheet_idintegerNumeric Google sheetId (gid).
sheet_indexintegerZero-based tab index.
merge_typestringMERGE_ALL merges the whole range into one cell; MERGE_ROWS merges each row separately; MERGE_COLUMNS merges each column separately.
Values:
MERGE_ALLMERGE_ROWSMERGE_COLUMNS
Default:
MERGE_ALLallow_value_lossbooleanProceed even though values outside each merged area's top-left cell will be discarded.
Default:
falseunmerge_cells5cr5 params(2 required)Unmerge every merged area that lies within an A1 range.
unmerge_cells5cr5 params(2 required)Unmerge every merged area that lies within an A1 range.
spreadsheet_idrequiredstringSpreadsheet ID or full Google Sheets URL.
rangerequiredstringA1 range covering the merged cells, e.g. A1:F1.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
sheet_idintegerNumeric Google sheetId (gid).
sheet_indexintegerZero-based tab index.
set_borders5cr9 params(2 required)Draw or remove table borders on an A1 range using a preset, per-side borders, or both (per-side borders override the preset). Sides not given are left unchanged.
set_borders5cr9 params(2 required)Draw or remove table borders on an A1 range using a preset, per-side borders, or both (per-side borders override the preset). Sides not given are left unchanged.
spreadsheet_idrequiredstringSpreadsheet ID or full Google Sheets URL.
rangerequiredstringA1 range to border, e.g. A5:F20.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
sheet_idintegerNumeric Google sheetId (gid).
sheet_indexintegerZero-based tab index.
border_presetstringall (grid on every cell), outer (box around the range), inner (lines between cells only), or none (remove all borders in the range).
Values:
allouterinnernone
border_stylestringLine style for border_preset and for borders sides given without a style.
Values:
SOLIDSOLID_MEDIUMSOLID_THICKDOUBLEDASHEDDOTTED
Default:
SOLIDborder_colorobjectBorder RGB color with 0-1 channels, e.g. {"red": 0.12, "green": 0.3, "blue": 0.47}. Defaults to black.
Properties:
red(number)- Red channel, 0-1.green(number)- Green channel, 0-1.blue(number)- Blue channel, 0-1.bordersobjectPer-side borders. Keys: top, bottom, left, right, inner_horizontal, inner_vertical. Values: a style (SOLID, SOLID_MEDIUM, SOLID_THICK, DOUBLE, DASHED, DOTTED, NONE) or {"style": "SOLID_THICK", "color": {"red": 0, "green": 0, "blue": 0}}.
freeze5cr6 params(1 required)Freeze the top rows and/or left columns of a tab so they stay visible while scrolling. 0 unfreezes. Frozen rows can repeat on every PDF page.
freeze5cr6 params(1 required)Freeze the top rows and/or left columns of a tab so they stay visible while scrolling. 0 unfreezes. Frozen rows can repeat on every PDF page.
spreadsheet_idrequiredstringSpreadsheet ID or full Google Sheets URL.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
sheet_idintegerNumeric Google sheetId (gid).
sheet_indexintegerZero-based tab index.
frozen_rowsintegerNumber of top rows to freeze; 0 unfreezes rows.
Range: 0 - ...
frozen_columnsintegerNumber of left columns to freeze; 0 unfreezes columns.
Range: 0 - ...
set_gridlines5cr5 params(2 required)Show or hide the gray cell gridlines on a tab.
set_gridlines5cr5 params(2 required)Show or hide the gray cell gridlines on a tab.
spreadsheet_idrequiredstringSpreadsheet ID or full Google Sheets URL.
show_gridlinesrequiredbooleanfalse hides gridlines; true shows them.
sheet_namestringExact tab title from list_sheets, without surrounding A1 quote marks.
sheet_idintegerNumeric Google sheetId (gid).
sheet_indexintegerZero-based tab index.
curl -X POST "https://api.agentpmt.com/products/purchase" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ********" \
-d '{
"product_id": "696302894cf4309309cac7b2",
"parameters": {
"action": "create",
"title": "example_title"
}
}'import requests
import json
url = "https://api.agentpmt.com/products/purchase"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer ********"
}
data = {
"product_id": "696302894cf4309309cac7b2",
"parameters": {
"action": "create",
"title": "example_title"
}
}
response = requests.post(url, headers=headers, json=data)
print(response.status_code)
print(response.json())const url = "https://api.agentpmt.com/products/purchase";
const headers = {
"Content-Type": "application/json",
"Authorization": "Bearer ********"
};
const data = {
product_id: "696302894cf4309309cac7b2",
parameters: {
"action": "create",
"title": "example_title"
}
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(data)
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Error:", error));const axios = require('axios');
const url = "https://api.agentpmt.com/products/purchase";
const headers = {
"Content-Type": "application/json",
"Authorization": "Bearer ********"
};
const data = {
product_id: "696302894cf4309309cac7b2",
parameters: {
"action": "create",
"title": "example_title"
}
};
axios.post(url, data, { headers })
.then(response => {
console.log(response.status);
console.log(response.data);
})
.catch(error => {
console.error("Error:", error.message);
});Login to view your API and budget keys. The example above uses placeholder values. Sign in to see personalized code with your bearer token.
Autonomous agents can access this tool through AgentAddress credit balances or direct x402 payments. Use the Autonomous Agent API reference for endpoint shapes after choosing the access pattern below.
Recommended
Credit-Based Access Using AgentAddress
AgentAddress is preferred when an autonomous agent needs persistent file access, stored platform state, or maximum tool use ability across repeated calls.
Open Credit-Based Access Using AgentAddressDirect x402 Payment
Use direct x402 for independent one-off tool calls that do not require shared files or stored platform state.
Accepted public payments
- Stablecoin
- USDC
- Chains
- Base, Arbitrum, Optimism, Polygon, and Avalanche
Direct x402 payments are not enabled for this product; use AgentAddress credit access instead.
Product Skill Package
This product has a published Agent Skill package. Install it when an autonomous agent needs product-specific operating instructions in its local skill registry.
OpenClaw install
skills.sh install
Usage Instructions
Usage guidance provided directly by the developer for this product.
Google Sheets
Use the short action names. This tool is optimized for safe agent workflows:
read a tab, append rows after Google's detected table, update only named columns in a
matched row, and export a specific sheet without guessing "Sheet1".
Use These First
- Read data:
read - Add table records:
append_rows - Add one new field/column:
append_column - Update selected fields in a matched row:
update_row - Export one tab or the whole spreadsheet:
export_sheet - Discover real tab names:
list_sheets - Read notes with their cells and current values:
list_notes - Remove selected worksheet rows after verifying their data is safely copied:
delete_rows - Rename the entire spreadsheet file:
rename_spreadsheet; rename one tab:rename_sheet - Put values in specific cells (title blocks, report layouts):
write_range - Lay out a printable report:
set_column_widths,merge_cells,set_borders,freeze,set_gridlines, thenexport_sheetwithpdf_options
Actions
createsearchlist_sheetsreadget_headersget_data_rangelist_notesset_notedelete_noteappend_rowsappend_columnupdate_rowexport_sheetshareadd_sheetdelete_sheetdelete_rowsrename_spreadsheetrename_sheetsortfind_replaceformat_cellsprotect_rangeunprotect_rangeadd_named_rangedelete_named_rangeset_data_validationadd_conditional_formattingcopy_pastecut_pastewrite_rangeclear_rangeset_column_widthsset_row_heightsmerge_cellsunmerge_cellsset_bordersfreezeset_gridlinesget_instructions
Legacy low-level names such as get_values, append_values,
batch_update_values, get_sheet_data, create_spreadsheet, and raw
batch_update are intentionally removed. Use the friendly action that matches
the intent instead.
Safe Reads
If sheet_name is omitted, the tool resolves the real first tab from
spreadsheet metadata. Do not guess "Sheet1".
Use the exact tab title from list_sheets for sheet_name, without A1 quote
marks: "Oct 2026", not "'Oct 2026'". Quote tab names only inside a
fully qualified A1 range, for example "'Oct 2026'!A2:I2". For one-tab
actions, use either a sheet selector with an unqualified range or a qualified
range by itself. On read, conflicting selectors are rejected. Cross-tab
copy_paste and cut_paste may use separately qualified source and destination
ranges.
All row numbers exposed by this tool are one-based worksheet row numbers,
matching the row labels visible in Google Sheets. read returns row_numbers
aligned with values: values[i] is on sheet row row_numbers[i]. Use that
number directly for update_row or delete_rows; do not add 1 or 2. For
example, when row 1 is the header, values[1] has row_numbers[1] == 2.
This also works when read starts at a later range such as A20:I30.
{"action": "read", "spreadsheet_id": "1abc..."}
{"action": "read", "spreadsheet_id": "1abc...", "sheet_name": "Q1 Pipeline", "range": "A1:D20"}
get_data_range.last_row is also an absolute, one-based sheet row number.
Call get_data_range without range to get recommended_append_start for the
whole tab. If a partial range is supplied, the recommendation is null
because the tool cannot know whether data exists outside that selection.
Append Rows
Use append_rows for all table appends. The tool reads headers when rows are
objects, maps keys to columns, and appends with INSERT_ROWS.
{
"action": "append_rows",
"spreadsheet_id": "1abc...",
"sheet_name": "Leads",
"rows": [
{"Name": "Ada", "Status": "New"},
{"Name": "Grace", "Status": "Qualified"}
]
}
The backend also accepts array rows, but the published vendor action schema exposes object rows. Agents should use header-keyed objects so the columns are unambiguous.
append_rows does not take a destination row number. Google places the new
rows after the table it detects in the requested tab; read the returned
appended_row_numbers (or updates.updatedRange) for their actual sheet
positions. Do not calculate an insertion row or add an offset. If exact
placement within the sheet is required, append_rows is not that operation.
Append Column
Use append_column to add a column immediately after the current data table.
Agents should not calculate raw column indexes.
{
"action": "append_column",
"spreadsheet_id": "1abc...",
"sheet_name": "Leads",
"column_name": "Owner",
"column_values": ["Sam", "Riley"]
}
Update A Row Safely
Use update_row to update specific fields only. The tool resolves headers and
emits exact updateCells requests for the touched cells.
{
"action": "update_row",
"spreadsheet_id": "1abc...",
"sheet_name": "Leads",
"key_column": "Email",
"key_value": "ada@example.com",
"updates": {"Status": "Qualified", "Owner": "Sam"}
}
If more than one row matches, the tool errors unless multi is true.
For a known physical row, pass row_number directly from read.row_numbers:
{"action": "update_row", "spreadsheet_id": "1abc...", "sheet_name": "Leads", "row_number": 8, "updates": {"Status": "Qualified"}}
Prefer row_number over matching an entire long text cell with key_column
and key_value; even a changed newline or punctuation mark makes an exact
text match fail. Re-read immediately before an update if other writers may
insert or delete rows.
Delete Rows
delete_rows permanently removes complete worksheet rows and shifts the rows
below them upward. Required: spreadsheet_id, one of sheet_name, sheet_id,
or sheet_index, and row_numbers (an array of 1-500 distinct, one-based row
numbers). Row 1 is protected. The tool deletes the original row numbers from
bottom to top, so non-adjacent rows can be sent together without recalculating
positions. Never retry a successful or uncertain deletion with the same row
numbers; re-read the sheet first because positions may have shifted.
{"action": "delete_rows", "spreadsheet_id": "1abc...", "sheet_name": "Posts", "row_numbers": [3, 8, 12]}
For archiving values: read the source rows, send their values to the archive
tab with append_rows, verify the returned appended rows, then delete only the
original source row numbers in one delete_rows call. If formatting or notes
must also move, use copy_paste or cut_paste into a verified empty archive
range instead; these actions overwrite destination cells and do not insert
worksheet rows. After cut_paste, the source cells are blank but the worksheet
rows remain until delete_rows runs. Do not delete rows before verifying the
archive.
For example, if a posted record is read.values[1] and its matching
read.row_numbers[1] is 2, move A2:I2 and later delete row 2—not row 4.
copy_paste and cut_paste use A1 addresses such as 'Posts'!A8:I8 and
'archive'!A3; those row numbers are also one-based. cut_paste returns
destination_row_number for confirmation. Do not add an offset to A1 addresses.
Cell Notes
Notes are stable Google Sheets cell metadata and are distinct from comment
threads. list_notes returns each note with its exact sheet, A1 cell address,
displayed value, raw/effective value, and formula when present. With no sheet or
range filter it scans every tab in the spreadsheet.
{"action": "list_notes", "spreadsheet_id": "1abc..."}
Limit the scan to one tab or range when the workbook is large:
{"action": "list_notes", "spreadsheet_id": "1abc...", "sheet_name": "Forecast", "range": "A1:F100"}
Set or replace a note. When range contains multiple cells, the same note is
applied to every cell in the range:
{"action": "set_note", "spreadsheet_id": "1abc...", "sheet_name": "Forecast", "range": "D12", "note": "Verify this assumption"}
Delete notes from a cell or range without changing cell values or formatting:
{"action": "delete_note", "spreadsheet_id": "1abc...", "sheet_name": "Forecast", "range": "D12"}
Export
export_sheet stores exports in AgentPMT File Manager.
CSV and TSV exports for a specific sheet are synthesized from Sheets values
using proper CSV quoting. PDF/XLSX/ODS/HTML/ZIP exports for one sheet use the
official temporary-spreadsheet + sheets.copyTo + Drive export flow. Whole
spreadsheet exports use Drive files.export.
{
"action": "export_sheet",
"spreadsheet_id": "1abc...",
"sheet_name": "Leads",
"format": "csv",
"filename": "leads.csv"
}
{
"action": "export_sheet",
"spreadsheet_id": "1abc...",
"sheet_name": "Leads",
"format": "pdf",
"filename": "leads.pdf"
}
Drive scope is required for export_sheet formats that use Drive export and
for share.
PDF Print Layout
Add pdf_options to a format: "pdf" export to control the printed layout.
Google cannot save print settings on the spreadsheet itself, so these options
apply to the exported PDF only; File > Print in the browser keeps its own
defaults. For portrait, everything on one page, and no gridlines:
{
"action": "export_sheet",
"spreadsheet_id": "1abc...",
"sheet_name": "Quote",
"format": "pdf",
"filename": "quote.pdf",
"pdf_options": {"orientation": "portrait", "fit": "page", "show_gridlines": false}
}
pdf_options fields (all optional; omitted fields use Google's defaults):
orientation:portraitorlandscapefit:page(whole selection on one page),width,height, oractual_sizepaper_size:letter,legal,tabloid,statement,executive,folio,a3,a4,a5,b4,b5show_gridlines:falseremoves the gray cell lines (drawn borders still print)margins:normal,narrow, orwide;top_margin,bottom_margin,left_margin,right_marginin inches override single sideshorizontal_alignment:LEFT,CENTER,RIGHT;vertical_alignment:TOP,MIDDLE,BOTTOMrepeat_frozen_rows/repeat_frozen_columns: repeat frozen headers on every page (freeze them first withfreeze)show_page_numbers,show_sheet_names,show_title,show_notes
With a tab selector, only that tab is printed; add range (for example
"A1:F40") to print part of it. Without a tab selector or range, every tab is
printed. pdf_options is rejected for formats other than pdf.
Formatting And Controls
Use format_cells for common cell formatting:
{
"action": "format_cells",
"spreadsheet_id": "1abc...",
"sheet_name": "Leads",
"range": "A1:D1",
"cell_format": {"bold": true, "background_color": {"red": 0.9, "green": 0.9, "blue": 1}}
}
Use protect_range and keep warning_only=true when you only want a warning:
{
"action": "protect_range",
"spreadsheet_id": "1abc...",
"sheet_name": "Leads",
"range": "A1:D1",
"description": "Header row",
"warning_only": true
}
Remove protection by the returned Google protected_range_id:
{"action": "unprotect_range", "spreadsheet_id": "1abc...", "protected_range_id": 12345}
Write And Clear Ranges
Use write_range to place values in exact cells, such as a title block above a
table or labels in a form-style layout. values is an array of row arrays. Pass
the top-left cell as range and the write is sized from values; a full range
like A1:C2 must be big enough for values. Values are entered as if typed
(formulas like =SUM(B2:B9) work). null leaves a cell unchanged and ""
clears it. The tab grows automatically if the write runs past its last row or
column.
{
"action": "write_range",
"spreadsheet_id": "1abc...",
"sheet_name": "Quote",
"range": "A1",
"values": [["Project Quote"], ["Prepared for", "Acme Co"], ["Date", "2026-11-22"]]
}
By default write_range refuses to replace cells that already contain data and
returns the occupied cells. Re-read the range, then send overwrite: true only
when replacing them is intended. For table records, still use append_rows or
update_row.
Use clear_range to empty cells without deleting rows or columns. Values and
formulas are cleared; add clear_formatting: true to also reset formatting.
Notes and merges are kept.
{"action": "clear_range", "spreadsheet_id": "1abc...", "sheet_name": "Quote", "range": "A10:F40"}
Layout: Widths, Merges, Borders, Freeze, Gridlines
Column widths and row heights are in pixels (Sheets defaults: 100 wide, 21 tall). Keys are column letters or letter ranges, and one-based row numbers or row ranges:
{"action": "set_column_widths", "spreadsheet_id": "1abc...", "sheet_name": "Quote", "column_widths": {"A": 40, "B": 240, "C:F": 110}}
{"action": "set_row_heights", "spreadsheet_id": "1abc...", "sheet_name": "Quote", "row_heights": {"1": 48, "2:30": 24}}
Fit columns or rows to their contents with auto_fit: true, limited by range
("A:F" or "1:20") or the whole tab when range is omitted:
{"action": "set_column_widths", "spreadsheet_id": "1abc...", "sheet_name": "Quote", "auto_fit": true, "range": "A:F"}
Merge cells with merge_cells and a bounded range. merge_type is MERGE_ALL
(default, one cell), MERGE_ROWS (each row separately), or MERGE_COLUMNS
(each column separately). A merge keeps only the top-left value of each merged
area, so merge_cells fails and lists the affected cells when others contain
data; move those values or send allow_value_loss: true. Use unmerge_cells
with a range to split every merge inside it.
{"action": "merge_cells", "spreadsheet_id": "1abc...", "sheet_name": "Quote", "range": "A1:F1"}
Draw table borders with set_borders. border_preset is all (every cell
line), outer (box), inner (lines between cells), or none (remove borders).
border_style is SOLID (default), SOLID_MEDIUM, SOLID_THICK, DOUBLE,
DASHED, or DOTTED; border_color uses 0-1 RGB channels and defaults to
black. borders sets individual sides (top, bottom, left, right,
inner_horizontal, inner_vertical) and overrides the preset; use style
NONE to remove one side. Sides not mentioned are left unchanged.
{"action": "set_borders", "spreadsheet_id": "1abc...", "sheet_name": "Quote", "range": "A5:F20", "border_preset": "all"}
{
"action": "set_borders",
"spreadsheet_id": "1abc...",
"sheet_name": "Quote",
"range": "A5:F5",
"borders": {"bottom": {"style": "SOLID_THICK", "color": {"red": 0.1, "green": 0.2, "blue": 0.45}}}
}
Keep header rows or label columns visible while scrolling with freeze
(0 unfreezes). Frozen rows can also repeat on every PDF page.
{"action": "freeze", "spreadsheet_id": "1abc...", "sheet_name": "Quote", "frozen_rows": 1}
Hide or show the gray gridlines on a tab with set_gridlines:
{"action": "set_gridlines", "spreadsheet_id": "1abc...", "sheet_name": "Quote", "show_gridlines": false}
Images and logos cannot be inserted through this tool.
Advanced Sheet Features
Named ranges:
{
"action": "add_named_range",
"spreadsheet_id": "1abc...",
"sheet_name": "Leads",
"range": "A1:D20",
"name": "LeadTable"
}
{"action": "delete_named_range", "spreadsheet_id": "1abc...", "named_range_id": "nr_123"}
Data validation:
{
"action": "set_data_validation",
"spreadsheet_id": "1abc...",
"sheet_name": "Leads",
"range": "B2:B100",
"validation_rule": {
"condition": {"type": "ONE_OF_LIST", "values": [{"userEnteredValue": "New"}, {"userEnteredValue": "Qualified"}]},
"strict": true,
"showCustomUi": true
}
}
Conditional formatting:
{
"action": "add_conditional_formatting",
"spreadsheet_id": "1abc...",
"sheet_name": "Leads",
"range": "B2:B100",
"rule": {
"booleanRule": {
"condition": {"type": "TEXT_EQ", "values": [{"userEnteredValue": "Qualified"}]},
"format": {"backgroundColor": {"red": 0.8, "green": 1, "blue": 0.8}}
}
}
}
Copy or cut/paste cells:
{
"action": "copy_paste",
"spreadsheet_id": "1abc...",
"sheet_name": "Leads",
"source_range": "A1:D20",
"destination_range": "F1:I20",
"paste_type": "PASTE_NORMAL"
}
{
"action": "cut_paste",
"spreadsheet_id": "1abc...",
"sheet_name": "Leads",
"source_range": "A1:D20",
"destination_range": "F1"
}
Other Actions
All actions below require spreadsheet_id except create, search, and
get_instructions. sheet_name is optional unless stated otherwise; use
list_sheets to discover its exact value. These examples omit the connected
account, which the platform supplies.
get_instructions: no fields.{"action":"get_instructions"}create:titlerequired; optionalinitial_sheet_name,initial_headers.{"action":"create","title":"Weekly Posts","initial_sheet_name":"Posts","initial_headers":["post","status"]}search: optionalquery,max_results(1-100).{"action":"search","query":"Weekly Posts"}list_sheets:{"action":"list_sheets","spreadsheet_id":"1abc..."}get_headers: optionalsheet_name,header_row(default 1).{"action":"get_headers","spreadsheet_id":"1abc...","sheet_name":"Posts"}get_data_range: optionalsheet_name,range; a partial range returns no append recommendation.{"action":"get_data_range","spreadsheet_id":"1abc...","sheet_name":"Posts"}add_sheet:new_sheet_namerequired.{"action":"add_sheet","spreadsheet_id":"1abc...","new_sheet_name":"archive"}delete_sheet: one ofsheet_name,sheet_id,sheet_indexrequired; permanently removes the whole tab.{"action":"delete_sheet","spreadsheet_id":"1abc...","sheet_name":"Old Drafts"}rename_spreadsheet:spreadsheet_idand nonblanknew_titlerequired. Renames the spreadsheet file, not any tab; its ID and URL stay the same.{"action":"rename_spreadsheet","spreadsheet_id":"1abc...","new_title":"Social Posts 2026"}rename_sheet: one tab selector andnew_sheet_namerequired. Renames only that tab, not the spreadsheet file.{"action":"rename_sheet","spreadsheet_id":"1abc...","sheet_name":"Drafts","new_sheet_name":"Queue"}sort:rangeandsort_specsrequired; use an explicit header and order.{"action":"sort","spreadsheet_id":"1abc...","sheet_name":"Posts","range":"A2:I50","sort_specs":[{"header":"status","order":"ASCENDING"}]}find_replace:findandreplacementrequired; addsheet_nameto restrict the change to one tab.{"action":"find_replace","spreadsheet_id":"1abc...","sheet_name":"Posts","find":"draft","replacement":"queued"}share:roledefaults toreader; for a person,emailis required.{"action":"share","spreadsheet_id":"1abc...","email":"editor@example.com","role":"writer"}
Safety Guarantees
append_rowsnever asks the agent to calculate an insertion point.append_columnalways appends one new column after the last non-empty data column.update_rowtouches only the named cells inupdates.- Specific-sheet CSV/TSV exports are generated from Sheets values with proper CSV quoting.
- Specific-sheet rendered exports without
pdf_optionsuse the official temporary-spreadsheet flow, not browsergidexport URLs. write_rangenever replaces existing data unlessoverwriteistrue.merge_cellsnever discards cell values unlessallow_value_lossistrue.- Expected caller errors such as unknown sheet, duplicate headers, missing key row, or ambiguous row matches return safe messages without operator paging.
What Not To Do
- Do not use removed low-level action names.
- Do not guess a tab is named
"Sheet1"; omitsheet_nameor calllist_sheets. - Do not calculate raw append row numbers for table inserts; use
append_rows. - Do not calculate raw append column indexes; use
append_column. - Do not update an entire row when only a few fields changed; use
update_row. - Do not use browser export URLs or
gidURL parameters for exports; useexport_sheet.
Frequently Asked Questions
How do I connect this tool to an external agent?
You can install the local MCP server by opening a terminal and running:
Install commands
npm install -g @agentpmt/mcp-router
agentpmt-setupThis will connect you to local agents like Claude Code, Windsurf, Grok Build, Cursor, etc.
Alternatively you can connect to the hosted version with this config block, no installation required:
Hosted MCP config
{
"mcpServers": {
"agentpmt": {
"type": "streamable-http",
"url": "https://api.agentpmt.com/mcp",
"headers": {
"Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
"x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
}
}
}
}View MCP Connection Instructions for more details.
How does an external agent use this tool?
After the external agent is connected to an Agent Group that can use this tool, paste this prompt into the agent:
Agent prompt
Use the AgentPMT-Tool-Search-and-Execution tool. First call action 'get_instructions' so you know how to use the tool search interface. Then call action 'get_schema' with tool_id 696302894cf4309309cac7b2 ("Google Sheets"). After reading the schema and any returned instructions, tell me what this tool can do, we are going to be using it
The agent should fetch the tool schema first, collect the required parameters for your request, and then call the tool through AgentPMT.



