Skip to main content
Glama

Update deck details

patch_deck
DestructiveIdempotent

Rename a deck, change who can open it, or move it to another project.

It can also switch which content version the deck shows. Changing visibility can make the deck public or remove other people's access; setting it to anything but PUBLIC also turns the deck's share link off. It doesn't start generation or create an export.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "deck_id": "<deck_id>"
    },
    "name": "patch_deck"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew name; omitted keeps it.
deck_idYesID of the deck.
versionNoContent version to render; must be one the deck has content for.
project_idNoMove the deck to this project; leave it out to keep the deck where it is. A deck can't be taken out of its project here.
visibilityNoNew visibility; omitted keeps it. Changing it needs share-manage permission. PROJECT: the project's members. PRIVATE: the creator and explicit grants. WORKSPACE: any workspace member. PUBLIC: published.

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
flagsYesThe user's own flags on the deck.
versionYesEditor format the deck uses: `v2` (current) or `v1` (an older deck); null when authored in the app.
deck_urlNoOpens the deck in Presentations.AI; requires signing in as a member with access. Not a public link: use `share_deck` for one.
project_idYes
visibilityYesWho can open the deck.
has_share_linkYesWhether a public share link is active for the deck.
origin_versionYesVersion the deck was migrated from; when it differs from `version`, `patch_deck` can switch back to it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description adds what those annotations cannot: visibility changes can remove other people's access or publish the deck, share links are disabled as a side effect, and share-manage permission is required. It also notes a hard limitation that a deck cannot be removed from its project here.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the primary actions in one sentence, followed by the secondary capability, the side-effect warning, and the exclusions. Every sentence carries distinct information with no restatement of the name or title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter destructive mutation with an output schema, the description covers preconditions, side effects, permission needs, and what it does not do. Return values are handled by the output schema, so nothing an agent needs to call it safely is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds cross-parameter behavior the schema does not: setting visibility to anything other than PUBLIC turns the deck's share link off, and the version must match content the deck already has. That meaning goes beyond the field-level descriptions.

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

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States specific verbs and the resource: rename, change visibility, move between projects, and switch content version. It also explicitly delimits scope with "It doesn't start generation or create an export," which separates it from presentation-generation siblings such as create_presentation.

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

Usage Guidelines4/5

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

Gives clear context for use (metadata/permission/content-version updates on an existing deck) and explicit exclusions for generation and export. It never names a sibling tool to prefer instead, so an agent must infer that share_deck or delete_deck cover other cases.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.