Skip to main content
Glama
rominak

tidy-core

by rominak

tidy_context

Retrieve the full design system contract in one call—collections, modes, token groups, component variants, and naming conventions—to avoid guessed tokens and raw hex.

Instructions

Get the design system contract in one call: collections, modes, token names grouped by intent, component variant axes, and the naming and binding conventions actually in use. Call this before writing anything into the file. Without it an agent guesses token names, and guessed names are how raw hex ends up in a component.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
detailNosummary groups tokens by naming prefix. full returns every token. Default summary.
includeNoWhich parts to return. Default all three.
figmaFileNoRun against a specific connected file, overriding the target lock for this call.
Behavior4/5

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

With no annotations provided, the description takes on the full burden of behavioral disclosure. It communicates the return scope in detail and goes further by warning that not calling it leads to guessing, potentially causing 'raw hex' where components are affected. This gives an agent a strong sense of when and why the tool matters, even if it doesn't cover all edge cases like error handling or performance.

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 concise and well-structured. It opens with the core purpose, lists what's included, provides a direct instruction on when to call it, and closes with a rationale that motivates the action. Every word earns its place, and the most critical information is front-loaded.

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 read-only context-gathering tool with only optional parameters and no output schema, the description covers all essential information: what it returns, when to use it, and why it matters. It doesn't explicitly document default behavior for parameters, but the schema already handles that, making this description sufficient for an agent to decide when and why to invoke it.

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?

The input schema already describes all three parameters (detail, include, figmaFile) with enums and defaults, covering 100% of the information needed. The description adds no extra context about parameters, which is acceptable given the schema's completeness; the baseline of 3 is appropriate.

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 in 'Get the design system contract' and enumerates the exact content: collections, modes, token names grouped by intent, component variant axes, and conventions. This makes it immediately differentiable from sibling tools like tidy_status or tidy_health, which likely address other aspects of the design system.

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 instructs to 'Call this before writing anything into the file,' giving clear usage context. It doesn't name alternative tools or provide when-not-to-use conditions, so it stops short of a 5, but the conditional guidance is strong and actionable.

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/rominak/tidy-core'

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