Skip to main content
Glama

Design Studio

penpot_apply_changes

Destructive

Apply a proposal the user has explicitly approved, optionally only the approved changes (include: their 0-based indexes). CHANGES THE DESIGN. Single use; changes left out are discarded. Nothing is written if any layer no longer has its proposed current value. Returns success, failed-before-edit, partially-applied or uncertain. Never call it again for the same proposal: after uncertain, call penpot_verify_changes and make a new proposal.

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": {
      "proposalId": "<proposalId>"
    },
    "name": "penpot_apply_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
includeNo
proposalIdYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructive=true and idempotent=false, but the description adds critical context beyond them: single-use semantics, that omitted changes are discarded, the all-or-nothing precondition on current values, and the four possible outcome states.

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-loads the action and consequence ('CHANGES THE DESIGN'), then layers preconditions, return states, and the follow-up rule in short declarative sentences with no filler.

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

Completeness4/5

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

With no output schema and no annotation detail on results, the description supplies the return statuses and failure condition, which is strong. Minor gaps remain around proposalId expectations and whether partial application discards unapplied changes.

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 0%, so the description must carry parameter meaning; it explains that 'include' holds 0-based indexes of approved changes and ties proposalId to a single proposal. It does not explain the proposalId format or that omitting 'include' applies everything, leaving a small gap.

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 a specific verb and resource ('Apply a proposal') plus scope ('only the approved changes'), and is clearly distinguishable from penpot_propose_changes and penpot_verify_changes by naming the latter as the follow-up.

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

Usage Guidelines5/5

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

Explicitly requires prior user approval, explains the optional include filter, and gives a hard rule for what to do after an 'uncertain' result (verify and re-propose). It also explicitly forbids re-calling for the same proposal, which is exactly the kind of exclusion an agent needs.

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.

Resources