Skip to main content
Glama
vvmahesh0

paper-cdp-mcp

by vvmahesh0

set_tokens

Update, rename, or delete design tokens by their CSS variable name. Set new values, alias via var(), or remove tokens, with per-entry error responses.

Instructions

Update or delete existing design tokens by their full CSS variable name. Each entry needs name; any of newName, value, delete are optional.

  • Rename: set newName.

  • Update value: set value. Use var(--other-token) to alias.

  • Delete the design token: set delete: true. Returns one result per input entry. Per-entry errors are reported in-band.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileIdNoOptional. The Paper file ID this call should act on. Pass it to reliably target a specific file when several are open at once (e.g. multiple agents from the same session working in parallel). Omit to use the most recently opened file in the session.
tokensYesDesign tokens to update or delete, applied sequentially.
Install Server

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the burden of disclosure. It clearly states mutating behaviors (update, rename, delete) and adds useful runtime detail: one result per entry and in-band per-entry errors. It does not discuss persistence implications or rollback, but the destructive action is explicitly surfaced.

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 compact, front-loaded with the main purpose, and uses bullets to enumerate operation modes without redundancy. Every sentence contributes operational value.

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?

The description covers all core operations and return behavior, which matters because there is no output schema. It relies on the schema for fileId and description-param details, which is acceptable given 100% schema coverage. A concrete example would improve completeness slightly, but nothing essential 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. The description adds meaningful semantics beyond the schema, especially the alias pattern 'Use var(--other-token) to alias' and the optionality relationship between name, newName, value, and delete.

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 names a specific verb-resource pair: 'Update or delete existing design tokens', and further specifies targeting by 'full CSS variable name'. This clearly differentiates it from related siblings like create_tokens and audit_design_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?

The description gives concrete usage branches (rename, update value, delete), making it clear when this tool applies. It stops short of explicitly naming alternatives or saying 'use create_tokens for new tokens', but the word 'existing' provides an implicit exclusion.

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

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/vvmahesh0/paper-cdp-mcp'

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