Skip to main content
Glama
vvmahesh0

paper-cdp-mcp

by vvmahesh0

get_tokens

Extract design tokens (colors, spacing, typography) from a Paper file, filter by type or name pattern, and export as JSON, CSS, or Tailwind theme.

Instructions

List the file's design tokens (colors, spacing, typography, etc).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typesNoFilter by design token type(s). Omit to include all types.
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.
formatNoOutput format. "json" (default) returns structured tokens. "css" returns a vanilla `:root { ... }` stylesheet. "tailwind" returns a Tailwind v4 `@theme { ... }` block with namespaced variables.
namePatternNoGlob pattern matched against the full CSS variable name (case-insensitive). Use "*" as a wildcard. Examples: "--color-primary", "--color-*", "*-500", "*brand*". Omit to skip name filtering.
Install Server

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. 'List' signals a non-mutating read operation, but the description provides no further detail about defaults, return structure, or scoping behavior beyond what the schema 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?

A single, front-loaded sentence communicates the operation and scope with no filler. The parenthetical gives useful examples without elongating the description.

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 simple read-only list operation with a fully documented 4-parameter schema, this description plus the input schema is sufficient to invoke the tool correctly. It lacks sibling differentiation and an explicit statement of read-only semantics, but these are partially recoverable from the tool name and verb.

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 100%, so the structured declaration already documents all four parameters. The description's inline examples ('colors, spacing, typography') echo enum values already present in the schema rather than adding new parameter-level meaning.

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?

Names a specific verb ('List'), a resource ('the file's design tokens'), and enumerates representative token categories. This clearly distinguishes it from mutation/audit siblings such as set_tokens, 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 Guidelines2/5

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

No guidance is given on when to choose this tool over audit_design_tokens, extract_design_system_tokens, or set_tokens. The read-only use case is implied only by the verb 'List' and the tool name.

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