Skip to main content
Glama

maket_charte

Manage brand style guides (chartes) to keep design tokens, voice, and rules consistent across HTML pages: list, view, create, overwrite, or delete them.

Instructions

When to use: manage brand style guides (chartes). view is a prerequisite for any charte-aware HTML edit — it returns the context_token required by maket_html set/patch.

Design tokens become CSS variables (--charte-color-primary, etc.) injected into every page. Voice and rules guide content composition. maket_mermaid automatically consumes canonical diagram tokens and documented fallbacks from color/font groups; its tokenRefs option can target any existing safe token explicitly. list — list all chartes with a short colour-palette preview. view — read one charte; returns tokens, voice, rules, and context_token. set — create or overwrite a charte. delete — remove a charte.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoRequired for view/set/delete. Unique charte name.
rulesNoFor set: composition rules (titles, photos, layout). Extra keys allowed.
voiceNoFor set: voice guidelines (personality, formality, do/dont, vocabulary, examples).
actionYesOperation to run. See the tool description for the action table.
tokensNoFor set: design tokens grouped by category. Become CSS variables --charte-<group>-<key>. Diagram roles can use a canonical "diagram" group (bg, fg, line, accent, muted, surface, border, font, padding, nodeSpacing, layerSpacing, transparent). Example: {"color":{"primary":"#2563EB"},"font":{"body":"Montserrat"},"diagram":{"surface":"#EFF6FF","nodeSpacing":"32px"}}.
descriptionNoFor set: one-line human description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.1.0
    • changedInput schema / properties / tokens / description
      Previous value: -"For set: design tokens grouped by category. Become CSS variables --charte-<group>-<key>. Example: {\"color\": {\"primary\": \"#2563EB\"}, \"font\": {\"heading\": \"Montserrat\"}, \"spacing\": {\"page\": \"20mm\"}}."New value: +"For set: design tokens grouped by category. Become CSS variables --charte-<group>-<key>. Diagram roles can use a canonical \"diagram\" group (bg, fg, line, accent, muted, surface, border, font, padding, nodeSpacing, layerSpacing, transparent). Example: {\"color\":{\"primary\":\"#2563EB\"},\"font\":{\"body\":\"Montserrat\"},\"diagram\":{\"surface\":\"#EFF6FF\",\"nodeSpacing\":\"32px\"}}."
  2. Changed1 schema field changedv1.7.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It explicitly states that tokens become CSS variables injected into every page, that set creates or overwrites, and that delete removes a charte. It does not discuss irreversibility or permissions, but the main behavioral traits and outputs are disclosed.

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 front-loaded with a 'When to use' lead and then builds toward a compact action table. The prose sentences about CSS variables and maket_mermaid are relevant context, and the action list gives a crisp overview. It is slightly longer than the minimum needed, but every section earns its place.

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?

The description covers all four actions, explicitly states what view returns (tokens, voice, rules, context_token), and explains the cross-tool dependency on context_token. The schema covers parameter formatting in detail. Minor gaps such as error conditions or permission requirements exist, but the essential invocation context is present.

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 documents all parameters with 100% schema description coverage, so a baseline of 3 is appropriate. The description adds context about tokens becoming CSS variables and view returning a context_token, but it does not add much parameter-level syntax beyond what the schema already provides.

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 clearly identifies the tool's resource ('brand style guides (chartes)') and enumerates four concrete operations: list, view, set, and delete, each with a one-line outcome. This distinguishes it from sibling tools like maket_html and maket_mermaid by naming exactly what it manages.

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 opens with 'When to use' and explicitly explains that view is a prerequisite for charte-aware HTML edits because it returns the context_token needed by maket_html set/patch. It also provides cross-tool context for maket_mermaid. It lacks explicit when-not-to-use or alternative-selection rules, but the usage context is clear.

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