Skip to main content
Glama

diff_presets

Compare two UI presets to identify differences in tokens, components, or layouts, helping developers understand changes between base and override configurations.

Instructions

Compare two presets and return what changed between them. Useful for understanding what a client override changes vs the base.

Args:

  • preset_a (string): First preset ID

  • preset_b (string): Second preset ID

  • scope ('tokens' | 'components' | 'layouts' | 'all'): What to compare (default: 'all')

Returns: Object with added, removed, and changed keys with before/after values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
preset_aYesFirst preset ID
preset_bYesSecond preset ID
scopeNoWhat to compareall

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/ncsound919/OG-Glass'

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