Skip to main content
Glama

Ecosphere design system

Get Ecosphere design tokens

get_tokens
Read-onlyIdempotent

Get Ecosphere design tokens (CSS custom properties) with values and usage: colour, type (font families and type styles), spacing, radius, shadow, motion. Pass a category, or a query to filter ("accent", "danger", "gap"). Use these instead of raw hex, px, shadows or font-family.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_tokens"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoFilter tokens whose name, value or usage contains these words.
categoryNoOne of colour, type, spacing, radius, shadow, motion, other, or "all". Aliases like color, typography, elevation work.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description still adds value beyond them by disclosing what is returned (values and usage strings) and how filtering behaves, which is the right division of labor.

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?

Three tightly packed sentences with no filler; the resource and its form lead, then the how-to-filter, then the normative 'use this not that' rule. Every clause carries information an agent needs.

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?

Only two optional, fully documented parameters and rich annotations, so little description is required, and the tool's return content is summarized ("with values and usage"). The exact shape of the returned token records is not described, but with no output schema that is a minor 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 100%, so the baseline would be 3, but the description adds meaning the schema lacks: concrete example query terms ("accent", "danger", "gap") that show what kind of text the filter matches against. The category list largely duplicates the schema's enum-like description rather than extending it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Get Ecosphere design tokens") and immediately clarifies the concrete form they take (CSS custom properties) plus the six categories covered. It doesn't explicitly distinguish itself from siblings like get_design_rules or get_types, so it stops short of a 5.

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?

Gives a clear operating instruction — "Pass a category, or a query to filter" — and a strong normative rule: "Use these instead of raw hex, px, shadows or font-family." It lacks explicit when-not guidance or a named alternative tool, which keeps it at 4.

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.