Skip to main content
Glama

Design Studio

penpot_remove_tokens

DestructiveIdempotent

Remove a Craft token set the user asked to undo. CHANGES THE FILE: deletes only the set with this id, and only if its name is still the given craft/ name; shapes keep their current values. Ask the user first.

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": {
      "expectedFileId": "<expectedFileId>",
      "expectedPageId": "<expectedPageId>",
      "set": "<set>",
      "setId": "<setId>"
    },
    "name": "penpot_remove_tokens"
  }
}

Input Schema

NameRequiredDescriptionDefault
setYescraft/<project>, lowercase a-z, 0-9 and hyphens.
setIdYes
expectedFileIdYes
expectedPageIdYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the destructive and idempotent annotations, it explains that the file changes, that only the specified set is deleted, that deletion is conditional on the craft/<project> name still matching, and that shapes keep their current values. It also adds a user-confirmation requirement, which is valuable behavioral context.

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 short and front-loaded: the action is stated first, followed by the file-change warning, the precise deletion guard, and the confirmation instruction. Every sentence adds useful information without repetition.

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?

For a destructive mutation tool with annotations covering safety, this is largely complete: it discloses scope, guard conditions, side effects on shapes, and the need for confirmation. The only notable omission is parameter-level clarity for `expectedPageId` and explicit failure behavior when the name guard fails.

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

Parameters3/5

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

Schema description coverage is only 25%, so the description must add meaning. It clarifies the `set` name guard and the conditional use of `setId`, and implies file scoping via `expectedFileId`, but `expectedPageId` and the exact concurrency-guard semantics of the expected parameters remain unexplained.

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 states a specific verb and resource: removing a Craft token set, framed as undoing a user-requested change. This is clearly distinct from sibling operations such as applying, proposing, or verifying tokens.

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?

It gives clear usage context: this is for when the user asked to undo a token set, and it explicitly says to ask the user first. It does not name alternative sibling tools for other token actions, but the when-to-use guidance is strong.

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