Skip to main content
Glama

Extract Design System From a Live Site

extract-from-url
Read-onlyIdempotent

Fetches a public URL to extract inline or linked CSS design tokens using a DNS-pinned, bounded request—no browser rendering or credential forwarding.

Instructions

Extract inline/linked CSS tokens from an explicit public URL. DNS-pinned, bounded fetch; no browser rendering or credential forwarding.

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": {
      "url": "<url>"
    },
    "name": "extract-from-url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
nameNo
maxTokensNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive behavior, so the safety profile is covered. The description adds genuinely non-obvious context: DNS-pinned and bounded fetching, no browser rendering (so JS-injected styles won't be captured), and no credential forwarding. These are real behavioral limits an agent would otherwise not know.

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?

Two tight sentences, front-loaded with the action and the resource, followed by the behavioral constraints. No filler or restated name/title.

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?

With no output schema, the description should say what "tokens" come back (format, structure, or at least a summary of the payload), and it does not. It is complete on safety and fetch behavior but leaves the agent guessing about the result shape and about name/maxTokens semantics.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters, so the description must carry parameter meaning and largely does not. "Explicit public URL" maps loosely to url, but name and especially maxTokens (a bounded 500-50000 budget) are unexplained — "bounded fetch" hints at a limit without clarifying what maxTokens controls or its defaults.

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: "Extract inline/linked CSS tokens" with the scope constraint "from an explicit public URL." The live-site/URL framing implicitly separates it from design-system siblings that operate on local or stored systems, though it never names an alternative explicitly.

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 phrase "explicit public URL" conveys a precondition (the target must be a public, directly named URL), which is useful selection guidance. However, there is no statement of when to prefer this over extract-design-system or the other design-system siblings, and no exclusions or failure conditions for use.

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