{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "mcp.ravenmcp.ai",
    "site": "ravenmcp.ai",
    "addresses": [
      {
        "address": "216.150.16.1",
        "endpoints": 622,
        "shared_infrastructure": true,
        "network": {
          "asn": 16509,
          "name": "AMAZON-02 - Amazon.com, Inc.",
          "prefix": "216.150.16.0/24",
          "country": "US"
        }
      },
      {
        "address": "216.150.1.1",
        "endpoints": 948,
        "shared_infrastructure": true,
        "network": {
          "asn": 16509,
          "name": "AMAZON-02 - Amazon.com, Inc.",
          "prefix": "216.150.1.0/24",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "216.150.16.1",
          "216.150.1.1"
        ],
        "first_seen": "2026-11-24T06:49:02.312Z",
        "last_seen": "2026-11-24T06:49:02.312Z",
        "checks": 1
      },
      {
        "addresses": [
          "216.150.16.193",
          "216.150.1.193"
        ],
        "first_seen": "2026-11-23T06:48:01.334Z",
        "last_seen": "2026-11-23T06:48:01.334Z",
        "checks": 1
      },
      {
        "addresses": [
          "216.150.1.193",
          "216.150.16.193"
        ],
        "first_seen": "2026-11-22T06:47:01.831Z",
        "last_seen": "2026-11-22T06:47:01.831Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Vercel",
        "evidence": "Server header \"Vercel\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "raven-mcp",
      "version": "3.1.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "Vercel",
      "strict-transport-security": "max-age=63072000",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1177,
      "sample": [
        {
          "id": "26",
          "url": "https://mrk.ae/api/mcp",
          "server_name": "ae.mrk/dubai-property",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:33:01.724Z"
        },
        {
          "id": "225",
          "url": "https://amigurumi.ai/mcp",
          "server_name": "ai.amigurumi/patterns",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:37:01.042Z"
        },
        {
          "id": "378",
          "url": "https://bidbetter.ai/api/mcp",
          "server_name": "ai.bidbetter/collector-car-values",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:40:16.298Z"
        },
        {
          "id": "379",
          "url": "https://bidclub.ai/api/mcp",
          "server_name": "ai.bidclub/bidclub",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:40:16.575Z"
        },
        {
          "id": "390",
          "url": "https://blinibot.ai/api/agents/mcp",
          "server_name": "ai.blinibot/agent-lounge",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:40:16.955Z"
        },
        {
          "id": "413",
          "url": "https://booqer.ai/mcp",
          "server_name": "ai.booqer/booqer",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:41:03.368Z"
        },
        {
          "id": "458",
          "url": "https://calaf.ai/api/mcp",
          "server_name": "ai.calaf/seeds",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:43:02.424Z"
        },
        {
          "id": "461",
          "url": "https://callmcp.ai/mcp",
          "server_name": "ai.callmcp/server",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:43:02.588Z"
        },
        {
          "id": "465",
          "url": "https://www.canaryusers.ai/api/mcp",
          "server_name": "ai.canaryusers/canaryusers",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:43:02.707Z"
        },
        {
          "id": "523",
          "url": "https://agentmart.ciphyr.ai/mcp",
          "server_name": "ai.ciphyr.agentmart/agentmart",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:44:03.257Z"
        },
        {
          "id": "524",
          "url": "https://agentmart.ciphyr.ai/mcp/core",
          "server_name": "ai.ciphyr.agentmart/core",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:45:05.472Z"
        },
        {
          "id": "670",
          "url": "https://www.decisionlog.ai/api/mcp",
          "server_name": "ai.decisionlog/mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:47:02.624Z"
        },
        {
          "id": "754",
          "url": "https://www.edgechat.ai/mcp",
          "server_name": "ai.edgechat/edgepedia",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:49:03.533Z"
        },
        {
          "id": "906",
          "url": "https://www.frontierdesk.ai/mcp",
          "server_name": "ai.frontierdesk/desk",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:53:03.940Z"
        },
        {
          "id": "1083",
          "url": "https://govrelations.ai/mcp",
          "server_name": "ai.govrelations/govrelations",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:55:06.808Z"
        },
        {
          "id": "1105",
          "url": "https://guestlogic.ai/mcp",
          "server_name": "ai.guestlogic/guest-logic",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:56:01.272Z"
        },
        {
          "id": "1183",
          "url": "https://hustlin.ai/api/mcp",
          "server_name": "ai.hustlin/hustlin",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:58:02.620Z"
        },
        {
          "id": "1300",
          "url": "https://kifly.ai/api/mcp",
          "server_name": "ai.kifly/mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T05:01:02.018Z"
        },
        {
          "id": "1353",
          "url": "https://kwekuanansi.ai/mcp/africa-contacts",
          "server_name": "ai.kwekuanansi/africa-contacts",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T05:02:01.039Z"
        },
        {
          "id": "1354",
          "url": "https://kwekuanansi.ai/mcp/africa-pay",
          "server_name": "ai.kwekuanansi/africa-pay",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T05:03:02.433Z"
        }
      ]
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "ai.ravenmcp",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/rhinocap/raven-mcp",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "1919",
    "server_name": "ai.ravenmcp/raven-mcp",
    "url": "https://mcp.ravenmcp.ai/api/mcp",
    "host": "mcp.ravenmcp.ai",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-24T06:49:02.312Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "225c10649ca1afd3e7a07152da35ab564d6188a6cfa5b1a9bf951be7aa68e917",
    "first_listed_at": "2026-11-21T05:15:00.941Z",
    "created_at": "2026-11-21T04:35:23.008Z",
    "resolved_addresses": [
      "216.150.16.1",
      "216.150.1.1"
    ]
  },
  "server": {
    "name": "ai.ravenmcp/raven-mcp",
    "title": "Raven",
    "description": "Design intelligence for coding agents: audits, design systems, and a taste profile agents consult.",
    "version": "3.1.0",
    "registry_status": "active",
    "repository_url": "https://github.com/rhinocap/raven-mcp",
    "website_url": "https://ravenmcp.ai",
    "published_at": "2026-11-16T07:43:15.941Z",
    "updated_at": "2026-11-16T07:43:15.941Z",
    "first_seen": "2026-11-21T04:35:22.540Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "vector-search"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T14:53:08.255Z"
  },
  "operator": {
    "key": "ravenmcp.ai",
    "name": "ravenmcp.ai",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 4,
    "answered": 4,
    "answered_percent": 100,
    "avg_listing_latency_ms": 438,
    "first_check_in_window": "2026-11-21T05:15:00.941Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-24",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "225c10649ca1afd3e7a07152da35ab564d6188a6cfa5b1a9bf951be7aa68e917",
    "tools": 45,
    "resources": 0,
    "prompts": 5,
    "first_seen": "2026-11-21T05:15:01.411Z",
    "tool_names": [
      "get_principles",
      "get_pattern",
      "get_business_strategy",
      "evaluate_design",
      "search_knowledge",
      "get_checklist",
      "get_d4d_framework",
      "list_design_systems",
      "get_design_system",
      "compose_system",
      "audit_page",
      "score_page",
      "audit_parity",
      "audit_ios_a11y",
      "audit_responsive_visibility",
      "audit_contrast",
      "suggest_contrast_fix",
      "audit_url",
      "audit_content",
      "audit_typography",
      "audit_tap_targets",
      "get_brand_system",
      "generate_design_system",
      "audit_layout",
      "audit_swiftui",
      "audit_screen",
      "audit_ios_screen",
      "audit_ios_privacy",
      "audit_rn",
      "list_content_systems",
      "get_content_system",
      "get_content_principles",
      "get_content_pattern",
      "get_research_method",
      "get_metrics_framework",
      "get_service_pattern",
      "get_service_standard",
      "generate_service_blueprint",
      "get_brand_principles",
      "get_brand_trends",
      "list_creative_models",
      "list_creative_presets",
      "score_creative",
      "audit_consistency",
      "audit_video_playback"
    ],
    "declared": {
      "tools": [
        {
          "name": "get_principles",
          "description": "Get design principles relevant to a UI context. Returns usability heuristics, laws of UX, Gestalt principles, accessibility requirements, typography rules, and color theory — matched to what you're designing.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "context"
            ],
            "properties": {
              "format": {
                "enum": [
                  "full",
                  "checklist",
                  "brief"
                ],
                "type": "string",
                "description": "Output format: full (all details), checklist (implications + violations), brief (just summary). Default: full"
              },
              "context": {
                "type": "string",
                "description": "What you're designing (e.g. 'signup form', 'pricing page', 'mobile nav', 'dark dashboard')"
              },
              "category": {
                "type": "string",
                "description": "Filter to category: accessibility, brand, color-systems, color-theory, component-architecture, d4d, gestalt, laws-of-ux, mobile-ux, nielsen-heuristics, research, responsive-layout, service-design, spacing-systems, typography, ux-writing"
              },
              "platform": {
                "enum": [
                  "web",
                  "ios",
                  "react-native"
                ],
                "type": "string",
                "description": "Platform context. 'ios' returns Apple HIG principles (Dynamic Type, 44pt targets, SF Symbols, safe areas, dark-mode, haptics, App Review privacy); 'react-native' returns RN principles (44/48pt+hitSlop, accessibilityLabel/Role, font scaling, SafeAreaView, dark mode, iOS+Android parity, secrets). Both replace the web/CSS-oriented set. Default: web."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get Principles",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_pattern",
          "description": "Get proven UI/UX patterns for a specific design type. Returns do's, don'ts, evidence, and checklists for signup flows, pricing pages, navigation, forms, landing pages, dashboards, modals, empty states, error states, loading states, CTAs, social proof, and mobile conversion.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "type"
            ],
            "properties": {
              "goal": {
                "enum": [
                  "conversion",
                  "usability",
                  "accessibility",
                  "delight"
                ],
                "type": "string",
                "description": "Filter by primary goal"
              },
              "type": {
                "type": "string",
                "description": "Pattern type (e.g. 'signup-flow', 'pricing-page', 'navigation', 'forms', 'landing-page', 'dashboard', 'modals-dialogs', 'empty-states', 'error-states', 'loading-states', 'cta', 'social-proof', 'mobile-conversion')"
              },
              "platform": {
                "enum": [
                  "desktop",
                  "mobile",
                  "responsive"
                ],
                "type": "string",
                "description": "Filter patterns by platform context"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get Pattern",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_business_strategy",
          "description": "Get business and monetization strategies for digital products. Covers monetization models, retention strategies, onboarding optimization, growth mechanics, and product metrics frameworks.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "type": "string",
                "description": "Strategy type: monetization, retention, onboarding, growth, metrics"
              },
              "stage": {
                "enum": [
                  "startup",
                  "growth",
                  "mature"
                ],
                "type": "string",
                "description": "Company stage for contextual filtering"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get Business Strategy",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "evaluate_design",
          "description": "Evaluate a design description against UX principles. Returns relevant principles, potential violations, and improvement suggestions. Screenshot pixel-diff is disabled on the hosted (remote) endpoint (unbounded image decode). Omit 'before_screenshot'/'after_screenshot' and pass a 'description' to evaluate the design against UX principles statelessly.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "goals": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "What to evaluate for (e.g. ['conversion', 'accessibility', 'mobile-usability'])"
              },
              "compact": {
                "type": "boolean",
                "description": "Return only ids+names for matched principles/patterns (drop their full bodies) plus counts and any before/after diff. Default false. Use when the full principle library payload would blow the tool-result budget."
              },
              "context": {
                "type": "string",
                "description": "What the design is (e.g. 'pricing page for SaaS product')"
              },
              "description": {
                "type": "string",
                "description": "Description of the design to evaluate"
              },
              "after_screenshot": {
                "type": "string",
                "description": "Base64 PNG of the AFTER state. When both before+after are provided, returns a structured pixel diff with fix_confirmed."
              },
              "before_screenshot": {
                "type": "string",
                "description": "Base64 PNG of the BEFORE state"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Evaluate Design",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "search_knowledge",
          "description": "Search across all design principles, UI patterns, and business strategies. Use when you need to find specific guidance or don't know which category to look in.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "query"
            ],
            "properties": {
              "layer": {
                "enum": [
                  "principles",
                  "patterns",
                  "business",
                  "all"
                ],
                "type": "string",
                "description": "Which layer to search: principles, patterns, business, or all (default)"
              },
              "query": {
                "type": "string",
                "description": "Search term (e.g. 'touch targets', 'pricing psychology', 'color contrast')"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Search Knowledge",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_checklist",
          "description": "Get a pre-publish checklist for a specific UI type. Returns actionable yes/no items to verify before shipping.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "type": "string",
                "description": "What you're shipping (e.g. 'signup form', 'pricing page', 'dashboard', 'landing page', 'modal')"
              },
              "platform": {
                "enum": [
                  "desktop",
                  "mobile",
                  "responsive",
                  "ios",
                  "react-native"
                ],
                "type": "string",
                "description": "Platform context for platform-specific checks. 'ios' = native SwiftUI/iOS (Apple HIG); 'react-native' = RN/Expo (iOS HIG + Android Material: 44/48pt+hitSlop, accessibilityLabel/Role, font scaling, SafeAreaView, dark mode, platform parity, secrets). Both replace the web/mobile-web checks."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get Checklist",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_d4d_framework",
          "description": "Get the Design for Delight (D4D) framework templates. Returns customer problem statement, ideal state, hypothesis, LOFA, and experiment templates for structured product thinking.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "stage": {
                "enum": [
                  "frame",
                  "empathy",
                  "broad",
                  "narrow",
                  "experiment",
                  "recommendation",
                  "full"
                ],
                "type": "string",
                "description": "Which stage of the D4D loop to return. Default: full (all stages)"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get D4D Framework",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_design_systems",
          "description": "Browse available design systems for tokens. Filter by category (component-library, consumer, developer, fintech, framework, platform, productivity) or search by name.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "search": {
                "type": "string",
                "description": "Search by name or description"
              },
              "category": {
                "type": "string",
                "description": "Filter by category: component-library, consumer, developer, fintech, framework, platform, productivity. Saved user systems list under 'user'."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "List Design Systems",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_design_system",
          "description": "Get design tokens for a specific design system. Returns colors, typography, spacing, radii, elevation, and motion tokens in W3C DTCG, CSS custom properties, or flat format.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "Design system ID (e.g. 'stripe', 'linear')"
              },
              "group": {
                "type": "string",
                "description": "Filter to a token group: color, color-dark, color-light, typography, spacing, radius, elevation, motion"
              },
              "format": {
                "enum": [
                  "dtcg",
                  "css",
                  "flat"
                ],
                "type": "string",
                "description": "Output format: dtcg (W3C standard), css (custom properties), flat (key-value). Default: dtcg"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get Design System",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "compose_system",
          "description": "Mix tokens from different design systems to create a custom composite. Example: Linear's colors + Stripe's typography.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "compositions"
            ],
            "properties": {
              "format": {
                "enum": [
                  "dtcg",
                  "css"
                ],
                "type": "string",
                "description": "Output format. Default: dtcg"
              },
              "compositions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "system",
                    "group"
                  ],
                  "properties": {
                    "group": {
                      "type": "string",
                      "description": "Token group to take (color, typography, spacing, radius, elevation, motion)"
                    },
                    "system": {
                      "type": "string",
                      "description": "Source design system ID"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Array of system-group pairs to compose"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Compose System",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audit_page",
          "description": "Audit HTML/CSS against Raven's design quality standards. Checks typography (min 13px, weight 400+, modular-scale heading ratios, line-height consistency), accessibility (WCAG touch targets, alt text, contrast), responsive patterns (flexbox over grid, clamp sizing, max-width containers), style guide compliance (CSS custom properties, no bare hex), and visual rhythm (4/8px spacing grid, tight spacing scale, palette size). Pass containerMaxWidth (your design system's canonical container token, in px) to make the max-width check token-aware — it then flags containers that diverge from your system (too narrow OR too wide) instead of a generic 1200px heuristic. Returns pass/fail per check with specific fix instructions. NOTE: the url argument is REJECTED on this hosted (remote) endpoint - pass html instead. audit_page url-capture is disabled on the hosted (remote) endpoint. Pass the page HTML via the 'html' argument instead.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "url": {
                "type": "string",
                "description": "REJECTED on this hosted (remote) endpoint; pass html instead. (Local/stdio: Raven launches headless chromium, renders the page, and audits the RENDERED DOM.)"
              },
              "html": {
                "type": "string",
                "description": "The full HTML content of the page to audit"
              },
              "strict": {
                "type": "boolean",
                "description": "Strict mode — also flags warnings as failures. Default: false"
              },
              "compact": {
                "type": "boolean",
                "description": "Return only the decision-grade signal — score, grade, summary, errors, warnings, fix_priority — and drop the embedded base64 screenshot and the passes list (replaced by passes_count). Default false. Use when the full payload would blow the tool-result budget."
              },
              "viewport": {
                "type": "object",
                "required": [
                  "w",
                  "h"
                ],
                "properties": {
                  "h": {
                    "type": "number"
                  },
                  "w": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              },
              "interactions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "selector",
                    "event",
                    "delay_ms"
                  ],
                  "properties": {
                    "event": {
                      "enum": [
                        "hover",
                        "click",
                        "focus"
                      ],
                      "type": "string"
                    },
                    "delay_ms": {
                      "type": "number"
                    },
                    "selector": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Before capturing, fire each interaction in order (hover/click/focus the selector, then wait delay_ms). Captures the resulting dynamic state — e.g. an on-hover theme-toggle wash invisible to a static screenshot."
              },
              "scroll_settle": {
                "type": "boolean",
                "description": "Before capturing, step through the page with short pauses so IntersectionObserver/whileInView reveals fire, then return to the top and settle. Also plays preload=none videos. Prevents blank-section false positives."
              },
              "containerMaxWidth": {
                "type": "number",
                "description": "Your design system's canonical content-container width in px (e.g. 1152). When set, the responsive/max-width check flags divergence from this token instead of using the generic 1200px heuristic."
              },
              "adversarial_verify": {
                "type": "boolean",
                "description": "After generating findings, independently re-check each against the live DOM/network and tag it confirmed / likely-artifact / inconclusive. Surfaces a debunked_count."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Audit Page",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "score_page",
          "description": "Score an HTML/CSS page across 7 design categories (Structure, Typography, Color & palette, Spacing & rhythm, Accessibility, Responsive layout, Design tokens), each rated 0–10. Scores are derived deterministically from the same checks as audit_page — no browser required. Pass html directly; the url argument is REJECTED on this hosted (remote) endpoint. Also returns the same overall 0–100 score and A–D grade audit_page produces, the weakest category, and the three categories Raven does not mechanically assess (brand, conversion, motion) with guidance on which tools to use for those. score_page url-capture is disabled on the hosted (remote) endpoint. Pass the page HTML via the 'html' argument instead.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "url": {
                "type": "string",
                "description": "REJECTED on this hosted (remote) endpoint; pass html instead. (Local/stdio: Raven launches headless chromium, renders the page, and scores the RENDERED DOM.)"
              },
              "html": {
                "type": "string",
                "description": "The full HTML content of the page to score."
              },
              "strict": {
                "type": "boolean",
                "description": "Strict mode — count warnings as failures in the overall score. Default: false."
              },
              "containerMaxWidth": {
                "type": "number",
                "description": "Your design system's canonical content-container width in px (e.g. 1152). Forwarded to the responsive/max-width check."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Score Page",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audit_parity",
          "description": "Compare iOS vs Android element snapshots against a checklist of named spatial relationships (vertical centering, baseline/left alignment, equal gap/size, presence, truncation) and flag per-relation match/mismatch/uncertain — catches cross-platform layout drift like status text centered on one platform but top-aligned on the other. Provide ios+android {elements,viewport} snapshots and a checklist[].",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ios",
              "android",
              "checklist"
            ],
            "properties": {
              "ios": {
                "type": "object",
                "required": [
                  "elements",
                  "viewport"
                ],
                "properties": {
                  "elements": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "rect"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "rect": {
                          "type": "object",
                          "required": [
                            "x",
                            "y",
                            "w",
                            "h"
                          ],
                          "properties": {
                            "h": {
                              "type": "number"
                            },
                            "w": {
                              "type": "number"
                            },
                            "x": {
                              "type": "number"
                            },
                            "y": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        },
                        "role": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "viewport": {
                    "type": "object",
                    "required": [
                      "w",
                      "h"
                    ],
                    "properties": {
                      "h": {
                        "type": "number"
                      },
                      "w": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              "android": {
                "type": "object",
                "required": [
                  "elements",
                  "viewport"
                ],
                "properties": {
                  "elements": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "rect"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "rect": {
                          "type": "object",
                          "required": [
                            "x",
                            "y",
                            "w",
                            "h"
                          ],
                          "properties": {
                            "h": {
                              "type": "number"
                            },
                            "w": {
                              "type": "number"
                            },
                            "x": {
                              "type": "number"
                            },
                            "y": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        },
                        "role": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "viewport": {
                    "type": "object",
                    "required": [
                      "w",
                      "h"
                    ],
                    "properties": {
                      "h": {
                        "type": "number"
                      },
                      "w": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              "checklist": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "a",
                    "relation"
                  ],
                  "properties": {
                    "a": {
                      "type": "string"
                    },
                    "b": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "relation": {
                      "enum": [
                        "present",
                        "vertically-centered",
                        "baseline-aligned",
                        "left-aligned",
                        "equal-gap",
                        "equal-size",
                        "same-truncation"
                      ],
                      "type": "string"
                    },
                    "tolerance": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Audit Parity",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audit_ios_a11y",
          "description": "Score an accessibility-enriched iOS element snapshot — missing accessibilityLabel/value/traits, sub-44pt tap targets, per-text WCAG contrast, Dynamic Type clipping, and VoiceOver reading order. Provide {elements:[{label,value,hint,traits,role,rect,fontPt,fgColor,bgColor,dynamicTypeClipped}],viewport}. Capture via the AccessibilitySnapshot XCUITest / ios-capture harness.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "elements",
              "viewport"
            ],
            "properties": {
              "options": {
                "type": "object",
                "properties": {
                  "minTarget": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              },
              "elements": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "rect"
                  ],
                  "properties": {
                    "hint": {
                      "type": "string"
                    },
                    "rect": {
                      "type": "object",
                      "required": [
                        "x",
                        "y",
                        "w",
                        "h"
                      ],
                      "properties": {
                        "h": {
                          "type": "number"
                        },
                        "w": {
                          "type": "number"
                        },
                        "x": {
                          "type": "number"
                        },
                        "y": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    },
                    "role": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    },
                    "fontPt": {
                      "type": "number"
                    },
                    "traits": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "bgColor": {
                      "type": "string"
                    },
                    "fgColor": {
                      "type": "string"
                    },
                    "dynamicTypeClipped": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "viewport": {
                "type": "object",
                "required": [
                  "w",
                  "h"
                ],
                "properties": {
                  "h": {
                    "type": "number"
                  },
                  "w": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Audit iOS Accessibility",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audit_responsive_visibility",
          "description": "Render a URL at multiple breakpoints and flag content elements that are visible on desktop but hidden on mobile (display:none / opacity:0 / visibility:hidden / zero-size). Categorises each flag as 'likely-oversight' (content that vanishes on mobile — the hidden-on-mobile content bug) vs 'intentional' (decorative). Returns a table of selector / hiding-class / mobile-visible / desktop-visible / category. Requires headless chromium.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "url"
            ],
            "properties": {
              "url": {
                "type": "string",
                "description": "URL to render (http/https or file://)"
              },
              "breakpoints": {
                "type": "array",
                "items": {
                  "type": "number"
                },
                "description": "Viewport widths in px. Default [390, 768, 1440, 2160]"
              },
              "viewportHeight": {
                "type": "number",
                "description": "Render height in px. Default 900"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Audit Responsive Visibility",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audit_contrast",
          "description": "Compute WCAG contrast ratios for every text element on a rendered page (pass url) or from a supplied dom_snapshot. Reports AA (4.5:1 normal, 3:1 large) and AAA pass/fail and surfaces failing pairs with selector, ratio, and delta-to-pass — replacing manual eyedropper + ratio math. dom_snapshot mode returns a row per supplied element; url mode returns counts plus every row that needs action (aa_failures, indeterminate_bg_rows) and OMITS the per-element rows for passing elements, because a real page produces hundreds of thousands of characters of them.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "url": {
                "type": "string",
                "description": "URL to render and measure (http/https or file://)"
              },
              "screenshot": {
                "type": "string",
                "description": "Optional base64 PNG for caller reference; ratios are computed from the DOM, not pixels"
              },
              "dom_snapshot": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "selector",
                    "color",
                    "bgColor"
                  ],
                  "properties": {
                    "bold": {
                      "type": "boolean"
                    },
                    "text": {
                      "type": "string"
                    },
                    "color": {
                      "type": "string"
                    },
                    "fontPx": {
                      "type": "number"
                    },
                    "bgColor": {
                      "type": "string"
                    },
                    "selector": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Pre-collected text elements to score without rendering"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Audit Contrast",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "suggest_contrast_fix",
          "description": "Given failing WCAG color pairs, return the MINIMAL color change that clears the target ratio. For each {fg,bg} pair, computes the smallest foreground adjustment (and an alternative background adjustment) that reaches AA/AAA — with the achieved ratio and direction. Feeds directly from audit_contrast's failing pairs: pass them here to get concrete passing values instead of brute-forcing colors by hand. Pure offline math.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "level": {
                "enum": [
                  "AA",
                  "AAA"
                ],
                "type": "string",
                "description": "WCAG level when targetRatio is not given per-pair. Default AA."
              },
              "pairs": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "fg",
                    "bg"
                  ],
                  "properties": {
                    "bg": {
                      "type": "string"
                    },
                    "fg": {
                      "type": "string"
                    },
                    "bold": {
                      "type": "boolean"
                    },
                    "ratio": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "fontPx": {
                      "type": "number"
                    },
                    "status": {
                      "enum": [
                        "pass",
                        "fail",
                        "indeterminate"
                      ],
                      "type": "string"
                    },
                    "selector": {
                      "type": "string"
                    },
                    "targetRatio": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Color pairs to remediate. Each: { selector?, fg, bg, fontPx?, bold?, targetRatio? }. fontPx/bold pick the large-text threshold; targetRatio overrides the level."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Suggest Contrast Fix",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audit_url",
          "description": "Layer 0 render-and-capture audit: renders a LIVE URL at each viewport×theme, scroll-settles (fires whileInView/IntersectionObserver reveals; plays preload=none videos), optionally fires caller-supplied hover/focus/click interactions, and captures real pixels + the rendered DOM. Then runs the existing audit_page rule engine, per-element WCAG contrast, responsive-visibility (desktop-shown/mobile-hidden), blank-media detection, sliced-image edge symmetry, and hover-state white-wash detection over the captures. Every finding is tagged confirmed | likely-artifact | inconclusive with its evidence, ranked by severity. This is the tool that catches real-world visual nits invisible to HTML-string/geometry audits: cropped images, blank videos, hover white-wash, sliced exports, and hidden-on-mobile content. Requires headless chromium. audit_url is disabled on the hosted (remote) endpoint: one run drives a real browser through every requested viewport and theme, and was MEASURED at 95s in its cheapest single-viewport single-theme configuration and past 120s with defaults, which exceeds the per-call budget of the hosted clients that call it. Run it locally instead (npx raven-mcp) where there is no request deadline, or pass the page HTML to audit_page here for a static grade.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "url"
            ],
            "properties": {
              "url": {
                "type": "string",
                "description": "URL to render and audit (http/https or file://)"
              },
              "themes": {
                "type": "array",
                "items": {
                  "enum": [
                    "light",
                    "dark"
                  ],
                  "type": "string"
                },
                "description": "Themes to toggle (prefers-color-scheme + data-theme/class). Default: ['light','dark']"
              },
              "compact": {
                "type": "boolean",
                "description": "Drop per-capture base64 screenshots; keep findings, counts, and summary. Default false. Use when screenshots would blow the tool-result budget."
              },
              "timeoutMs": {
                "type": "number",
                "description": "Per-navigation timeout in ms. Default: 30000"
              },
              "viewports": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "w",
                    "h"
                  ],
                  "properties": {
                    "h": {
                      "type": "number"
                    },
                    "w": {
                      "type": "number"
                    },
                    "label": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Viewports to render. Default: iphone 393×852, desktop 1440×900, wide 2160×1200"
              },
              "interactions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "selector",
                    "event",
                    "delay_ms"
                  ],
                  "properties": {
                    "event": {
                      "enum": [
                        "hover",
                        "click",
                        "focus"
                      ],
                      "type": "string"
                    },
                    "delay_ms": {
                      "type": "number"
                    },
                    "selector": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Fire each interaction before capture; the resulting state is diffed against baseline to catch hover/click white-wash and obscured content."
              },
              "scroll_settle": {
                "type": "boolean",
                "description": "Step through the page with short pauses to fire reveal-on-scroll/IntersectionObserver content, play videos, then return to the top before capture. Default: true"
              },
              "containerMaxWidth": {
                "type": "number",
                "description": "Your design system's canonical container width in px — makes the max-width check token-aware."
              },
              "includeScreenshots": {
                "type": "boolean",
                "description": "Include the base64 full-page PNG per capture in the result. Default: false (screenshots are large)."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Audit URL",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audit_content",
          "description": "Evaluate an array of content items (headings, prose, CTAs, labels, captions, metrics, outcomes) against UX-writing principles and deterministic heuristics. Returns a per-item verdict (pass/warn/fail) with matched principle ids, concrete issues grounded in principle text, a before→after rewrite suggestion, and an aggregate summary. Heuristics: metric items must carry a number+unit; cta/label must be action-led and ≤4 words; prose flags passive voice, jargon, and hedging; headings flag filler openers and buzzwords; captions flag duplication of any heading in the batch. Pure offline — no network or browser. Use this instead of evaluate_design when you need per-item content verdicts rather than the principle library.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "items"
            ],
            "properties": {
              "goals": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Optional content goals (e.g. ['clarity','conversion']); recorded for traceability."
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "type",
                    "text"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Optional stable id; auto-generated (item_N) if omitted."
                    },
                    "text": {
                      "type": "string",
                      "description": "The raw content string to evaluate."
                    },
                    "type": {
                      "enum": [
                        "prose",
                        "caption",
                        "heading",
                        "outcome",
                        "metric",
                        "cta",
                        "label"
                      ],
                      "type": "string",
                      "description": "Content type — selects which heuristics apply."
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Array of content items to audit."
              },
              "system": {
                "type": "string",
                "description": "Optional content-system id (e.g. 'ux-writing'); recorded for traceability."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Audit Content",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audit_typography",
          "description": "Audit the typographic SCALE of a rendered page (pass url) or a pre-collected snapshot of text nodes. Emits a focused report: (a) MODULAR SCALE — detects the dominant ratio (~1.2/1.25/1.333/1.5) across distinct font sizes and flags off-scale outliers; (b) LINE-HEIGHT CONSISTENCY — unitless lh/fs ratio per node, identifies the body rhythm and flags outliers; (c) WEIGHT LADDER — distinct weights, flags >4 weights or non-standard CSS values. Returns scale, line_height, weight_ladder, nodes_analyzed, and findings[{rule,severity,selector,message,fix}]. Goes beyond audit_page's pass/fail typography checks. NOTE: despite the mention of url above, url mode is DISABLED on this hosted (remote) endpoint - pass nodes instead. audit_typography url-capture is disabled on the hosted (remote) endpoint. Pass a 'nodes' snapshot instead of 'url'.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "url": {
                "type": "string",
                "description": "REJECTED on this hosted (remote) endpoint; pass nodes instead. (Local/stdio: URL to render and measure, http/https or file://; requires headless chromium.)"
              },
              "nodes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "selector",
                    "fontPx"
                  ],
                  "properties": {
                    "tag": {
                      "type": "string"
                    },
                    "text": {
                      "type": "string"
                    },
                    "fontPx": {
                      "type": "number"
                    },
                    "selector": {
                      "type": "string"
                    },
                    "fontWeight": {
                      "type": "number"
                    },
                    "lineHeightPx": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Pre-collected text nodes to analyze without rendering."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Audit Typography",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audit_tap_targets",
          "description": "WCAG 2.5.5 / Apple 44pt tap-target audit for the web. Collects every interactive element (a, button, [role=button], input[type=submit/button/checkbox/radio], select, summary, label[for], [onclick], [tabindex>=0]) and emits a PER-ELEMENT fix table for any whose rendered width or height is below the minimum (default 44px): selector, role, visible text, measured w/h, pixel deficit per axis, and a concrete CSS fix. Sorted worst-first. Two modes: pass url (renders in headless chromium, measures real getBoundingClientRect) or pass elements[] snapshot (pure, no browser).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "url": {
                "type": "string",
                "description": "URL to render and measure. Requires headless chromium."
              },
              "minSize": {
                "type": "number",
                "description": "Minimum tap-target size in px on each axis. Default 44."
              },
              "elements": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "selector",
                    "w",
                    "h"
                  ],
                  "properties": {
                    "h": {
                      "type": "number"
                    },
                    "w": {
                      "type": "number"
                    },
                    "x": {
                      "type": "number"
                    },
                    "y": {
                      "type": "number"
                    },
                    "role": {
                      "type": "string"
                    },
                    "text": {
                      "type": "string"
                    },
                    "selector": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Pre-collected interactive elements to score without rendering."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Audit Tap Targets",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_brand_system",
          "description": "Get a complete design system for building an app with branding like a specific company. Say 'Make me an app with branding like Spotify' and get the full token set, style guide, and implementation instructions. Matches against 12 known design systems and provides closest match with ready-to-use CSS.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "company"
            ],
            "properties": {
              "mode": {
                "enum": [
                  "light",
                  "dark"
                ],
                "type": "string",
                "description": "Color mode preference. Default: based on the system's primary mode"
              },
              "format": {
                "enum": [
                  "css",
                  "dtcg",
                  "guide"
                ],
                "type": "string",
                "description": "Output format: 'css' for CSS variables, 'dtcg' for W3C tokens, 'guide' for full implementation guide. Default: guide"
              },
              "company": {
                "type": "string",
                "description": "The company whose branding to use (e.g. 'Spotify', 'Stripe', 'Apple', 'Linear', 'Airbnb')"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get Brand System",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "generate_design_system",
          "description": "Generate a complete, custom design system with full token set. Provide a brand color to auto-generate a harmonious palette, pick a style preset, and export as visual HTML documentation, CSS variables, W3C DTCG JSON, Figma Variables, or SVG palette card. The HTML export is a beautiful, self-contained page suitable for sharing with stakeholders.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Name for the design system (e.g. 'Acme Corp', 'NightOwl')"
              },
              "style": {
                "enum": [
                  "minimal",
                  "bold",
                  "warm",
                  "corporate",
                  "playful",
                  "dark"
                ],
                "type": "string",
                "description": "Aesthetic direction — influences spacing, radii, shadows, motion, and typography. Default: minimal"
              },
              "format": {
                "enum": [
                  "html",
                  "css",
                  "dtcg",
                  "figma",
                  "svg",
                  "all"
                ],
                "type": "string",
                "description": "Export format: html (visual doc page), css (custom properties), dtcg (W3C JSON), figma (Figma Variables JSON), svg (color palette card), all. Default: html"
              },
              "dark_mode": {
                "type": "boolean",
                "description": "Generate dark mode tokens alongside light. Default: true"
              },
              "base_system": {
                "type": "string",
                "description": "Start from an existing system as foundation (e.g. 'stripe', 'linear'). Colors will be replaced by brand_color if provided."
              },
              "brand_color": {
                "type": "string",
                "description": "Primary brand hex color (e.g. '#FF6B35'). Auto-generates a full harmonious palette using color theory."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Generate Design System",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audit_layout",
          "description": "Evaluate visual rhythm from a rendered page's geometry. Call with no arguments to get a DevTools snippet to paste into your page — it prints {elements, viewport} JSON. Call again with that JSON to get alignment, gap-rhythm, and optical-balance scores. This is the complement to audit_page for things only visible once rendered.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "elements": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "selector",
                    "rect"
                  ],
                  "properties": {
                    "rect": {
                      "type": "object",
                      "required": [
                        "x",
                        "y",
                        "w",
                        "h"
                      ],
                      "properties": {
                        "h": {
                          "type": "number"
                        },
                        "w": {
                          "type": "number"
                        },
                        "x": {
                          "type": "number"
                        },
                        "y": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    },
                    "computed": {
                      "type": "object",
                      "properties": {
                        "gap": {
                          "type": "string"
                        },
                        "color": {
                          "type": "string"
                        },
                        "margin": {
                          "type": "string"
                        },
                        "padding": {
                          "type": "string"
                        },
                        "fontSize": {
                          "type": "string"
                        },
                        "background": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    "selector": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Array of element rects captured from the rendered page via the DevTools snippet"
              },
              "viewport": {
                "type": "object",
                "required": [
                  "w",
                  "h"
                ],
                "properties": {
                  "h": {
                    "type": "number"
                  },
                  "w": {
                    "type": "number"
                  }
                },
                "description": "Viewport dimensions {w,h} at capture time",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Audit Layout",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audit_swiftui",
          "description": "Audit SwiftUI source against Apple's Human Interface Guidelines. Flags hardcoded .font(.system(size:)) below ~13pt and tiny semantic fonts (.caption/.caption2), hardcoded Color(red:green:blue:)/hex instead of asset-catalog or semantic system colors, an empty/undefined AccentColor, interactive frames below 44×44pt, and ad-hoc spacing off the 4/8-pt grid. Rewards semantic Dynamic Type fonts, semantic system colors, SF Symbols, and flexible frames. iOS-native checks only — no web/CSS rules. Returns pass/fail per check with fix instructions. Taste-profile bindings are not available on the hosted (remote) endpoint (per-user state is a later phase). Omit 'project'/'profile' to run the stateless SwiftUI audit.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "source"
            ],
            "properties": {
              "source": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "SwiftUI source — a single file/view as a string, or an array of file contents. Concatenated before analysis."
              },
              "strict": {
                "type": "boolean",
                "description": "Strict mode — also count warnings as failures for grading. Default: false"
              },
              "profile": {
                "type": "string",
                "description": "Taste profile owning the binding. Omit to search all stored profiles for one bound to the project."
              },
              "project": {
                "type": "string",
                "description": "Project identifier — resolves a saved taste surface binding (see bind_taste_surface). When the binding carries design_notes, each note is verified against the source (animation/material/haptic/font APIs) and returned in note_assessments; missing notes count toward the grade."
              },
              "accent_color_contents": {
                "type": "string",
                "description": "Optional raw Contents.json of AccentColor.colorset. When provided, the tool verifies AccentColor actually defines color components (flags an empty/undefined accent color as an error)."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Audit Swiftui",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audit_screen",
          "description": "Audit a rendered mobile screen (iOS or Android) from a view-hierarchy/accessibility snapshot. Call with no arguments for the expected snapshot shape and how to capture it. Pass platform:\"android\" to score against the 48dp Material touch minimum and Material muted roles (onSurfaceVariant/outline = warn not fail); default platform:\"ios\" scores 44pt and treats secondaryLabel/tertiaryLabel as platform-standard. Both score touch targets, contrast, and visual rhythm (alignment, gap consistency, optical balance). Same return shape as audit_page. Taste-profile bindings are not available on the hosted (remote) endpoint (per-user state is a later phase). Omit 'project'/'profile' to run the stateless screen audit.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "profile": {
                "type": "string",
                "description": "Taste profile owning the binding. Omit to search all stored profiles for one bound to the project."
              },
              "project": {
                "type": "string",
                "description": "Project identifier — resolves a saved taste surface binding (see bind_taste_surface). When the binding carries design_notes and a screenshot is passed, the screenshot's pixels verify the color-scheme notes; results gain note_assessments."
              },
              "elements": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "rect"
                  ],
                  "properties": {
                    "rect": {
                      "type": "object",
                      "required": [
                        "x",
                        "y",
                        "w",
                        "h"
                      ],
                      "properties": {
                        "h": {
                          "type": "number"
                        },
                        "w": {
                          "type": "number"
                        },
                        "x": {
                          "type": "number"
                        },
                        "y": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    },
                    "role": {
                      "type": "string",
                      "description": "Accessibility role/trait, e.g. button, link, cell, staticText, image, tab, textField"
                    },
                    "label": {
                      "type": "string"
                    },
                    "fontPt": {
                      "type": "number",
                      "description": "Effective font point/dp size, if text"
                    },
                    "bgColor": {
                      "type": "string",
                      "description": "Background color behind this element — hex, rgb(), or semantic name"
                    },
                    "fgColor": {
                      "type": "string",
                      "description": "Foreground color — hex (#1c1c1e), rgb(), or a platform semantic name ('secondaryLabel' iOS / 'onSurfaceVariant' Android)"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Elements captured from the rendered screen via an accessibility/view-hierarchy snapshot"
              },
              "platform": {
                "enum": [
                  "ios",
                  "android"
                ],
                "type": "string",
                "description": "Target platform — 'ios' (default, 44pt minimum, iOS semantic colors) or 'android' (48dp minimum, Material semantic roles)"
              },
              "viewport": {
                "type": "object",
                "required": [
                  "w",
                  "h"
                ],
                "properties": {
                  "h": {
                    "type": "number"
                  },
                  "w": {
                    "type": "number"
                  }
                },
                "description": "Screen size in pt (iOS) or dp (Android) at capture time, e.g. {w:393,h:852} iPhone 15, {w:412,h:915} Pixel",
                "additionalProperties": false
              },
              "screenshot": {
                "type": "string",
                "description": "Optional base64 PNG of the screen, for the caller's reference. Geometry is scored from the snapshot, not decoded pixels."
              },
              "scroll_settle": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Audit Screen",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audit_ios_screen",
          "description": "Audit a rendered iOS screen from a view-hierarchy/accessibility snapshot (and optional screenshot). Alias of audit_screen with platform:\"ios\". Call with no arguments for the expected snapshot shape. Call with {elements:[{label,rect:{x,y,w,h},role,fontPt,fgColor,bgColor}],viewport:{w,h}} to score 44×44pt touch targets, contrast (with iOS secondaryLabel/tertiaryLabel treated as platform-standard — warn not fail), and visual rhythm (alignment, gap consistency, optical balance) in points. Same return shape as audit_page. Taste-profile bindings are not available on the hosted (remote) endpoint (per-user state is a later phase). Omit 'project'/'profile' to run the stateless iOS screen audit.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "profile": {
                "type": "string",
                "description": "Taste profile owning the binding. Omit to search all stored profiles for one bound to the project."
              },
              "project": {
                "type": "string",
                "description": "Project identifier — resolves a saved taste surface binding (see bind_taste_surface). When the binding carries design_notes and a screenshot is passed, the screenshot's pixels verify the color-scheme notes; results gain note_assessments."
              },
              "elements": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "rect"
                  ],
                  "properties": {
                    "rect": {
                      "type": "object",
                      "required": [
                        "x",
                        "y",
                        "w",
                        "h"
                      ],
                      "properties": {
                        "h": {
                          "type": "number"
                        },
                        "w": {
                          "type": "number"
                        },
                        "x": {
                          "type": "number"
                        },
                        "y": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    },
                    "role": {
                      "type": "string",
                      "description": "Accessibility role/trait, e.g. button, link, cell, staticText, image, tab, textField"
                    },
                    "label": {
                      "type": "string"
                    },
                    "fontPt": {
                      "type": "number",
                      "description": "Effective font point/dp size, if text"
                    },
                    "bgColor": {
                      "type": "string",
                      "description": "Background color behind this element — hex, rgb(), or semantic name"
                    },
                    "fgColor": {
                      "type": "string",
                      "description": "Foreground color — hex (#1c1c1e), rgb(), or a platform semantic name ('secondaryLabel' iOS / 'onSurfaceVariant' Android)"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Elements captured from the rendered screen via an accessibility/view-hierarchy snapshot"
              },
              "viewport": {
                "type": "object",
                "required": [
                  "w",
                  "h"
                ],
                "properties": {
                  "h": {
                    "type": "number"
                  },
                  "w": {
                    "type": "number"
                  }
                },
                "description": "Screen size in pt (iOS) or dp (Android) at capture time, e.g. {w:393,h:852} iPhone 15, {w:412,h:915} Pixel",
                "additionalProperties": false
              },
              "screenshot": {
                "type": "string",
                "description": "Optional base64 PNG of the screen, for the caller's reference. Geometry is scored from the snapshot, not decoded pixels."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Audit iOS Screen",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audit_ios_privacy",
          "description": "Audit an iOS or React Native/Expo app's privacy posture for App Review and user trust. Reads a native Info.plist XML OR an Expo app.json (managed Expo apps have no Info.plist) — plus optional PRIVACY.md, entitlements, and source. Flags: NS*UsageDescription strings that are vague/missing or contradict the code (e.g. a HealthKit write claim the code never fulfills), entitlements/permissions and Android permissions the app doesn't use, ATS cleartext exceptions and non-HTTPS endpoints, secrets/keys shipped in the bundle or app.json, and default data-egress paths not disclosed at the point of choice (a pre-selected 'Recommended' option that silently sends personal data to a server). Same return shape as audit_page.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "source": {
                "type": "string",
                "description": "Optional concatenated source (Swift or JS/TS) — enables code-vs-declaration contradiction checks and default-egress detection"
              },
              "app_json": {
                "type": "string",
                "description": "Expo app.json / app.config JSON (managed RN). Its expo.ios.infoPlist, expo.android.permissions, plugins, and extra are audited."
              },
              "info_plist": {
                "type": "string",
                "description": "Raw Info.plist XML (native iOS / bare RN). Provide this OR app_json."
              },
              "privacy_md": {
                "type": "string",
                "description": "Optional PRIVACY.md / privacy policy text to cross-reference against declared permissions and default behavior"
              },
              "entitlements": {
                "type": "string",
                "description": "Optional .entitlements XML"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Audit iOS Privacy",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audit_rn",
          "description": "Audit React Native / Expo source (JSX/TSX + StyleSheet) against the iOS HIG + Android Material conventions RN must satisfy. Flags touchables missing accessibilityLabel/accessibilityRole, touchables below 44pt without hitSlop, allowFontScaling={false}, fontSize below ~13, screens without SafeAreaView, and (for multi-mode apps) hardcoded colors with no useColorScheme/Appearance dark-mode handling. Rewards SafeAreaView, hitSlop, Platform-aware code, and a theme. RN-native checks only — no web/CSS or SwiftUI rules. Same return shape as audit_page. (RN renders to native widgets, so audit_ios_screen scores the rendered screen.) Taste-profile bindings are not available on the hosted (remote) endpoint (per-user state is a later phase). Omit 'project'/'profile' to run the stateless React Native audit.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "source"
            ],
            "properties": {
              "source": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "React Native source — a single screen/component as a string, or an array of file contents. Concatenated before analysis."
              },
              "strict": {
                "type": "boolean",
                "description": "Strict mode — also count warnings as failures for grading. Default: false"
              },
              "profile": {
                "type": "string",
                "description": "Taste profile owning the binding. Omit to search all stored profiles for one bound to the project."
              },
              "project": {
                "type": "string",
                "description": "Project identifier — resolves a saved taste surface binding (see bind_taste_surface). When the binding carries design_notes, each note is verified against the source (Animated/Reanimated, BlurView, haptics, fonts) and returned in note_assessments; missing notes count toward the grade."
              },
              "color_scheme": {
                "enum": [
                  "light",
                  "dark",
                  "automatic"
                ],
                "type": "string",
                "description": "The app's declared appearance (Expo app.json userInterfaceStyle). 'light' or 'dark' means single-mode by design — the dark-mode adaptation check is then suppressed. Default: automatic."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Audit React Native",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_content_systems",
          "description": "Browse available content design systems — brand voice and tone guides (Conversational Product Voice, GOV.UK, Shopify Polaris, Atlassian). Filter by category or search by name.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "search": {
                "type": "string",
                "description": "Search by name, description, or tag"
              },
              "category": {
                "type": "string",
                "description": "Filter by category: commerce-saas, government, marketing-saas, productivity-saas"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "List Content Systems",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_content_system",
          "description": "Get a brand's content design system — voice attributes, tone shifts by context, vocabulary (use/avoid/never), grammar rules, content patterns for errors/empty-states/buttons/etc., and inclusive language guidance.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "Content system ID (e.g. 'conversational-product-voice', 'gov-uk', 'shopify-polaris', 'atlassian')"
              },
              "section": {
                "enum": [
                  "all",
                  "voice",
                  "tone_shifts",
                  "vocabulary",
                  "grammar",
                  "content-patterns",
                  "inclusive-language"
                ],
                "type": "string",
                "description": "Return just one section. Default: all."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get Content System",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_content_principles",
          "description": "Get UX-writing principles — clarity over cleverness, active voice, error-message anatomy, inclusive language, voice vs tone, and more. Filter by the writing context (e.g. 'error messages', 'notifications', 'form labels').",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "format": {
                "enum": [
                  "full",
                  "checklist",
                  "brief"
                ],
                "type": "string",
                "description": "Output format: full (all details), checklist (implications + violations), brief (just summary). Default: full"
              },
              "context": {
                "type": "string",
                "description": "What you're writing for (e.g. 'error messages', 'onboarding copy', 'empty state', 'notification'). Omit to get all UX-writing principles."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get Content Principles",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_content_pattern",
          "description": "Get content design patterns — copy recipes for error messages, empty-state copy, notifications, and form validation. Returns do's, don'ts, good/bad examples, evidence, and a checklist.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "enum": [
                  "error-messages",
                  "empty-state-copy",
                  "notifications",
                  "form-validation"
                ],
                "type": "string",
                "description": "Content pattern type"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get Content Pattern",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_research_method",
          "description": "Get research method details — qualitative (interviews, contextual inquiry, diary, field, intercept), quantitative (surveys, analytics, A/B tests, benchmarking, clickstream), or usability (moderated, unmoderated, 5-second, card sort, tree test, heuristic eval). Returns specific protocols, do/don't guidance, evidence, and a checklist. Use when the user is designing a study or asking how to measure something.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "search": {
                "type": "string",
                "description": "Search within methods by name or description."
              },
              "category": {
                "enum": [
                  "qualitative",
                  "quantitative",
                  "usability",
                  "all"
                ],
                "type": "string",
                "description": "Which family of methods. Default: all."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get Research Method",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_metrics_framework",
          "description": "Get a product-metrics framework — HEART (Google), AARRR/Pirate (Dave McClure), North Star Metric, Conversion Funnel, RICE Scoring, or OKRs. Returns structure, when-to-use, pitfalls, and examples. Use when the user asks 'how should we measure success?' or 'what metrics should we track?'",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "type": "string",
                "description": "Framework id (heart, aarrr, north-star-metric, conversion-funnel, rice-scoring, okrs). Omit to list all."
              },
              "search": {
                "type": "string",
                "description": "Search for a framework by name or summary."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get Metrics Framework",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_service_pattern",
          "description": "Get a service design pattern — service blueprinting, human handoff, signup-as-service, omnichannel continuity, or moments of truth / recovery. Returns patterns, do/don't guidance, evidence, and a checklist. Use when the user is designing a service flow, escalation, cross-channel experience, or moment of truth.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "enum": [
                  "service-blueprinting",
                  "human-handoff",
                  "signup-as-service",
                  "omnichannel-continuity",
                  "moments-of-truth"
                ],
                "type": "string",
                "description": "Service design pattern type"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get Service Pattern",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_service_standard",
          "description": "Get the GOV.UK Service Standard — 14 points the UK government uses to assess whether a public service is ready to launch. Widely applicable as a rigorous service-quality checklist beyond government. Use when the user asks how to evaluate a whole service.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "title": "Get Service Standard",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "generate_service_blueprint",
          "description": "Render a service blueprint as a self-contained HTML page. Supports two modes: (1) classic Shostack single-actor blueprint — user action, frontstage, backstage, support, evidence, pain/delight; (2) two-actor HI-loop blueprint — when `actors` is supplied, renders two swim lanes with a line of interaction between them (e.g. customer ↔ lawyer, patient ↔ doctor, buyer ↔ agent). Each actor gets their own actions, frontstage (what they see), and evidence. Optionally accepts an ideal-state to render side-by-side with the current state.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "service_name",
              "current"
            ],
            "properties": {
              "ideal": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "label"
                  ],
                  "properties": {
                    "label": {
                      "type": "string"
                    },
                    "actor_b": {
                      "type": "object",
                      "properties": {
                        "action": {
                          "type": "string"
                        },
                        "evidence": {
                          "type": "string"
                        },
                        "frontstage": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    "delight": {
                      "type": "string"
                    },
                    "support": {
                      "type": "string"
                    },
                    "evidence": {
                      "type": "string"
                    },
                    "backstage": {
                      "type": "string"
                    },
                    "frontstage": {
                      "type": "string"
                    },
                    "pain_point": {
                      "type": "string"
                    },
                    "user_action": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Optional ideal-state blueprint — if provided, output shows current AND ideal side-by-side"
              },
              "actors": {
                "type": "object",
                "required": [
                  "b"
                ],
                "properties": {
                  "a": {
                    "type": "object",
                    "required": [
                      "label"
                    ],
                    "properties": {
                      "label": {
                        "type": "string"
                      }
                    },
                    "description": "Actor A label (default: 'User'). Use when you want to name the first side (e.g. 'Customer', 'Patient').",
                    "additionalProperties": false
                  },
                  "b": {
                    "type": "object",
                    "required": [
                      "label"
                    ],
                    "properties": {
                      "label": {
                        "type": "string"
                      }
                    },
                    "description": "Actor B label (e.g. 'Lawyer', 'Doctor', 'Agent'). Presence of this field switches to two-actor layout.",
                    "additionalProperties": false
                  }
                },
                "description": "Omit for classic single-actor Shostack blueprint. Provide to render a two-swim-lane HI-loop blueprint with a line of interaction between the two sides.",
                "additionalProperties": false
              },
              "current": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "label"
                  ],
                  "properties": {
                    "label": {
                      "type": "string",
                      "description": "Step label (e.g. 'Discover', 'Sign up', 'First use')"
                    },
                    "actor_b": {
                      "type": "object",
                      "properties": {
                        "action": {
                          "type": "string",
                          "description": "What actor B does in this step"
                        },
                        "evidence": {
                          "type": "string",
                          "description": "Artifact actor B has — case file, notes, record"
                        },
                        "frontstage": {
                          "type": "string",
                          "description": "What actor B sees — their own UI, tools, views"
                        }
                      },
                      "description": "Only used when `actors.b` is provided. Captures the other side of the interaction.",
                      "additionalProperties": false
                    },
                    "delight": {
                      "type": "string",
                      "description": "Designed moment of delight at this step (shown as green callout)"
                    },
                    "support": {
                      "type": "string",
                      "description": "Supporting processes, systems, third-party dependencies"
                    },
                    "evidence": {
                      "type": "string",
                      "description": "In single-actor: artifact user receives. In two-actor: artifact actor A has."
                    },
                    "backstage": {
                      "type": "string",
                      "description": "What neither actor sees directly — shared systems, internal processes, back-office work"
                    },
                    "frontstage": {
                      "type": "string",
                      "description": "In single-actor: what the user SEES (UI, agent greeting). In two-actor: what actor A sees."
                    },
                    "pain_point": {
                      "type": "string",
                      "description": "Known pain point at this step (shown as red callout)"
                    },
                    "user_action": {
                      "type": "string",
                      "description": "In single-actor: what the user does. In two-actor: what actor A does."
                    }
                  },
                  "additionalProperties": false
                },
                "description": "The current-state blueprint as an array of steps"
              },
              "subtitle": {
                "type": "string",
                "description": "Short description or context line under the title"
              },
              "service_name": {
                "type": "string",
                "description": "Name of the service (e.g. 'Free trial signup', 'Client intake', 'Restaurant reservation')"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Generate Service Blueprint",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_brand_principles",
          "description": "Get brand and visual-design principles — logo usage (clear space, min sizes, variants, placement, restraint), gradient usage (hierarchy, palette, contrast, trend vs signature), imagery (consistency, representation, purpose), visual hierarchy, and brand-as-system thinking. Use when the user asks about branding, logos, gradients, imagery, visual consistency, or how to treat a brand across surfaces.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "topic": {
                "type": "string",
                "description": "Filter by topic: 'logo', 'gradient', 'imagery', 'hierarchy', 'system', or a freeform search term. Omit to return all brand principles."
              },
              "format": {
                "enum": [
                  "full",
                  "checklist",
                  "brief"
                ],
                "type": "string",
                "description": "Output format. Default: full."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get Brand Principles",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_brand_trends",
          "description": "Get current brand and visual-design trends — what's working in 2026 and where each trend fits or fails. Includes bento grids, monospace type, neon-on-dark-glass, generative patterns, brutalism rebound, AI-generated imagery, lowercase/mixed case. Each trend is time-stamped — treat as a calibration signal, not a prescription.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "title": "Get Brand Trends",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_creative_models",
          "description": "Browse Raven's provider-agnostic creative model catalog. These are capability slots for image, video, 3D, audio, character consistency, and creative analysis. Each entry lists typical inputs and best-for guidance.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "capability": {
                "type": "string",
                "description": "Filter by capability, e.g. product-photoshoot, text-to-video, brand-kit, ugc-ad."
              },
              "media_type": {
                "enum": [
                  "image",
                  "video",
                  "audio",
                  "3d",
                  "campaign",
                  "analysis"
                ],
                "type": "string",
                "description": "Filter by media type."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "List Creative Models",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_creative_presets",
          "description": "Browse Raven creative presets for product photoshoots, marketplace cards, UGC ads, TV spots, cinematic reveals, social launch packs, storyboards, and infographics.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "search": {
                "type": "string",
                "description": "Search preset name or description."
              },
              "media_type": {
                "enum": [
                  "image",
                  "video",
                  "campaign"
                ],
                "type": "string",
                "description": "Filter presets by media type."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "List Creative Presets",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "score_creative",
          "description": "Score a creative prompt, script, or ad concept for hook strength, benefit clarity, product signal, call-to-action, channel fit, audience fit, and brand fit. This is a transparent heuristic, not a proprietary prediction model. Local brand profiles are not available on the hosted (remote) endpoint (per-user state is a later phase). Omit 'brand_profile_id' to score the pasted creative statelessly.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "creative_text"
            ],
            "properties": {
              "channel": {
                "type": "string",
                "description": "Target channel."
              },
              "audience": {
                "type": "string",
                "description": "Target audience if not in a brand profile."
              },
              "creative_text": {
                "type": "string",
                "description": "Prompt, script, ad copy, or creative concept to score."
              },
              "brand_profile_id": {
                "type": "string",
                "description": "Local Raven brand profile ID."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Score Creative",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audit_consistency",
          "description": "Audit multiple pages for cross-page consistency of content-container width and hero heading tier. Pass ≥2 pages ({name, html}) collected from different routes on the same site. Infers the canonical (modal) value from the corpus when no token is supplied, so you need not know the project's design token in advance. Flags the issue #9 single-blob blind spot: pages that each pass audit_page but silently disagree with each other on container width or hero size class. Returns per-page extraction (container_px, container_classes, hero_classes, signatures), consistency dimensions with reference values, outlier page names, issues[], score (100/50/0 → A/C/D), and a plain-text summary. Pure offline — no browser, no network.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "pages"
            ],
            "properties": {
              "pages": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "html"
                  ],
                  "properties": {
                    "html": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Full HTML source for the page, including any <style> blocks."
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Page route or label (e.g. \"/\", \"/changelog\", \"get-started\")."
                    }
                  },
                  "additionalProperties": false
                },
                "minItems": 2,
                "description": "At least 2 pages to compare. Each entry is {name, html}."
              },
              "hero_token": {
                "type": "string",
                "description": "Canonical hero heading class signature (e.g. \"text-display-xl\" or \"64\"). When supplied, hero divergence is measured against this token rather than the corpus modal."
              },
              "container_token": {
                "type": "number",
                "description": "Project's canonical container width in px (e.g. 1152). When supplied, container divergence is measured against this token rather than the corpus modal."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Audit Consistency",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "audit_video_playback",
          "description": "Render a page in headless Chromium and observe whether each <video> actually advances (samples currentTime before/after a play attempt), classifying every clip into playing|paused|stalled|empty|error with a reason. Catches black/non-playing videos that static audits miss — the most common real-world defect on marketing sites with video backgrounds. Pass url to render + observe, or dom_snapshot to classify pre-collected observations without a browser.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "url": {
                "type": "string",
                "description": "URL to render and observe (http/https or file://). Requires headless chromium."
              },
              "observeMs": {
                "type": "number",
                "description": "Milliseconds to wait between currentTime samples after play() attempt. Default: 1000"
              },
              "dom_snapshot": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "selector",
                    "hasSource",
                    "readyState",
                    "networkState",
                    "errorCode",
                    "paused",
                    "autoplayBlocked",
                    "currentTimeStart",
                    "currentTimeEnd"
                  ],
                  "properties": {
                    "paused": {
                      "type": "boolean",
                      "description": "True if the element is paused"
                    },
                    "selector": {
                      "type": "string",
                      "description": "CSS selector identifying the video element"
                    },
                    "errorCode": {
                      "type": "number",
                      "description": "MediaError.code (0=none, 1=aborted, 2=network, 3=decode, 4=src-not-supported)"
                    },
                    "hasSource": {
                      "type": "boolean",
                      "description": "True if currentSrc is non-empty OR the element has a src attribute or <source> child"
                    },
                    "readyState": {
                      "type": "number",
                      "description": "HTMLMediaElement.readyState (0..4)"
                    },
                    "networkState": {
                      "type": "number",
                      "description": "HTMLMediaElement.networkState (0..3; 3=NETWORK_NO_SOURCE)"
                    },
                    "currentTimeEnd": {
                      "type": "number",
                      "description": "currentTime recorded after the observe window"
                    },
                    "autoplayBlocked": {
                      "type": "boolean",
                      "description": "True if play() was rejected with NotAllowedError"
                    },
                    "currentTimeStart": {
                      "type": "number",
                      "description": "currentTime recorded before the play attempt"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Pre-collected video observations to classify without rendering (deterministic path)"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Audit Video Playback",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": [
        {
          "name": "preen",
          "description": "Full grooming pass: mechanical scan, taste audit, and a fix-verification loop.",
          "arguments": [
            {
              "name": "profile",
              "required": false,
              "description": "Taste profile name (see list_taste_profiles). Omit to run this call uncalibrated."
            },
            {
              "name": "project",
              "required": false,
              "description": "Project/surface name (see bind_taste_surface). Resolves this project's taste calibration when present."
            }
          ]
        },
        {
          "name": "appraise",
          "description": "Structured critique against the caller's own taste portrait, findings ranked by recorded priorities.",
          "arguments": [
            {
              "name": "profile",
              "required": false,
              "description": "Taste profile name (see list_taste_profiles). Omit to run this call uncalibrated."
            },
            {
              "name": "project",
              "required": false,
              "description": "Project/surface name (see bind_taste_surface). Resolves this project's taste calibration when present."
            }
          ]
        },
        {
          "name": "cadence",
          "description": "Type and rhythm pass: typography audit against Raven's typography principles.",
          "arguments": [
            {
              "name": "profile",
              "required": false,
              "description": "Taste profile name (see list_taste_profiles). Omit to run this call uncalibrated."
            },
            {
              "name": "project",
              "required": false,
              "description": "Project/surface name (see bind_taste_surface). Resolves this project's taste calibration when present."
            }
          ]
        },
        {
          "name": "plumage",
          "description": "Color-system pass: contrast plus palette-discipline guidance from Raven's color principles.",
          "arguments": [
            {
              "name": "profile",
              "required": false,
              "description": "Taste profile name (see list_taste_profiles). Omit to run this call uncalibrated."
            },
            {
              "name": "project",
              "required": false,
              "description": "Project/surface name (see bind_taste_surface). Resolves this project's taste calibration when present."
            }
          ]
        },
        {
          "name": "truesight",
          "description": "Mechanical-only report: deterministic findings, no taste or subjective judgment.",
          "arguments": [
            {
              "name": "profile",
              "required": false,
              "description": "Taste profile name (see list_taste_profiles). Omit to run this call uncalibrated."
            },
            {
              "name": "project",
              "required": false,
              "description": "Project/surface name (see bind_taste_surface). Resolves this project's taste calibration when present."
            }
          ]
        }
      ]
    },
    "instructions": "Raven is a design-intelligence server: audits (page/layout/screen/contrast/tap-targets/typography/consistency), design systems and tokens, brand/content/service-design knowledge, creative scoring, and a Taste Engine that makes a person's design judgment portable and growable.\n\nPROJECT KICKOFF — calibrate taste BEFORE the first design work. Taste is per-surface: the same person wants different rules on a monochrome portfolio than on a product site, and a different voice on each. At the START of a new project (or the first design/copy/UI work in any project), if a taste profile exists (list_taste_profiles), call get_taste_interview with the profile and a project name (mode defaults to 'kickoff', depth defaults to 'first_run'). If it returns existing_binding: null, ask the user just its 6 core `questions` conversationally — identity, customer (who it is for, what they are trying to do when they arrive, what would make them leave — stored as design_notes.customer), genesis (kickoff is when a project comes into existence: what already exists — a brand, a design system, brand assets — and what should be generated), aesthetic (how it should read here — multiple-choice options given), voice (three register examples so the user can pick by ear), and matchers (which URL hosts identify the project) — then persist with bind_taste_surface and proceed; when genesis says the user has no design system, the generation route is generate_mood_board (an approval stop — pass their own images via image_paths), then generate_design_system with save:true, then init_design_md, and an existing system is consumed via configure_design_system_source or base_system instead; offer the returned `more_questions` (typography/spacing/color/layout/motion/imagery/entrance/loading/navigation/libraries, references, per-rule overrides, the open-ended special question) as OPTIONAL deeper calibration rather than asking them all upfront, or re-run with depth:'full' if the user wants the complete interview at once. Dimension answers go in design_notes and are echoed in every audit. A cold-start project with no profile at all can start from create_taste_profile({ name, template: 'portfolio'|'saas-marketing'|'app' }) for a small sensible starter ruleset before the first interview even runs. The interview is a blocking gate: collect the user's answers before committing any design direction, palette, type choice, or name — never answer its questions yourself or start design work while it is pending. Every question carries skippable + priority (core|extended); skipping is fine but leaves that item uncalibrated. A 'references' question takes example links/screenshots and interviews what specifically the person likes about each. The interview ends with an open-ended 'special' question (textures, signature details, motifs — stored as design_notes.special) that suggests the person's choices from their other bound surfaces once it has them. From then on pass project:'<name>' on every audit_taste — bindings also auto-match by URL hostname in url mode. When the surface is a website to be built, suggest building it as a Next.js app by default; if the user prefers another stack, record it in design_notes.libraries. Do NOT wait for an audit to return a calibration_hint; that is the reactive backstop, not the intended flow.\n\nWhen a user dislikes generated/designed output on an ALREADY-calibrated project, that dissatisfaction is a calibration signal, not a dead end — re-run get_taste_interview with mode:'refine' (it re-interviews against the stored binding: what fell short, then each stored design_notes value to keep/tighten/replace, then voice, then an optional reject precedent) and re-bind with bind_taste_surface.\n\nLEARNING LOOP — whenever the user makes, approves, or corrects a taste, direction, or design decision during work (not just at interview time), record it with record_taste_decision: the project, a short dimension name, what was chosen, what was rejected, why, and whether it"
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}