Skip to main content
Glama
LawCast Frontend MCP

LawCast Frontend MCP

get_design_system

Read-onlyIdempotent

Retrieve source-backed LawCast semantic tokens, shared classes, component catalog, UX patterns, and enforceable rules with snapshot provenance for frontend design-system queries.

Instructions

Get source-backed LawCast semantic tokens, shared classes, component catalog, UX patterns or enforceable rules. Includes snapshot provenance.

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_design_system"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicNoall

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.4/5.0
Behavior3/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 safety and side-effect behavior are covered. The description adds that results are 'source-backed' and include 'snapshot provenance', which is real behavioral context an agent would not get from annotations. It does not address response size, whether 'all' is expensive, or any pagination/truncation behavior.

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?

Two compact sentences with the retrieved content front-loaded and provenance appended as a secondary note; no filler. The density of branded jargon ('source-backed LawCast') slightly reduces immediate comprehension, but length is well matched to the tool's simplicity.

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?

For a single-optional-parameter read tool with rich annotations and no output schema, the description covers what is returned and mentions provenance. It leaves unresolved how large the unfiltered payload is and how this tool relates to the overlapping siblings, which matters for an agent choosing among them.

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?

There is one optional parameter with an enum but 0% schema description coverage, so the schema provides only the literal values. The description roughly expands each enum value (tokens='semantic tokens', classes='shared classes', components='component catalog', patterns='UX patterns', rules='enforceable rules'), which adds modest meaning. It never explains what 'all' aggregates or how scoping affects the result, so it does not fully compensate for the coverage gap.

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?

Uses a specific verb ('Get') and enumerates the resource categories it returns: semantic tokens, shared classes, component catalog, UX patterns, and rules. This maps closely to the topic enum, so an agent can tell it retrieves design-system reference material. It stops short of explicitly contrasting with siblings like get_component or get_style_rules, which overlap in subject matter.

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

Usage Guidelines3/5

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

Usage is only implied: the enumerated categories hint that this is the entry point for design-system lookups, and the optional topic parameter hints at scoping. There is no explicit statement of when to prefer this over get_component (single component) or get_style_rules (rules), nor when to omit the topic and use the 'all' default.

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