Skip to main content
Glama

design_composition_check

Advisory HTML composition analysis against anti-patterns (card walls, badge clutter, run-on headings).

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": {
      "html": "<html>"
    },
    "name": "design_composition_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Advisory' usefully signals that findings are non-blocking suggestions rather than enforced mutations, but it says nothing about the return shape (issue list, severity, scoring), determinism, or any limits on input size.

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 front-loaded sentence with the core action first and the illustrative anti-patterns in parentheses. No filler, hedging, or redundant restatement of the tool name.

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 simple one-parameter analysis tool this covers what the check targets, but with no output schema the description should say at least roughly what comes back (list of findings? pass/fail?). The example anti-pattern list is illustrative, so an agent cannot tell whether the check is limited to those three categories.

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?

There is a single parameter with 0% schema description coverage, but it is a self-evident string named 'html', and the description frames it as the HTML composition being analyzed. Little additional semantic detail is needed or feasible for one obvious input.

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 uses a specific verb and resource ('HTML composition analysis') and sharpens it with concrete anti-pattern examples (card walls, badge clutter, run-on headings), so an agent knows exactly what is being checked. It does not explicitly distinguish itself from siblings like design_inspect, which keeps it from 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 Guidelines3/5

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

Usage is implied: call this with an HTML string when you want composition anti-patterns flagged. There is no explicit when-to-use versus when-not-to-use guidance, and no named alternative for related checks (e.g., visual or structural inspection).

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.

Resources