MCP tools reference
Authentication, tools, parameters, and error handling for the Gamma MCP server.
To connect a custom client, start with Connect your own agent; for what generation and editing preserve, see Brand, template, and editing controls.
Complete reference for the Gamma MCP server's authentication, available tools, input parameters, and error handling.
Quick reference
All requests require an OAuth 2.0 Bearer token.
Available tools:
generate,generate_multi_page_gamma,generate_from_template,get_generation_status,generate_image,get_image_generation_status,export_gamma,get_export_status,duplicate_gamma,edit_gamma,get_edit_status,get_gammas,search_gammas,search_templates,read_gamma,get_gamma_outline,get_gamma_comments,get_gamma_analytics,get_gamma_card_analytics,get_gamma_viewer_analytics,get_gamma_viewer_detail_analytics,get_themes,get_folders, andfeedback.generate,generate_multi_page_gamma, andgenerate_from_templateare asynchronous. They return agenerationId; callget_generation_statusuntilstatusiscompletedorfailed. Once completed, thegenerationIdcan be passed toget_gammas,read_gamma,get_gamma_outline,edit_gamma,export_gamma, orduplicate_gammain place of the Gamma ID; see Using a generation ID in place of a Gamma ID.export_gammais asynchronous. It returns anexportId; callget_export_statusuntilstatusiscompletedorfailed.duplicate_gammamakes an exact copy of an existing gamma in the same workspace and returns the copy'sgammaIdandgammaUrlright away. It does not use credits.generate_imagecreates a standalone image and is asynchronous. It returns animageGenerationId; callget_image_generation_statusuntilstatusiscompletedorfailed. Both tools can return amediaLibraryUrlfor the workspace media library, and the completed image can carry asavedMediaIdfor a link to that one image.edit_gammachanges the content of an existing gamma and is asynchronous. It returns aneditId; callget_edit_statusuntilstatusiscompletedorfailed.edit_gammaandget_edit_statusappear in the tool list when editing is available for the connected account. Check the tool list before offering MCP editing.Use
get_gammasto browse existing gammas and templates (passcreatedByMe: trueto limit results to gammas the user created, orgammaIdOrUrlto get one gamma's details, including itsfolderId),search_gammasto find gammas by their content,search_templatesto find workspace templates and official Gamma explore templates, andread_gamma(read-only, accepts a file ID or full URL) to read one.get_gamma_outlinelists a gamma's pages and cards (slides) with their stablepageIdandcardId. It is rolling out gradually and appears in the tool list only when it is enabled.feedbacklets the AI tool report a request that none of the Gamma tools can handle. It is rolling out gradually and appears in the tool list only when it is enabled.Analytics tools (
get_gamma_analytics,get_gamma_card_analytics,get_gamma_viewer_analytics,get_gamma_viewer_detail_analytics) report engagement for an existing gamma on Pro plans and above; data is eventually consistent and can lag by about an hour.OAuth discovery is available at
/.well-known/oauth-protected-resource.Errors return
{ "error": "...", "isError": true }. Failures caused by a plan or credit limit also carryplanLimitExceeded: trueand the workspace's live limits; see Plan limit failures.tools/listresponses carry the cache hintsttlMs: 60000andcacheScope: "private". Hosts that support SEP-2549 may cache the per-user tool list for up to 60 seconds.
Authentication
The Gamma MCP server uses OAuth 2.0. Every request must include a valid Bearer token. For a walkthrough of the same OAuth flow against the REST API, see Authenticate with OAuth.
Authorization header
Include your token with each request:
OAuth discovery
The server implements RFC 9728 (OAuth Protected Resource Metadata). Clients retrieve OAuth configuration at:
Dynamic client registration
The authorization server supports RFC 7591 Dynamic Client Registration. Discover the registration endpoint URL from the authorization server metadata obtained via the OAuth discovery endpoint above.
OAuth consent permissions
When a user connects your app, Gamma asks them to approve these permissions:
Create gammas in your workspace
Read gammas in your workspace
List folders from your workspace
List themes from your workspace
Authentication errors
A failed authentication -- including a token whose Gamma access has been revoked -- returns 401 Unauthorized with a WWW-Authenticate header:
Use the resource_metadata URI to discover the authorization server and initiate the OAuth flow. Completing a fresh authorization resolves the error.
Tools overview
generate
Create presentations, documents, webpages, or social posts from scratch
No
No
No
generate_multi_page_gamma
Create one multi-page Gamma (several pages under one URL) in a single request
No
No
No
generate_from_template
Create a new gamma from an existing template gamma
No
No
No
get_generation_status
Check the status of a generate, generate_multi_page_gamma, or generate_from_template job
Yes
No
Yes
generate_image
Generate one standalone image from a text prompt
No
No
No
get_image_generation_status
Check the status of a generate_image job and get the image URL
Yes
No
Yes
export_gamma
Export an existing gamma to PDF, PPTX, or PNG
No
No
No
get_export_status
Check the status of an export and get the download link
Yes
No
Yes
duplicate_gamma
Make an exact copy of an existing gamma in the same workspace
No
No
No
edit_gamma
Edit the content of an existing gamma from a natural-language instruction
No
Yes
No
get_edit_status
Check the status of an edit_gamma job and get the summary of changes
Yes
No
Yes
get_gammas
Browse or search existing gammas and templates
Yes
No
Yes
search_gammas
Full-text search over gamma titles and body text
Yes
No
Yes
search_templates
Search workspace templates and official Gamma explore templates
Yes
No
Yes
read_gamma
Read the full content of an existing Gamma
Yes
No
Yes
get_gamma_outline
List the pages and cards (slides) of an existing Gamma with their stable IDs
Yes
No
Yes
get_gamma_comments
List comment threads (and replies) on an existing Gamma
Yes
No
Yes
get_gamma_analytics
Get engagement summary analytics for a Gamma
Yes
No
Yes
get_gamma_card_analytics
Get card-by-card engagement for a Gamma
Yes
No
Yes
get_gamma_viewer_analytics
List the people who viewed a Gamma
Yes
No
Yes
get_gamma_viewer_detail_analytics
Get one viewer's detailed engagement with a Gamma
Yes
No
Yes
get_themes
Browse or search the Gamma theme library
Yes
No
Yes
get_folders
Browse or search your Gamma folders
Yes
No
Yes
feedback
Report a request that none of the Gamma tools can handle
No
No
No
generate
Create a new presentation, document, webpage, or social post from scratch, or import a deck the user links to. Each call creates new content and returns a generation job.
Input parameters
inputText
string
Yes
Content to generate from: a brief prompt, outline, or full draft. Pass the user's own material, not a slide-by-slide rewrite of it
title
string
No
Title for the generated Gamma (1–500 characters); inferred from content if omitted
sourceUrls
array[string]
No
Links to files or pages to work from (up to 10 http or https URLs, each at most 2084 characters). A link to a presentation or PDF (Google Slides, Google Drive, Dropbox, Box, or a direct download link) can be imported; say in inputText whether to import it as is, change it, or use it for a new deck. Gamma must be able to read each link: it must be public, or in a storage connector the workspace has connected. A file attached to the chat has no link: in ChatGPT pass it in files, otherwise ask the user for a link. Supported for agent generations only: otherwise the call fails before generating with an error asking you to retry without sourceUrls and put the content in inputText
files
array[object]
No
ChatGPT connections only; other clients don't see this field. Files the user attached in the ChatGPT chat that the request uses, such as a deck to import (up to 10 files, 250 MB total). ChatGPT fills it with the attachments' download_url, file_id, mime_type, and file_name; the server uploads each file to Gamma during the call. Accepts images, PDF, PowerPoint (.pptx, .potx), Word (.docx), Excel (.xlsx, .xls), and text formats such as .txt, .md, .csv, and .json. Say in inputText whether to import a presentation as is, change it, or use it for a new deck. Supported for agent generations only, and only when the workspace can use uploaded files: otherwise the call fails before generating with an error asking you to retry without files and put the content in inputText
textMode
enum
No
How to handle the input text: generate, condense, or preserve. Use preserve only when the user asked to keep their wording or supplied finished slide-by-slide text, not for text the AI tool wrote or rewrote. A pasted document, report, or notes is source material. Agent generations still resolve bracketed notes such as [TBD] in preserve
format
enum
No
Output type: presentation, document, social, or webpage
numCards
int
No
Number of slides, cards, or pages to generate
cardSplit
enum
No
How content is divided into cards: auto or inputTextBreaks. Use inputTextBreaks only when the user wrote their own text slide by slide or asked for one card per section, not for breaks the AI tool added
themeId
string
No
Theme ID from get_themes, applied to the generated gamma. For a brand's look, pass a themeId only if the user named a theme or a custom theme exists for that brand; otherwise omit it and name the brand in additionalInstructions. See Unknown theme IDs
folderId
string
No
Folder ID from get_folders to save the generated content in
folderIds
array[string]
No
Deprecated. Use folderId. At most one entry, treated as folderId; folderId wins when both are sent
additionalInstructions
string
No
What the user asked for beyond the content, in their own words: a brand look to match, style direction, audience, purpose, and how to handle open items such as [TBD] notes. Also takes layout guidance not covered by other parameters. Keep it out of inputText
exportAs
enum
No
Export format: pptx, pdf, or png. png returns a .zip with one PNG per card
quality
enum
No
Quality preset: lite (fastest), standard, or max (highest quality, can use more credits). Applies to agent generations only; other generations ignore it and say so in warnings. Omit it to use the plan's default preset. Requesting a preset the plan does not include fails as a plan limit failure. See Access and pricing for which plans include each preset
Text options
Optional textOptions object for controlling text generation.
amount
enum
Text density per slide or section: brief, medium, detailed, extensive
tone
string
Writing tone, such as professional or casual
audience
string
Target audience, such as executives or students
language
string
Language code, such as en, es, or fr
Image options
Optional imageOptions object for controlling image sourcing.
source
enum
Image source: aiGenerated, webAllImages, webFreeToUse, webFreeToUseCommercially, pictographic, giphy, pexels, themeAccent, placeholder, or noImages
model
string
AI image model to use when source is aiGenerated. Accepts the same model IDs as the REST API — see Image models. The tool schema lists the models your plan includes, but the server passes any ID through to the API: a retired model ID runs on its replacement and the result's warnings names the swap, and an unknown ID or one your plan does not include fails
stylePreset
enum
Art style preset: photorealistic, illustration, abstract, 3D, lineArt, or custom
style
string
Custom style description for AI images when stylePreset is custom or omitted
Card options
Optional cardOptions object for layout and header/footer configuration.
dimensions
enum
Aspect ratio or page size: 16x9, 4x3, fluid, letter, a4, pageless, 1x1, 4x5, 9x16
headerFooter
object
Header and footer configuration
The headerFooter object contains six slot positions and two visibility flags. All properties are optional.
topLeft
object
Top-left header slot
topCenter
object
Top-center header slot
topRight
object
Top-right header slot
bottomLeft
object
Bottom-left footer slot
bottomCenter
object
Bottom-center footer slot
bottomRight
object
Bottom-right footer slot
hideFromFirstCard
boolean
Hide header/footer from the first card
hideFromLastCard
boolean
Hide header/footer from the last card
Each slot object accepts:
type
enum
Yes
Content type: cardNumber, image, or text
source
enum
No
Image source when type is image: themeLogo or custom
src
string
No
Image URL when type is image and source is custom
value
string
No
Text content when type is text
size
enum
No
Image size: sm, md, lg, xl
Sharing options
Optional sharingOptions object for controlling access after generation.
workspaceAccess
enum
Workspace member access: edit, comment, view, noAccess, fullAccess
externalAccess
enum
External user access: edit, comment, view, noAccess
emailOptions
object
Share via email to specific recipients
emailOptions accepts:
recipients
array[string]
Yes
Email addresses to share with
access
enum
Yes
Recipient access level: edit, comment, view, fullAccess
Output
generationId
string
Unique ID for the generation
status
enum
Initial status is pending
gammaUrl
string
Link to the generation in Gamma when available
warnings
string
Warnings about ignored or adjusted options, such as a quality that was not applied
Call get_generation_status with the returned generationId until the job reaches completed or failed.
generate_from_template
Create a new gamma by adapting, remixing, or transforming an existing template gamma. The new gamma starts from the template's look and structure, and Gamma can adapt its cards and layouts to the new content; the prompt can also direct changes such as adding, removing, or reordering cards, retargeting the audience, replacing images, or substituting placeholders. Use get_gammas with type: template or the workspaceTemplates list from search_templates if you need to find the right template ID first.
Input parameters
gammaId
string
Yes
File ID of a template gamma in the user's workspace: the id of a get_gammas result with type template, the id of a search_templates workspaceTemplates hit, or a user-provided template ID. IDs from search_templates exploreTemplates are not supported
prompt
string
Yes
The user's own content and request for the new gamma: new material to apply (included verbatim, not summarized), adaptation directives, or both. Gamma fits the template's cards, layouts, and images to the content, so pass the user's request rather than choosing cards or layouts or writing final card copy. When the user names a layout or slide, or says how long the result should be (for example, "a quick deck" or "5 slides"), pass their wording through as-is
title
string
No
Title for the generated Gamma (1–500 characters); inferred from content if omitted
themeId
string
No
Theme ID from get_themes. Not supported for agent generations: the call fails before generating with an error asking you to retry without themeId, or to use generate with themeId to apply the theme to Gamma's standard design. See Unknown theme IDs
imageOptions
object
No
Optional AI image overrides for templates that use AI-generated images
sharingOptions
object
No
Sharing and permissions options
folderId
string
No
Folder ID from get_folders to save the generated content in
folderIds
array[string]
No
Deprecated. Use folderId. At most one entry, treated as folderId; folderId wins when both are sent
exportAs
enum
No
Export format: pptx, pdf, or png. png returns a .zip with one PNG per card
quality
enum
No
Quality preset: lite (fastest), standard, or max (highest quality, can use more credits). Applies to agent generations only; other generations ignore it and say so in warnings. Omit it to use the plan's default preset. Requesting a preset the plan does not include fails as a plan limit failure. See Access and pricing for which plans include each preset
imageOptions accepts:
model
string
AI image model to use. Accepts the same model IDs as the REST API — see Image models. Retired model IDs are handled as in the generate tool
style
string
Custom style description for AI-generated images
Output
generationId
string
Unique ID for the generation
status
enum
Initial status is pending
gammaUrl
string
Link to the generation in Gamma when available
warnings
string
File-level warnings about ignored or adjusted options (for example, sharing, folder, dimension, or quality settings)
Call get_generation_status with the returned generationId until the job reaches completed or failed.
generate_multi_page_gamma
Create a single Gamma containing several distinct pages under one URL in one request — ideal for sales rooms, proposal sites, onboarding portals, and microsites. Prefer generate for a single presentation, document, webpage, or social post; use this only when the user wants several distinct pages within one Gamma. This tool creates new content and cannot edit an existing Gamma.
Input parameters
Provide pages[] in the order the pages should appear. Per-page settings live on each entry; file-wide settings (theme, folders, dimensions, sharing, export, overall title) apply to all pages.
pages
array[object]
Yes
Ordered list of pages to generate (1–50). Each entry becomes a distinct page with its own deep link
title
string
No
Title for the overall Gamma (1–500 characters); inferred if omitted
publish
boolean
No
When true, publish the result as a live multi-page site on a Gamma-generated subdomain once all pages succeed. Ignored for Superhuman Go connections (see Sharing options)
themeId
string
No
Theme ID from get_themes
folderId
string
No
Folder ID from get_folders to save the generated content in
folderIds
array[string]
No
Deprecated. Use folderId. At most one entry, treated as folderId; folderId wins when both are sent
cardOptions
object
No
Layout and header/footer configuration — same shape as the generate tool's card options
exportAs
enum
No
Export format: pptx, pdf, or png. png returns a .zip with one PNG per card
Each pages[] entry accepts:
inputText
string
Yes
Content to generate this page from
title
string
No
Title for this page (1–500 characters)
path
string
No
URL slug for this page, e.g. /pricing (1–500 characters). Honored only for pages after the first; omitted → derived from the title
additionalInstructions
string
No
Extra guidance for the generator
textMode
enum
No
How to handle the input text: generate (default), condense, or preserve
format
enum
No
Output type: presentation, document, social, or webpage
numCards
int
No
Number of cards to generate for this page
cardSplit
enum
No
How content is divided into cards: auto or inputTextBreaks
Output
generationId
string
Unique ID for the generation
status
enum
Initial status is pending
gammaUrl
string
Link to the generation in Gamma when available
pages
array[object]
Per-page results: gammaId, gammaUrl, status, and error / exportUrl when applicable
warnings
string
File-level warnings about ignored or adjusted options
Call get_generation_status with the returned generationId until the job reaches completed or failed.
get_generation_status
Check the status of a generation started with generate, generate_multi_page_gamma, or generate_from_template.
Input
generationId
string
Yes
Generation ID returned by the create tool, or the /generations/ URL it returned. IDs prefixed gen_ identify agent generations and are accepted in either form
Output
generationId
string
Unique ID for the generation
status
enum
pending, completed, or failed
gammaUrl
string
URL to the created Gamma when the job is completed
exportUrl
string
Download URL for the export file when available. For exportAs: png, this is a .zip with one PNG per card. Expires after about one week; treat the URL as a secret
credits.deducted
int
Credits deducted for the generation. Omitted for agent generations (gen_ IDs)
credits.remaining
int
Remaining credits after the generation. Omitted for agent generations (gen_ IDs)
warnings
string
Non-fatal warnings about ignored or adjusted options, one per line, when the generation reports any
error
string
Error message when the generation fails
In clients that support MCP apps, the generation widget shows live card progress while an agent generation (gen_ ID) is pending. That progress goes only to the widget: it is not part of the tool result. To read progress programmatically, use Get agent generation status.
Once the generation completes, the widget can show the full Gamma in an embedded, interactive preview with an Edit in Gamma action. The preview link is short-lived and tied to the signed-in user, goes only to the widget, and is not part of the tool result. The preview can be a few seconds behind the latest edits; select Refresh below it to reload it with a new link, including after the link expires. This preview is rolling out gradually by client; where it isn't enabled, or the client can't show it, the widget shows a preview image and a link to the Gamma instead.
Using a generation ID in place of a Gamma ID
Once a generation completes, you can read, edit, or export the Gamma it created without looking up its file ID: pass the generationId, or the /generations/<generationId> URL, as the gammaIdOrUrl of get_gammas, read_gamma, get_gamma_outline, edit_gamma, export_gamma, or duplicate_gamma. The comment and analytics tools do not accept generation IDs.
A generation ID resolves only once the generation has finished. Until then, and in a few other cases, the tool returns an error instead of acting:
Generation still pending
An error telling you to check get_generation_status (a few seconds between checks, not a tight loop) and retry the same call once the status is completed
Generation failed
An error with the generation's failure message — there is no completed Gamma to act on through this generation ID
Generation created several pages (generate_multi_page_gamma)
An error listing each page's gammaId and gammaUrl; call the tool again with the specific page's gammaId
A plain token prefixed gen_ is an agent generation ID and is looked up as a generation directly. Any other plain token is tried as a Gamma file ID first and looked up as a generation only if no Gamma with that ID is accessible. If it is neither, you get the original 404 Not found.
generate_image
Generate one standalone image from a text prompt — an illustration, scene, photo, or abstract graphic on its own, not a gamma.
This tool is asynchronous: it returns immediately with an imageGenerationId and status: pending. Call get_image_generation_status with that ID until the image is ready — do not call generate_image again to check progress, as that starts a new, separately billed generation.
Input
prompt
string
Yes
Description of the image to generate (1–5,000 characters). Include background treatments here too, such as "on a white background"
type
enum
No
Visual style: illustration (default), scene (narrative illustration), photo (photorealistic), or abstract
sizePreset
enum
No
Aspect ratio: social-square (1:1, default), social-portrait (4:5), story (9:16), banner (16:9), or slide (16:9). Exact pixel dimensions are chosen by the model
themeId
string
No
Theme ID from get_themes to brand the image; omit for the workspace default theme
referenceImages
array[object]
No
Up to 4 reference images whose subject (a character or product) should appear in the generated image. Each entry accepts url (required, must be https://) and role (only subject is supported)
When referenceImages are provided, the references drive the look and type and themeId are ignored.
Output
imageGenerationId
string
Unique ID for the image generation
status
enum
Initial status is pending
warnings
array[object]
Warnings about ignored or adjusted options, each with code and message
generatedTime
string
ISO 8601 timestamp of when the generation was queued, when available
mediaLibraryUrl
string
Link to your workspace media library in Gamma, when available
Image generations charge credits. Call get_image_generation_status with the returned imageGenerationId until the job reaches completed or failed.
get_image_generation_status
Check the status of an image generation started with generate_image, and retrieve the image URL once it is ready. Each call returns the current status; poll it every few seconds rather than in a tight loop.
Input
imageGenerationId
string
Yes
Image generation ID returned by generate_image
Output
imageGenerationId
string
Unique ID for the image generation
status
enum
pending, completed, or failed
image
object
The generated image when completed: url, width, height, aspectRatioUsed, and savedMediaId when available
warnings
array[object]
Warnings about ignored or adjusted options, each with code and message
error
string
Error message when the generation fails
retryable
boolean
Present on failure: whether retrying the same request could succeed. Invalid input, such as an unknown themeId or a blocked reference image URL, is not retryable
errorStatusCode
int
Present on failure when the API reported one: the HTTP status behind the failure
credits.deducted
int
Credits deducted for the generation
credits.remaining
int
Remaining credits after the generation
mediaLibraryUrl
string
Link to your workspace media library in Gamma, returned for every status when available
Generated images are saved to your workspace media library. When the result carries both mediaLibraryUrl and image.savedMediaId, append the ID to the URL — {mediaLibraryUrl}/{savedMediaId} — to link straight to that one image. The media library entry stays available after the generation job itself ages out of the status endpoint, so it is the durable link to share with a user.
export_gamma
Export an existing gamma to a downloadable file. This starts the export and returns immediately with an exportId; the export runs in the background. Call get_export_status with that exportId to get the download link once it is ready — do not call export_gamma again to check progress, as that starts a new export.
Input
gammaIdOrUrl
string
Yes
Gamma file ID, full Gamma URL, or the generationId or /generations/ URL from a completed generation (details). Example: g5aykcic8ujm71s or https://gamma.app/docs/My-Deck-g5aykcic8ujm71s
exportAs
enum
Yes
Export format: pdf, pptx, or png. png returns a .zip with one PNG per card
Output
exportId
string
Unique ID for the export job
status
enum
Initial status is pending
gammaId
string
File ID of the gamma being exported
exportAs
enum
The requested export format
The connected user must have view access to the gamma in the selected workspace. Archived gammas cannot be exported. Call get_export_status with the returned exportId until the job reaches completed or failed.
get_export_status
Check the status of an export started with export_gamma, and retrieve the download link once it is ready.
Input
exportId
string
Yes
Export ID returned by export_gamma
Output
exportId
string
Unique ID for the export job
status
enum
pending, completed, or failed
gammaId
string
File ID of the exported gamma
exportAs
enum
The requested export format
exportUrl
string
Download URL when the export is completed. For exportAs: png, this is a .zip with one PNG per card. Anyone with this URL can download the file until it expires (about one week), and access is not tied to your API key, so treat the link as a secret
error
string
Customer-safe error message when the export fails
reason
enum
Machine-readable failure reason when the export fails: render_timeout, deck_too_large, no_content, or export_failed
duplicate_gamma
Make an exact copy of an existing gamma, keeping its content and design, without regenerating it. Use this when the user wants a copy to edit while keeping the original, or a duplicate placed in a folder. The copy is created right away; there is no status to poll. Duplicating does not use credits.
Input
gammaIdOrUrl
string
Yes
Gamma file ID, full Gamma URL, or the generationId or /generations/ URL from a completed generation (details). Example: g5aykcic8ujm71s or https://gamma.app/docs/My-Deck-g5aykcic8ujm71s
title
string
No
Title for the copy, 1–250 characters. Defaults to Copy of <original title>
folderId
string
No
Folder ID from get_folders to place the copy in. Without it, the copy goes to the top level of the workspace, not the original's folder
Output
gammaId
string
File ID of the new copy
gammaUrl
string
Link to the new copy
warnings
string
Request options that were ignored, when there are any
The connected user must have view access to the original, and the original must be in the connected workspace; the copy is created in the same workspace. Archived gammas cannot be duplicated. To place the copy in a folder, the user needs edit access to that folder. The copy belongs to the connected user and gets the workspace's usual sharing settings for a new gamma; if the original is published, the copy is published at a new link. To change the copy, pass its gammaId to edit_gamma when that tool is available, or open the gammaUrl in Gamma.
edit_gamma
Edit an existing gamma from a natural-language instruction — reword, restructure, add, or remove content, including adding, removing, and reordering cards (slides) within a page. Use generate instead when the user wants new content rather than a change to a gamma they already have.
This tool is asynchronous: it returns immediately with an editId and status: pending. Call get_edit_status with that ID until the edit is done — do not call edit_gamma again to check progress, as that starts a brand-new edit.
Input
gammaIdOrUrl
string
Yes
Gamma file ID, full Gamma URL, or the generationId or /generations/ URL from a completed generation (details). Example: g5aykcic8ujm71s or https://gamma.app/docs/My-Deck-g5aykcic8ujm71s
prompt
string
Yes
Natural-language instruction describing the edit (1–10,000 characters). Example: "Change the title of the first card to Q3 Review"
disableConnectors
boolean
No
Set to true to keep this edit from using workspace connectors such as Notion or Slack. Omit it for normal behavior
quality
enum
No
Quality preset: lite (fastest), standard, or max (highest quality, can use more credits). Omit it to use the plan's default preset. Requesting a preset the plan does not include fails as a plan limit failure. See Access and pricing for which plans include each preset
cardIds
array[string]
No
Card (slide) IDs from get_gamma_outline to limit the edit to (1–100 IDs, each up to 64 letters, digits, _, or -). Other cards stay unchanged, though the edit can add a new card next to the listed ones when asked. Use it when the user points at specific slides, such as "shorten slide 3". For a card on a page other than the main page, pass that page's pageId as gammaIdOrUrl. Omit it for deck-wide changes such as a theme or tone change. Rolling out gradually: it appears in the tool's input schema only when it is enabled for the connected account
Output
editId
string
Unique ID for the edit job
status
enum
Initial status is pending
gammaUrl
string
Link to the gamma being edited
The connected user must have at least edit access to the gamma in the selected workspace. Archived gammas cannot be edited. Each edit has a target page — the page in the URL, or the gamma's main page when you pass a file id. Unless the prompt names another page by title or position, changes apply to that target page. On a page, edits can add, remove, reorder, and rewrite cards (slides). When the prompt asks, edits can also add, duplicate, reorder, rename, and archive pages; they never archive the target page. Only one edit can run on a gamma at a time, so wait for the current edit to reach completed or failed before starting another. Call get_edit_status with the returned editId until the job reaches completed or failed.
get_edit_status
Check the status of an edit started with edit_gamma, and retrieve the summary of changes once it is done. Poll it every few seconds rather than in a tight loop.
Input
editId
string
Yes
Edit ID returned by edit_gamma
Output
editId
string
Unique ID for the edit job
status
enum
pending, completed, or failed
gammaUrl
string
Link to the edited gamma
summary
string
Summary of the applied changes when the edit is completed
error
string
Customer-safe error message when the edit fails
reason
enum
Machine-readable failure reason when the edit fails: target_not_found, unsupported_target, access_revoked, insufficient_credits, timeout, unavailable, or edit_failed
get_gammas
Browse or search the user's existing gammas, including templates, or get the details of one gamma by passing gammaIdOrUrl.
Input parameters
gammaIdOrUrl
string
Get a single gamma by file ID, full Gamma URL, or the generationId or /generations/ URL from a completed generation (details). When set, every other parameter is ignored. Example: g5aykcic8ujm71s or https://gamma.app/docs/My-Deck-g5aykcic8ujm71s
query
string
Search gammas by title; minimum 3 characters
type
enum
Filter by gamma type: template, regular, or all
limit
int
Maximum number of results to return; default 25, max 50
createdByMe
boolean
When true, return only gammas the connected user created; default false, which returns every gamma they can access
after
string
Cursor from a previous response for pagination
When paginating, keep query and type the same between calls and only advance the after cursor.
When gammaIdOrUrl is set, gammas holds just that gamma, in the same shape as a list result, and hasMore is false.
Use createdByMe: true when the user asks for gammas they created — gammas they only have access to, such as shared or collaborated-on gammas, are excluded.
Output
gammas
array[object]
Array of matching gammas
gammas[].id
string
Unique gamma identifier
gammas[].title
string
Gamma title
gammas[].type
enum
template or regular
gammas[].url
string
URL to open the gamma
gammas[].thumbnailUrl
string | null
Signed screenshot URL when available; expires after about 7 days — re-fetch rather than caching long term
gammas[].themeId
string | null
Theme ID when available
gammas[].folderId
string | null
ID of the folder containing the gamma; null when it is not in a folder or in a folder the user can't see. Resolve it to a name with get_folders
gammas[].createdTime
string
ISO-8601 timestamp of creation time
gammas[].updatedTime
string
ISO-8601 timestamp of last modification
hasMore
boolean
Whether additional results are available
nextCursor
string
Cursor for the next page when more results exist
search_gammas
Full-text search over the gammas the user can access, matched against titles and body text. Use it when the user is looking for gammas by topic, phrase, or content; use get_gammas for title-based browsing and template discovery.
Maps to GET /gammas/search. If document search is temporarily unavailable, the call may fail with a service-unavailable error; retry later.
Input parameters
q
string
No
Full-text query matched against titles and body text; results are relevance-ranked
createdBy
string
No
Restrict to gammas created by a user: me, an email address, or a user ID
updatedAfter
string
No
ISO-8601 date; only gammas last updated at or after this time
updatedBefore
string
No
ISO-8601 date; only gammas last updated at or before this time
includeArchived
boolean
No
Also search archived gammas; default false
limit
int
No
Maximum number of hits; default 10, max 25
Omit q and set at least one of createdBy, updatedAfter, or updatedBefore to browse matching gammas ordered by last-updated descending.
Output
hits
array[object]
Relevance-ranked search hits
hits[].id
string
Unique gamma identifier
hits[].title
string | null
Gamma title
hits[].url
string
URL to view the gamma
hits[].highlight
string | null
Snippet from the gamma text, usually centered on the match; can start at the beginning of the text or be null
hits[].createdBy
string | null
Display name of the creator, or their email when there is no display name
hits[].updatedTime
string | null
ISO-8601 timestamp of the last update
hits[].archived
boolean
Whether the gamma is archived
search_templates
Search templates in the user's workspace and the official Gamma explore templates. The response contains two separate lists because they differ in what they can be used for: workspaceTemplates hits can be passed to generate_from_template; exploreTemplates hits are for browsing and preview only.
Input parameters
q
string
No
Search query, up to 2,000 characters. Both workspace and explore templates are relevance-ranked against the query. Omit q to browse both lists
limit
int
No
Maximum number of hits per list; default 10, max 25
Output
workspaceTemplates
array[object]
Templates from the user's workspace: relevance-ranked when q is given, otherwise ordered by last edited, most recent first
workspaceTemplates[].id
string
Template identifier; pass it through unchanged as the gammaId input to generate_from_template
workspaceTemplates[].title
string | null
Template title
workspaceTemplates[].url
string
URL to view the template
workspaceTemplates[].previewUrl
string | null
Signed screenshot URL when available; expires after about 7 days — re-fetch rather than caching long term
exploreTemplates
array[object]
Official Gamma explore templates, relevance-ranked when q is given
exploreTemplates[].id
string
Explore template identifier; not accepted by generate_from_template, but usable as templateId on the REST POST /agent/generations endpoint
exploreTemplates[].title
string | null
Template title
exploreTemplates[].url
string
URL to view the template
exploreTemplates[].thumbnailUrl
string | null
Thumbnail image URL when available
exploreTemplates[].previewUrl
string | null
Preview image URL when available
generate_from_template checks a workspace template's eligibility at generation time and can reject some templates (for example multi-page or site-bound templates). When a hit is rejected, try another workspaceTemplates hit.
read_gamma
Read the content of an existing Gamma presentation or document. Use this when you want to inspect, reference, or learn from a Gamma that already exists.
This tool is read-only and idempotent. It cannot edit the Gamma.
Input
gammaIdOrUrl
string
Yes
Gamma file ID, full Gamma URL, or the generationId or /generations/ URL from a completed generation (details). Example: g5aykcic8ujm71s or https://gamma.app/docs/My-Deck-g5aykcic8ujm71s
Response format
Returns formatted text that includes the Gamma title and the full content of every page in order. The tool is designed to surface human-readable content, not raw HTML or JSON.
Title: <gamma title>identifies the Gamma title.=== Page N: <title> ===marks each page or card in original order.Each page body contains the full human-readable content for that page, including text, images, videos, embeds, charts, tables, diagrams, and other visuals.
The connected user must have view access to the Gamma in the selected workspace. Archived gammas cannot be read.
get_gamma_outline
List the pages and cards (slides) of an existing Gamma with their stable IDs, titles, and a short text preview. Use this to work out which card the user means by "slide 3" or a slide title, and to get its cardId and pageId. To read the content itself, use read_gamma.
This tool is read-only and idempotent. It is rolling out gradually and appears in the tool list only when it is enabled. It returns the outline as both structuredContent (matching the tool's outputSchema) and the same JSON as text.
Input
gammaIdOrUrl
string
Yes
Gamma file ID, full Gamma URL, or the generationId or /generations/ URL from a completed generation (details)
Output
gammaId
string
Gamma file ID
title
string
Gamma title
requestedPageId
string
Set when the input pointed at a specific page. Resolve card references against that page first
pages
array[object]
Pages in order
pages[].pageId
string
Stable page ID
pages[].pageIndex
int
0-based position of the page in the Gamma
pages[].title
string
Page title
pages[].isMainPage
boolean
Whether this is the Gamma's main page
pages[].cards
array[object]
Cards (slides) in deck order
pages[].cards[].cardId
string
Stable card (slide) ID
pages[].cards[].index
int
0-based position in the page, counting hidden cards
pages[].cards[].title
string
The card's first heading, or empty if it has none
pages[].cards[].textPreview
string
Start of the card's visible text, up to 200 characters
pages[].cards[].hidden
boolean
Whether the card is hidden. Hidden cards are skipped when presenting and have no slide number
pages[].cards[].slideNumber
int | null
The slide number people see when presenting, counting only visible cards from 1. null for a hidden card
The connected user must have view access to the Gamma in the selected workspace.
get_themes
Browse or search the Gamma theme library. Use the returned id in the generate or generate_from_template tool's themeId parameter.
If the user references a theme by name, search by name. Otherwise, fetch the full list and choose based on tone and color keywords.
Input parameters
name
string
Optional. Search themes by name
Output
themes
array[object]
Array of theme objects
themes[].id
string
Theme ID to pass to a generation tool
themes[].name
string
Display name
themes[].type
enum
standard or custom
themes[].colorKeywords
array[string]
Color keywords describing the palette
themes[].toneKeywords
array[string]
Tone keywords describing the style
count
int
Total themes returned
get_folders
Browse or search your Gamma folders. Use the returned id in a generation tool's folderId parameter.
Input parameters
name
string
Optional. Search folders by name
Output
folders
array[object]
Array of folder objects
folders[].id
string
Folder ID to pass to a generation tool
folders[].name
string
Display name
count
int
Total folders returned
get_gamma_comments
List comment threads (and their replies) on an existing Gamma. Use this to read, review, or summarize feedback on a Gamma. Read-only. Results are paginated, oldest activity first.
Input parameters
gammaIdOrUrl
string
Yes
Gamma file ID or full Gamma URL
limit
int
No
Max threads per page; default 50, max 50
after
string
No
Cursor from a previous response for pagination
updatedSince
string
No
ISO-8601 timestamp; return only threads with activity after this time
includeArchived
boolean
No
Include archived (deleted) comments and replies, each flagged archived. Default false
Output
comments
array[object]
Comment threads, oldest activity first
comments[].id
string
Thread ID
comments[].cardId
string | null
Card the comment is on; null for page-level comments
comments[].author
object
{ id, name } (name may be null)
comments[].contentText
string
Plain-text comment body
comments[].status
enum
open or closed
comments[].replies
array[object]
Replies, each with id, author, contentText, createdTime, updatedTime, and archived
comments[].createdTime
string
ISO-8601 creation time
comments[].updatedTime
string
ISO-8601 last-activity time
hasMore
boolean
Whether more threads are available
nextCursor
string
Cursor for the next page when more results exist
get_gamma_analytics
Get an engagement summary for an existing Gamma: total views, unique viewers and editors, card count, when it was last opened, and a 30-day daily viewer trend. Use this as the default when a user asks how a gamma is performing. Requires a Pro plan or higher and at least edit permission on the gamma. In clients that support MCP apps, this renders an interactive widget; it also returns structured data and a formatted text summary. Analytics data is eventually consistent and can lag by about an hour.
Input
gammaIdOrUrl
string
Yes
Gamma file ID or full Gamma URL
Output
gammaId
string
Canonical file ID
totalViews
int
Total view events, including repeat opens
uniqueViewers
int
Unique viewers (authenticated and anonymous)
uniqueEditors
int
Unique editors
cardCount
int
Number of cards
lastOpened
string | null
ISO-8601 of the most recent view; null if never opened
dailyViews
object
30-day rolling window: { dayCount, timezone, days: [{ date, uniqueViewers }] }
get_gamma_card_analytics
Get card-by-card engagement for an existing Gamma: total time viewers spent on each card and the percentage of viewers who reached it. Every card is included in deck order. Use this when a user asks which cards performed best or where viewers dropped off. Requires a Pro plan or higher and at least edit permission on the gamma. Analytics data can lag by about an hour.
Input
gammaIdOrUrl
string
Yes
Gamma file ID or full Gamma URL
Output
gammaId
string
Canonical file ID
uniqueViewers
int
Unique viewers
uniqueEditors
int
Unique editors
cardCount
int
Number of cards
cards
array[object]
Ordered by position, each: cardId, cardName (null if untitled), cardPosition (1-based), viewTimeSeconds (total across viewers), viewersPercent (0–100)
get_gamma_viewer_analytics
List the people who viewed an existing Gamma: display name and email for signed-in viewers (null for anonymous), when they last opened it, and how many cards they viewed. Use this to find who has seen a gamma, or to locate a specific viewer. Requires a Pro plan or higher and at least edit permission on the gamma (manage permission shows all viewers; edit-only shows just the API user's own activity). Results are paginated.
Input parameters
gammaIdOrUrl
string
Yes
Gamma file ID or full Gamma URL
limit
int
No
Max viewers; default 25, max 50
after
string
No
Cursor from a previous response for pagination
sortDirection
enum
No
Sort by most recent open time: desc (default) or asc
Output
gammaId
string
Canonical file ID
viewers
array[object]
Each: viewerId, displayName (null if anonymous), email (null if anonymous), lastOpened (ISO-8601 or null), cardsViewed
hasMore
boolean
Whether more viewers are available
nextCursor
string
Cursor for the next page when more results exist
To find a specific person, scan each page for their name or email, paginating with after until found or pages run out. Pass the matching viewerId as userId to get_gamma_viewer_detail_analytics.
get_gamma_viewer_detail_analytics
Get one viewer's detailed engagement with an existing Gamma: their name and email, when they last opened it, how many cards they viewed, and the share of their total view time spent on each card. Use this when a user asks how a specific person engaged with a gamma. Requires a Pro plan or higher and at least edit permission on the gamma; manage permission is required to read another viewer's activity when the connected user has edit permission only.
Input
gammaIdOrUrl
string
Yes
Gamma file ID or full Gamma URL
userId
string
Yes
The viewer's user ID — the viewerId from get_gamma_viewer_analytics. Anonymous viewers are not addressable (returns 404)
Output
gammaId
string
Canonical file ID
scope
enum
all (manage permission) or self (edit permission — own activity only)
userId
string
The viewer's user ID
displayName
string | null
Viewer display name
email
string | null
Viewer email
lastOpened
string | null
ISO-8601 of the most recent view
cardsViewed
int
Cards this viewer viewed
cardCount
int
Total cards (denominator for cardsViewed)
perCardTimeSpent
array[object]
Ordered by position, each: cardId, cardName (null if untitled), cardPosition (1-based), viewTimePercent (0–100; 0 for cards never viewed)
feedback
Report a request that a user would reasonably expect Gamma's tools to handle but that none of the available tools can do, such as moving a gamma to a folder or duplicating a deck. The report goes to the Gamma team.
Call it only for missing capabilities. Do not call it for errors returned by a tool, requests that were unclear or that a retry could fix, or general product feedback. Describe the request in general terms, without names, document content, or personal data. All text fields must be in English and use ASCII characters only.
This tool is not read-only and not idempotent. It is rolling out gradually and appears in the tool list only when it is enabled.
Input
requestedAction
string
Yes
The capability the user asked for, paraphrased in general terms. Up to 2000 characters
gap
string
Yes
Why none of Gamma's tools can do it. Up to 1000 characters
toolsTried
string
No
Gamma tools tried or considered, comma-separated. Up to 500 characters
Output
On success, the tool returns the text Recorded.. On failure, it returns isError: true with the error message.
Error handling
All tools return errors in a consistent format:
401 Unauthorized
Missing, expired, or revoked OAuth Bearer token. Re-authorize to continue
403 Forbidden
The connected user does not have permission to access the requested Gamma or workspace resource
404 Not found
The requested Gamma, generation, or resource could not be found
400 Bad request
One or more parameters are invalid for the requested tool
Rate limit exceeded
Too many requests in a given time period
Network connectivity
Unable to establish connection to the server
Insufficient credits
The account does not have enough credits to complete the generation
Analytics plan denials
When the workspace's plan does not include analytics, get_gamma_analytics, get_gamma_card_analytics, get_gamma_viewer_analytics, and get_gamma_viewer_detail_analytics return an error result with the API's explanation in error and a guidance field telling the AI tool that analytics are unavailable on the current plan and that changing Gamma access permissions won't help. The Public API returns these denials as 403 with code: individual_analytics_required. Other analytics errors, including permission denials on the gamma, return the API's explanation in error.
Plan limit failures
When generate, generate_from_template, generate_multi_page_gamma, generate_image, get_image_generation_status, edit_gamma, or export_gamma fails because the request exceeded a limit of the workspace's Gamma plan, the failed result carries the workspace's live limits alongside the error. Plan limit failures include insufficient credits, numCards above the plan maximum, more inputTextBreaks than the plan allows, image models or reference images that the plan does not include, and a quality preset that the plan does not include.
planLimitExceeded
boolean
true when the failure is a plan or credit limit
currentPlanLimits
object
The workspace's limits fetched at the moment of failure: workspace, planTier, creditsRemaining, maxGenerateCards, availableImageModels, and availableQualities; creditsRemaining and availableQualities can be absent. planTier is free or the workspace's highest paid plan (plus, pro, ultra, team, business, or enterprise). Omitted when the lookup fails
upgradeUrl
string
Link to the workspace billing settings, where the user can compare plans, upgrade, or buy credits
guidance
string
Instructions for the model: report the limit that was hit, offer to retry at maxGenerateCards for card-count failures, offer to retry with a preset from availableQualities when the requested quality is not on the plan, and retry after the user upgrades because the API validates against the live plan
A get_image_generation_status poll whose generation failed on a plan limit carries the same fields on its failed result.
Unknown theme IDs
When a tool fails because the themeId does not exist in the workspace, the failed result carries themeNotFound: true, guidance, and validThemes: up to 100 workspace themes as { "id", "name" } pairs. validThemes is omitted when the theme lookup fails. Pick the closest match from validThemes, use get_themes to search for a theme, or omit themeId. Without a themeId, generate_from_template keeps the template's theme and the other tools use the workspace default theme. Only pass theme IDs returned by the API.
generate_from_template does not support themeId when it runs as an agent generation: the template keeps its own theme, and the error says to retry without themeId (use generate with themeId to apply a saved theme on Gamma's standard design). Some generations do not support format: "webpage" in generate. These failures carry no themeNotFound or validThemes; the error says to retry without themeId, or with a different format.
Related
Set up the MCP server for getting started and troubleshooting
Connect integrations for platform-specific setup
Generate from text for the equivalent REST API parameters
Access and pricing for credit costs and plan details
Last updated
Was this helpful?