Skip to main content
Glama

Set design tokens

design_tokens
DestructiveIdempotent

Change the project's design tokens. With a shell (Claude Code): write the fields to a JSON file, curl it to the upload link new_project gave and pass only upload_id, so the user approves a short call.

Input Schema

NameRequiredDescriptionDefault
setNo
resetNo
presetNo
imageryNo
upload_idNoWith a shell: the upload_id of a JSON file of this call's fields, sent with curl to the upload link new_project gave (keeps the user's approval box short). Fields in the call itself win.
user_named_fontsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare readOnly=false, destructive=true, and idempotent=true, so the safety profile is partly covered. The description adds useful approval-workflow context around the shell/upload_id path, but it never explains what the destructive behavior changes or what reset does, leaving a meaningful gap for a destructive mutation.

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

Conciseness4/5

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

The description is short and front-loads its purpose in the first sentence, then uses the second for the upload_id workflow. It is efficient and earns its space, though the second sentence is dense and carries a lot of operational detail in one clause.

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

Completeness2/5

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

For a tool with six parameters, a nested object, low schema coverage, and destructiveHint=true, the description is substantially incomplete. It covers the purpose and one upload workflow but omits the semantics and effects of most parameters, especially reset and the nested set object.

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

Parameters2/5

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

Schema description coverage is only 17%, so the description needs to compensate but does not. It explains the upload_id shell workflow, yet says nothing about the set object, reset, preset, imagery, or user_named_fonts parameters beyond the generic phrase 'the fields'.

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

Purpose4/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: 'Change the project's design tokens.' That is clear enough for an agent to understand the operation, though it does not distinguish this tool from nearby siblings such as define_styles or set_style.

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?

Usage guidance is limited to a conditional workflow for upload_id: 'With a shell (Claude Code): write the fields to a JSON file...' It does not explain when to use design_tokens versus alternative style-setting tools, nor when to avoid it.

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.