Skip to main content
Glama

Fabrement

Save icon

fabrement-save-icon

Add an icon to the site library, or replace one, from EXACTLY ONE source: svg markup, or fileKey+nodeId of a Figma node (exported as vector). id = /, group one of brand, ui, feature, social, contact, flag; ids are permanent once a block names them. The markup is sanitised and its colours turned into CSS-driven paint per colorMode. list-icons FIRST. Rules: get-skill-doc {id:"icons-contract"} — read it before the first call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes<group>/<slug>, e.g. "ui/arrow-right".
svgNoThe <svg> markup. Not with fileKey/nodeId.
nameYes
tagsNo
nodeIdNoFigma node id, colon form ("12:34").
fileKeyNoFigma file key. With nodeId, instead of svg.
colorModeNoDefault: original for brand/flag, mono otherwise.
accentColorNoduotone only, REQUIRED there: which of the icon's two colours (hex, as in the svg) is the accent. The other paints with CSS `color`.
descriptionYesWhat it shows and where it fits — what list-icons shows the next session.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses sanitisation of markup, color-to-CSS-paint conversion tied to colorMode, and that ids become permanent once a block references them. It omits what a replace does to existing consumers, error behavior on invalid source combinations, and the return shape, which keeps it short of a 5.

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?

Front-loaded with the core action, then constraints, then rules. Dense but each sentence carries a distinct constraint. Slightly telegraphic styling ('Rules:', backticks, colons) costs a little readability but no sentence is wasted.

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?

A 9-parameter mutation tool with no annotations and no output schema is a demanding case, and the description covers source exclusivity, id semantics, color behavior, and a pointer to a contract doc. It stops short of stating return values or failure modes, leaving a modest gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 78% (high), so baseline is 3, but the description adds real semantics beyond the schema: the one-of relationship between svg and fileKey+nodeId, the enumerated group values for id, and the colorMode default logic. That is meaningful added meaning over the field-level descriptions.

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?

Opens with a specific verb+resource+scope: 'Add an icon to the site library, or replace one.' It further disambiguates by naming the two mutually exclusive input sources and the id format, so an agent can distinguish it from list-icons, get-icon, and delete-icon without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives explicit routing and ordering rules: 'list-icons FIRST', 'read get-skill-doc {id:"icons-contract"} before the first call', and 'EXACTLY ONE source'. It also declares the permanence constraint on ids, which shapes when to be careful. This is unusually complete when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources