Skip to main content
Glama

update_deck

Modify a deck's title, description, and slide order by providing the complete ordered list of diagram UUIDs. Returns the updated deck id and URL.

Instructions

Update a deck's title, description, and/or slide order. slides is DECLARATIVE: pass the complete desired ordered list of diagram ids — reorder, add, and remove are all expressed by sending the new full list (any id omitted is removed from the deck; new ids are appended in the order given). Returns the deck id and present URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDeck UUID
titleNoDeck title shown in the deck list and above the presentation.
descriptionNoOne-line summary of what the deck covers (≤1000 chars).
slidesNoComplete ordered list of diagram UUIDs that should be in the deck after this update. Omit to leave the slides unchanged; pass [] to clear all slides.
Behavior4/5

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

With no annotations, the description carries full burden. It explains the declarative nature of the slides parameter, including that omitted ids are removed and new ids are appended. It also specifies the return value (deck id and present URL). This goes beyond a simple 'update' to reveal non-obvious behavior, though it could mention permissions or side effects.

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

Conciseness5/5

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

The description is two sentences: first sentence states purpose, second explains the critical slides behavior and return value. It is concise, front-loaded, and every sentence adds value.

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

Completeness3/5

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

The description covers the core update functionality and slides behavior, but lacks details on error conditions (e.g., missing deck, invalid diagram IDs), prerequisites, or what happens to omitted fields for title/description. Given no output schema and 4 parameters, more context would improve completeness.

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%, but the description adds significant value for the slides parameter by explaining the declarative semantics (reorder, add, remove via full list). For other parameters, the schema descriptions are sufficient. The extra context raises the score above baseline.

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

Purpose5/5

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

The description clearly states the verb 'update' and resource 'deck', specifying the aspects that can be modified (title, description, slide order). It distinguishes from sibling tools like create_deck and get_deck by focusing on mutation of an existing deck, and the declarative slides behavior is explicitly highlighted.

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

Usage Guidelines3/5

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

The description provides some usage guidance for the slides parameter (declarative approach) but does not explicitly state when to use this tool versus alternatives (e.g., create_deck or update_diagram). It lacks context on prerequisites or when not to use this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yenchieh/diagramzu-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server