Skip to main content
Glama
ChinaCarlos

op-product-design-mcp

by ChinaCarlos

读取应内联的 CSS

get_bundled_css

Returns combined tokens, theme, and layout CSS in the required order for inlining into HTML style tags during prototype generation.

Instructions

返回 tokens + theme + layout 拼接结果,生成 HTML 时必须按此顺序内联进 style。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It does disclose the important behavioral trait that the three CSS layers must be inlined in a specific order, which an agent could not infer otherwise. It does not describe read-only nature, caching/freshness, or what the returned string looks like structurally beyond 'concatenated'.

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?

A single tightly written sentence with the return composition stated first and the consumption constraint second. Every clause earns its place and nothing is padded.

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 zero-parameter read tool with no output schema, the description covers what is returned and the critical ordering constraint for consuming it. Minor gaps remain – expected format/type of the returned CSS and error behavior – but nothing an agent needs to call it correctly is missing.

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?

The tool takes zero parameters, which is the baseline-4 case; there is nothing for the description to disambiguate. Schema coverage is also 100%, so no compensating detail is needed.

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?

The description names the exact resource and its composition – the concatenation of tokens + theme + layout CSS – so an agent knows precisely what this tool returns. It is unambiguous against the prototype-oriented siblings, though it never states the verb 'get' or 'read' explicitly, relying on the name instead.

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?

The description gives an implicit 'what to do with the result' rule (inline into <style> in this order when generating HTML), which is genuinely useful. However, it never states when to call this tool versus alternatives, nor any prerequisites or conditions for invoking it; usage must be inferred from the returned-content directive.

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