Skip to main content
Glama

mdn_css

Retrieve formal CSS definitions for properties, functions, at-rules, selectors, types, and units, including syntax, initial value, inheritance, computed value, and animation type from mdn-data.

Instructions

Get CSS property formal definitions — syntax, initial value, inheritance, computed value, animation type, and more. Uses mdn-data offline.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
nameYesCSS property, function, at-rule, selector, type, or unit name, e.g. 'grid', 'display', 'calc', ':hover', '@media'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one real behavioral trait: the data comes from mdn-data offline, implying no network call and a bundled snapshot rather than live content. However it says nothing about behavior for unknown names (error vs. null vs. fuzzy match), case sensitivity, or whether non-property inputs (units, selectors) are resolved the same way.

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 core purpose front-loaded and the data source appended as useful context. The trailing "and more" is the only mildly wasteful phrase, but overall there is no padding.

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?

For a single-parameter, non-mutating lookup with no output schema, the description gives enough: what is returned (field list), where it comes from (offline mdn-data), and the domain. The only missing piece an agent might want is failure behavior for unrecognized names, which is minor here.

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?

Schema coverage is 100% and the parameter description already supplies concrete examples ('grid', 'display', 'calc', ':hover', '@media'), so the schema does the heavy lifting. The description adds nothing about the parameter beyond narrowing the intent to CSS property definitions, which is actually slightly narrower than the schema's stated acceptance of functions, at-rules, selectors, types, and units.

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?

"Get CSS property formal definitions" names a specific verb and resource, and the enumeration (syntax, initial value, inheritance, computed value, animation type) pins down exactly what kind of data is returned versus prose docs or compat tables. It does not explicitly name a sibling to contrast with, but the scope is narrow enough that an agent can distinguish it from mdn_doc or mdn_compat.

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: an agent can infer this is the tool for structured/formal spec-style data rather than documentation lookup. There is no explicit "use this when... instead of mdn_doc/mdn_compat" routing and no stated exclusions or prerequisites.

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

Deploy Server

Other Tools