Skip to main content
Glama

axint.tokens.ingest

Read-onlyIdempotent

Ingest design tokens from JSON, JS/TS object exports, or CSS variables and return a SwiftUI token enum. Use this before generating Swarm-style views/components so agents can preserve exact brand colors, dimensions, radii, spacing, and typography. No files are written. Use: use before view/component generation when a design system should be preserved. Inputs: tokens accepts structured design values; enumName and accessLevel shape generated Swift names. Effects: read-only Swift token output; writes no files and uses no network.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoOutput format. swift returns the SwiftUI token enum, json returns normalized.
sourceNoInline token source.
namespaceNoSwift enum namespace to generate. Example: SwarmTokens.
sourcePathNoPath to a token file such as swarm-tokens.js, tokens.json, or tokens.css.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
isErrorNo

TDQS

A4/5.0
Behavior5/5

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

The description adds meaningful behavioral context beyond annotations: 'No files are written,' 'read-only Swift token output,' and 'uses no network.' This complements the readOnlyHint, idempotentHint, and destructiveHint annotations and provides concrete effects useful to an agent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is reasonably structured but contains redundancy: 'No files are written' is stated twice, and 'Use: use before...' repeats the prior 'Use this before...' sentence. It also includes inaccurate parameter names, adding noise. It could be tightened without losing important information.

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

Completeness3/5

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

The description covers when to use the tool and side-effect transparency, and the schema covers all parameters plus an output schema. However, the inaccurate parameter references create a notable gap and could cause an agent to pass non-existent parameters. The overall context is adequate but not complete due to this mismatch.

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

Parameters2/5

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

The schema has 100% description coverage for all actual parameters (format, source, namespace, sourcePath), so the baseline is 3. However, the description introduces 'tokens', 'enumName', and 'accessLevel' which are not in the schema, potentially misleading an agent. It also omits any reference to the real parameters' nuances, making the description add confusion rather than value.

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 states the tool's function: 'Ingest design tokens from JSON, JS/TS object exports, or CSS variables and return a SwiftUI token enum.' This is a specific verb+resource+output combination that clearly distinguishes it from sibling tools like axint.compile, axint.run, and axint.validate.

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 says 'Use before generating Swarm-style views/components' and 'use before view/component generation when a design system should be preserved,' providing clear when-to-use context. It doesn't mention when not to use the tool or name alternatives, but the intended context is well-defined.

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.

TDQS

A4.1/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, with descriptions specifying exact use cases (e.g., axint.activate for smoke test, axint.status for version). There is minor potential overlap between axint.suggest and axint.feature, but descriptions clarify suggestion vs generation.

Naming Consistency5/5

All tools follow a consistent hierarchical pattern: 'axint.<category>.<action>' (e.g., axint.agent.advice, axint.swift.validate). Even standalone tools like axint.compile fit the pattern. No mixing of conventions.

Tool Count2/5

36 tools is well above the typical 3-15 range for a well-scoped set. While the server covers a broad domain, the sheer number may overwhelm agents and reduce efficiency. A reduction or grouping would improve coherence.

Completeness4/5

The tool set covers the full Axint development lifecycle: installation, compilation, validation, repair, upgrade, session management, and coordination. Minor gaps exist (e.g., no dedicated tool for deleting project artifacts), but core workflows are well-supported.