Skip to main content
Glama

Google Lens

google_lens
Read-only

Analyze images using Google Lens. Upload an image URL to get visual matches, product identification, text extraction, and exact match detection. Supports refining results with a text query for search types: all and visual_matches.

Required: url (a publicly accessible image URL).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoOptional text query to refine image search results. Only works with search_type: all or visual_matches.
urlYesPublic URL of the image to analyze. Required.
cropNoCrop region as left;top;right;bottom with normalized 0-1 coordinates (e.g., '0.1;0.2;0.6;0.8'). Searches only the specified region of the image.
countryNoCountry code for localized results (e.g., 'us', 'gb'). Uses ISO 3166-1 alpha-2 format.
safe_searchNoSafe search filtering. 'active' enables strict filtering, 'blur' blurs explicit content (default), 'off' disables filtering.
search_typeNoType of lens analysis. 'all' for general analysis, 'visual_matches' for similar images (some carry price and stock), 'exact_matches' for identical images. Default: all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / q / description
      Previous value: -"Optional text query to refine image search results. Only works with search_type: all, visual_matches, or products."New value: +"Optional text query to refine image search results. Only works with search_type: all or visual_matches."
    • changedInput schema / properties / search_type / description
      Previous value: -"Type of lens analysis. 'all' for general analysis, 'visual_matches' for similar images, 'products' for shopping, 'exact_matches' for identical images. Default: all."New value: +"Type of lens analysis. 'all' for general analysis, 'visual_matches' for similar images (some carry price and stock), 'exact_matches' for identical images. Default: all."
    • changedInput schema / properties / search_type / enum
      Previous value: -[
      -  "all",
      -  "visual_matches",
      -  "products",
      -  "exact_matches"
      -]New value: +[
      +  "all",
      +  "visual_matches",
      +  "exact_matches"
      +]
  2. Changed1 schema field changed
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed2 schema fields changed
    • changedInput schema / properties / safe_search / description
      Previous value: -"Safe search filtering. 'blur' blurs explicit content (default), 'off' disables filtering."New value: +"Safe search filtering. 'active' enables strict filtering, 'blur' blurs explicit content (default), 'off' disables filtering."
    • changedInput schema / properties / safe_search / enum
      Previous value: -[
      -  "blur",
      -  "off"
      -]New value: +[
      +  "active",
      +  "blur",
      +  "off"
      +]
  4. Changed1 schema field changed
    • addedInput schema / properties / crop
      Added value: +{
      +  "description": "Crop region as left;top;right;bottom with normalized 0-1 coordinates (e.g., '0.1;0.2;0.6;0.8'). Searches only the specified region of the image.",
      +  "type": "string"
      +}
  5. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources