Skip to main content
Glama

Get Component CSS Variables

get_components_variables
Read-onlyIdempotent

Get CSS design tokens for components, filter by category (spacing, typography, etc.) to access styling variables.

Instructions

Get CSS custom properties (design tokens) for a component. Filter by category.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoFilter by category (e.g., 'spacing', 'typography', 'size')
componentYesComponent name (e.g., 'Button', 'Alert', 'DataTable')
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is known. The description adds the 'design tokens' clarification and the filtering capability, but no further behavioral details such as return format or pagination. This is sufficient given the annotations.

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?

Two short sentences front-load the core purpose ('Get CSS custom properties') and mention the optional filter. No wasted words.

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

Completeness5/5

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

The description is adequate for a simple read-only tool with two well-documented parameters and comprehensive annotations. It conveys what is retrieved and the optional filtering aspect, leaving little ambiguity for an agent.

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?

Both parameters are fully described in the schema (100% coverage), including examples. The description's 'Filter by category' aligns with the category parameter but adds no additional semantic nuance beyond the schema.

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 uses a specific verb ('Get') and resource ('CSS custom properties (design tokens)') for a component, with a scope ('Filter by category'). This clearly differentiates from sibling tools like get_component_props and get_component_events.

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 provides clear context that this tool retrieves CSS variables for a component, and the filter option is stated. It does not explicitly name alternative tools or when-not-to-use conditions, but the specificity of 'CSS custom properties' signals the intended use case.

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

Install Server

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/RomkaSk/paragon-mcp-server'

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