← Glance

Glance 1.1.0

npm · glance-mcp · current release

32
Tools
0
Resources
0
Templates
0
Prompts

Observation

Observed 2026-08-15T19:54:16.775Z using mcpSecurity-inventory. Status: succeeded. Negotiated protocol: 2025-06-18.

Server capabilities
{
  "tools": {
    "listChanged": true
  }
}

Tools 32

ToolCategoryAnnotationsRisk
browser_click
Input schema
{
  "type": "object",
  "properties": {
    "selector": {
      "type": "string",
      "description": "CSS selector or text to click"
    }
  },
  "required": [
    "selector"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
browser_close
Input schema
{
  "type": "object",
  "properties": {
    "tabId": {
      "type": "string",
      "description": "Tab ID to close (defaults to active tab)"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
browser_console_messages
Input schema
{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "Filter by message type: log, error, warning, info"
    },
    "clear": {
      "type": "boolean",
      "description": "Clear messages after reading"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
browser_drag
Input schema
{
  "type": "object",
  "properties": {
    "sourceSelector": {
      "type": "string",
      "description": "CSS selector of drag source"
    },
    "targetSelector": {
      "type": "string",
      "description": "CSS selector of drop target"
    }
  },
  "required": [
    "sourceSelector",
    "targetSelector"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
browser_evaluate
Input schema
{
  "type": "object",
  "properties": {
    "script": {
      "type": "string",
      "description": "JavaScript code to execute in the browser context"
    }
  },
  "required": [
    "script"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
browser_go_back
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {}
}
— · —
browser_go_forward
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {}
}
— · —
browser_hover
Input schema
{
  "type": "object",
  "properties": {
    "selector": {
      "type": "string",
      "description": "CSS selector to hover over"
    }
  },
  "required": [
    "selector"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
browser_navigate
Input schema
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "URL to navigate to"
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
browser_network_requests
Input schema
{
  "type": "object",
  "properties": {
    "method": {
      "type": "string",
      "description": "Filter by HTTP method (GET, POST, etc.)"
    },
    "urlPattern": {
      "type": "string",
      "description": "Filter by URL substring"
    },
    "clear": {
      "type": "boolean",
      "description": "Clear requests after reading"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
browser_press_key
Input schema
{
  "type": "object",
  "properties": {
    "key": {
      "type": "string",
      "description": "Key to press (e.g., Enter, Tab, Escape, ArrowDown)"
    }
  },
  "required": [
    "key"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
browser_screenshot
Input schema
{
  "type": "object",
  "properties": {
    "fullPage": {
      "type": "boolean",
      "description": "Capture full page (default: viewport only)"
    },
    "selector": {
      "type": "string",
      "description": "CSS selector to screenshot specific element"
    },
    "savePath": {
      "type": "string",
      "description": "Custom save path (default: auto-generated in sessions dir)"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
browser_scroll
Input schema
{
  "type": "object",
  "properties": {
    "selector": {
      "type": "string",
      "description": "CSS selector to scroll into view"
    },
    "direction": {
      "type": "string",
      "enum": [
        "up",
        "down",
        "left",
        "right"
      ],
      "description": "Scroll direction"
    },
    "pixels": {
      "type": "number",
      "description": "Number of pixels to scroll (default 300)"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
browser_select_option
Input schema
{
  "type": "object",
  "properties": {
    "selector": {
      "type": "string",
      "description": "CSS selector of the select element"
    },
    "value": {
      "type": "string",
      "description": "Value to select"
    }
  },
  "required": [
    "selector",
    "value"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
browser_snapshot
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {}
}
— · —
browser_tab_list
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {}
}
— · —
browser_tab_new
Input schema
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "URL to open in new tab"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
browser_tab_select
Input schema
{
  "type": "object",
  "properties": {
    "tabId": {
      "type": "string",
      "description": "Tab ID to switch to (first 8 chars or full UUID)"
    }
  },
  "required": [
    "tabId"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
browser_type
Input schema
{
  "type": "object",
  "properties": {
    "selector": {
      "type": "string",
      "description": "CSS selector of the input element"
    },
    "value": {
      "type": "string",
      "description": "Text to type into the element"
    }
  },
  "required": [
    "selector",
    "value"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
session_end
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {}
}
— · —
session_list
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {}
}
— · —
session_replay
Input schema
{
  "type": "object",
  "properties": {
    "sessionId": {
      "type": "string",
      "description": "Session ID (first 8 chars or full UUID)"
    }
  },
  "required": [
    "sessionId"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
session_start
Input schema
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Optional session name"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
test_assert
Input schema
{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "exists",
        "notExists",
        "textContains",
        "textEquals",
        "hasAttribute",
        "hasClass",
        "isVisible",
        "isEnabled",
        "urlContains",
        "urlEquals",
        "countEquals",
        "consoleNoErrors"
      ],
      "description": "Assertion type"
    },
    "selector": {
      "type": "string",
      "description": "CSS selector"
    },
    "expected": {
      "type": [
        "string",
        "number"
      ],
      "description": "Expected value"
    },
    "attribute": {
      "type": "string",
      "description": "Attribute name (for hasAttribute)"
    }
  },
  "required": [
    "type"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
test_auth_flow
Input schema
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Login page URL"
    },
    "usernameSelector": {
      "type": "string",
      "description": "CSS selector for username/email input"
    },
    "usernameValue": {
      "type": "string",
      "description": "Username or email"
    },
    "passwordSelector": {
      "type": "string",
      "description": "CSS selector for password input"
    },
    "passwordValue": {
      "type": "string",
      "description": "Password"
    },
    "submitSelector": {
      "type": "string",
      "description": "CSS selector for submit/login button"
    },
    "waitForSelector": {
      "type": "string",
      "description": "Wait for this element after login"
    },
    "waitForUrl": {
      "type": "string",
      "description": "Wait for URL to match after login"
    }
  },
  "required": [
    "url",
    "usernameSelector",
    "usernameValue",
    "passwordSelector",
    "passwordValue",
    "submitSelector"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
test_fill_form
Input schema
{
  "type": "object",
  "properties": {
    "fields": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "selector": {
            "type": "string",
            "description": "CSS selector of the form field"
          },
          "value": {
            "type": "string",
            "description": "Value to fill"
          },
          "type": {
            "type": "string",
            "enum": [
              "text",
              "select",
              "checkbox",
              "radio"
            ],
            "description": "Field type (default: text)"
          }
        },
        "required": [
          "selector",
          "value"
        ],
        "additionalProperties": false
      },
      "description": "Array of form fields to fill"
    }
  },
  "required": [
    "fields"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
test_scenario_run
Input schema
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Scenario name"
    },
    "baseUrl": {
      "type": "string",
      "description": "Base URL (e.g., http://localhost:3000)"
    },
    "steps": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "action": {
            "type": "string",
            "enum": [
              "navigate",
              "click",
              "type",
              "select",
              "hover",
              "scroll",
              "press",
              "waitForSelector",
              "waitForText",
              "waitForNavigation",
              "waitForNetworkIdle",
              "assert",
              "screenshot",
              "evaluate",
              "sleep"
            ]
          },
          "selector": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "pixels": {
            "type": "number"
          },
          "timeout": {
            "type": "number"
          },
          "type": {
            "type": "string",
            "enum": [
              "exists",
              "notExists",
              "textContains",
              "textEquals",
              "hasAttribute",
              "hasClass",
              "isVisible",
              "isEnabled",
              "urlContains",
              "urlEquals",
              "countEquals",
              "consoleNoErrors"
            ]
          },
          "expected": {
            "type": [
              "string",
              "number"
            ]
          },
          "attribute": {
            "type": "string"
          },
          "script": {
            "type": "string"
          },
          "ms": {
            "type": "number"
          },
          "screenshotName": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "action"
        ],
        "additionalProperties": false
      },
      "description": "Array of test steps to execute"
    }
  },
  "required": [
    "name",
    "steps"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
test_scenario_status
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {}
}
— · —
test_stop_watch
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {}
}
— · —
test_watch_events
Input schema
{
  "type": "object",
  "properties": {
    "events": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "dom:mutation",
          "network:request",
          "network:response",
          "console:error",
          "console:warn",
          "navigation",
          "dialog"
        ]
      },
      "description": "Event types to watch"
    },
    "urlPattern": {
      "type": "string",
      "description": "Filter network events by URL pattern"
    },
    "maxEvents": {
      "type": "number",
      "description": "Maximum events to capture (default: 1000)"
    }
  },
  "required": [
    "events"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
visual_baseline
Input schema
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Baseline name (e.g., \"homepage\", \"login-form\")"
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —
visual_compare
Input schema
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Baseline name to compare against"
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
— · —

Resources 0

Resource templates 0

Prompts 0

Let’s talk about MCP security.

Share your details and our security team will contact you.