Skip to main content
Glama
vvmahesh0

paper-cdp-mcp

by vvmahesh0

create_tokens

Create design tokens with type, name, and value, and alias existing tokens using var(--other-token).

Instructions

Create one or more design tokens. Each entry needs type, name, and value. Use var(--other-token) as the value to alias another design token. Returns one {name, result: "created"} (or {result: "error", message}) per input entry. Order is important. For color tokens define semantic colors before palette colors, with neutral colors first, then primary, secondary, and then accent colors. For all other design token types define them based on the size of the value, smallest first. Prefer reusing design tokens before creating new ones.

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 create. Each entry creates a new design token; duplicate names are allowed but discouraged.
Install Server

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are provided, so the description must cover behavioral disclosure. It explains the per-entry return format, the ordering dependence, and aliasing, but does not mention idempotency or whether existing tokens are overwritten. It also doesn't explicitly state that duplicate names are allowed (though that's in the schema). This leaves some ambiguity about conflict behavior, so a 3 is appropriate.

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 a single compact paragraph that leads with the action, then returns format, then ordering rules. It contains only necessary details and is logically ordered, though the ordering rules are a bit dense.

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?

Despite no output schema, the description specifies the return object shape. It covers aliasing, ordering, and reuse preference, and the schema covers fileId and token fields. The only missing aspect is explicit error handling specifics, but the return format handles that. For a creation tool, this is complete enough.

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?

The schema already covers all parameters at 100%, so the baseline is 3. The description adds value by detailing the `value` parameter's use of `var()` for aliasing and providing ordering constraints that depend on parameter values. This goes beyond the schema, so a 4 is justified.

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-resource pair ('Create one or more design tokens') and clarifies scope via the alias instruction and return format. It clearly distinguishes from siblings like set_tokens (which implies modification) and audit_design_tokens (which is analysis).

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 explicitly provides ordering rules and a preference for reuse over creation, which serves as a guideline for when to use this tool versus reusing existing tokens. It does not explicitly compare to set_tokens, but the context implies creation is for new tokens.

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