Skip to main content
Glama

find_similar

Read-onlyIdempotent

Find images that look like a MemeStack image, by its ID - the same meme, chart or screenshot, its crops and edits (perceptual-hash matching), each with a ready citation. For an image that is not on MemeStack, use reverse_image_search. Results exclude images classified controversial unless include_controversial is true.

Input Schema

NameRequiredDescriptionDefault
idYesSource image UUID
limitNoMax results (1-20, default 10)
include_controversialNoInclude images classified controversial (excluded by default).

Output Schema

NameRequiredDescriptionDefault
noteNoPresent only when the answer is empty: says no image matched.
countYesTotal number of matching images.
imagesYesVisually similar images.
citations_combinedNoCombined attribution for all images in this response, in three formats.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedOutput schema / properties / images / items / properties / citation / properties / source_origin / description
      Previous value: -"Origin: 'owid' | 'usda_ers' | 'eurostat' | 'eea' | 'imgflip' | '4chan' | 'telegram' | 'generated' | 'mcp' | 'x' | 'unknown' | null (null = a direct upload)."New value: +"Origin: 'owid' | 'usda_ers' | 'eurostat' | 'eea' | 'imgflip' | '4chan' | 'telegram' | 'generated' | 'mcp' | 'x' | 'web' | 'reverse' | 'unknown' | null (null = a direct upload)."
    • changedOutput schema / properties / images / items / properties / citation / properties / thumbnail_url / description
      Previous value: -"Thumbnail image URL."New value: +"Thumbnail URL sized for display (?w=384: a lighter rendition about 384 px wide where one exists)."
    • changedOutput schema / properties / images / items / properties / thumbnail_url / description
      Previous value: -"Thumbnail image URL."New value: +"Thumbnail URL sized for display (?w=384: a lighter rendition about 384 px wide where one exists)."
    • addedOutput schema / properties / note
      Added value: +{
      +  "description": "Present only when the answer is empty: says no image matched.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / properties / images / items / properties / rights / description
      Previous value: -"What you may do with the image, as far as MemeStack knows - 'unknown' wherever it knows nothing, never a guess. The citation says how to credit an image; this says whether it may be reused. Absent on find_similar / find_related results (call get_image or cite_image for those)."New value: +"What you may do with the image, as far as MemeStack knows - 'unknown' wherever it knows nothing, never a guess. The citation says how to credit an image; this says whether it may be reused."
  3. Changed2 schema fields changed
    • addedOutput schema / properties / images / items / properties / citation / properties / original
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Who made the ORIGINAL of the recognised meme (e.g. This Is Fine by KC Green), from a hand-checked list with sources. Present only when that list knows the meme; it credits the meme's origin, not this image's uploader, and grants no rights.",
      +  "properties": {
      +    "credit": {
      +      "description": "Who or what the original is, e.g. \"by KC Green, from his webcomic Gunshow (\\\"On Fire\\\")\".",
      +      "type": "string"
      +    },
      +    "source_url": {
      +      "description": "The page the credit was checked against.",
      +      "type": "string"
      +    },
      +    "title": {
      +      "description": "The meme as usually named.",
      +      "type": "string"
      +    },
      +    "year": {
      +      "description": "Year the original was made or first posted; null when the source gives none.",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "title",
      +    "credit",
      +    "source_url"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / images / items / properties / rights
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "What you may do with the image, as far as MemeStack knows - 'unknown' wherever it knows nothing, never a guess. The citation says how to credit an image; this says whether it may be reused. Absent on find_similar / find_related results (call get_image or cite_image for those).",
      +  "properties": {
      +    "attribution": {
      +      "description": "The credit line to show beside the image (the line a publisher licence asks for; otherwise where the image came from, never who owns it).",
      +      "type": "string"
      +    },
      +    "attribution_required": {
      +      "description": "True for publisher charts and creator work.",
      +      "type": "boolean"
      +    },
      +    "commercial_use": {
      +      "description": "yes only for USDA ERS, Eurostat and EEA charts; no for creator work; unknown for Our World in Data (a chart may plot third-party data under its own terms) and every community image.",
      +      "enum": [
      +        "yes",
      +        "no",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    },
      +    "license": {
      +      "description": "Licence id (\"US-PD\" = U.S. federal public domain); null = no licence known.",
      +      "enum": [
      +        "CC-BY-4.0",
      +        "US-PD",
      +        "all-rights-reserved",
      +        null
      +      ],
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "license_name": {
      +      "description": "Human licence label, e.g. \"CC BY 4.0\".",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "license_url": {
      +      "description": "The licence text, or the creator terms.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "note": {
      +      "description": "The one condition or caveat that changes what you may do, or null.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "publisher": {
      +      "additionalProperties": true,
      +      "description": "The publisher of a publisher image; null otherwise.",
      +      "properties": {
      +        "key": {
      +          "description": "Publisher key: \"owid\", \"usda_ers\", \"eurostat\" or \"eea\".",
      +          "type": "string"
      +        },
      +        "name": {
      +          "description": "Publisher name.",
      +          "type": "string"
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "source": {
      +      "description": "publisher = imported from a licence-clean publisher (Our World in Data, USDA ERS, Eurostat, EEA); creator = a Verified Creator's own upload (all rights reserved); community = everything else (uploads, bot saves, imports, AI images) - MemeStack grants no licence to it.",
      +      "enum": [
      +        "publisher",
      +        "creator",
      +        "community"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  4. Changed6 schema fields changed
    • changedOutput schema / properties / images / items / properties / chart / properties / citation_long / description
      Previous value: -"Full academic citation for the upstream dataset."New value: +"Full academic citation for the upstream dataset. Null for an extracted row."
    • changedOutput schema / properties / images / items / properties / chart / properties / citation_short / description
      Previous value: -"Short attribution line for the upstream dataset."New value: +"Short attribution line for the upstream dataset, or the source line as printed on the image when provenance is \"extracted\"."
    • changedOutput schema / properties / images / items / properties / chart / properties / source / description
      Previous value: -"Upstream source key: \"owid\", \"usda_ers\", \"eurostat\" or \"eea\"."New value: +"Source key: \"owid\", \"usda_ers\", \"eurostat\", \"eea\", or \"extracted\" (read from the image)."
    • changedOutput schema / properties / images / items / properties / chart / properties / source_url / description
      Previous value: -"Canonical URL for the chart at its upstream source."New value: +"Canonical URL for the chart at its upstream source. Null for an extracted row."
    • changedOutput schema / properties / images / items / properties / chart / properties / title / description
      Previous value: -"Chart title as published upstream."New value: +"Chart title as published upstream, or as printed on the image when provenance is \"extracted\"."
    • changedOutput schema / properties / images / items / properties / chart / properties / unit / description
      Previous value: -"Measurement unit, when the underlying indicators agree on one."New value: +"Measurement unit, when the underlying indicators agree on one. For an extracted row, the unit as printed on the image."
  5. Changed1 schema field changed
    • addedOutput schema / properties / images / items / properties / match
      Added value: +{
      +  "description": "Honest search: strong = a real answer, closest = the nearest miss. Present only when the API labelled the result.",
      +  "enum": [
      +    "strong",
      +    "closest"
      +  ],
      +  "type": "string"
      +}
  6. Changed7 schema fields changed
    • addedOutput schema / properties / images / items / properties / chart / properties / published_at
      Added value: +{
      +  "description": "The publisher's release date for this edition (YYYY-MM-DD).",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / images / items / properties / chart / properties / series
      Added value: +{
      +  "description": "Every visible edition of this chart, newest first (get_image only).",
      +  "items": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "id": {
      +        "description": "Image id of the edition.",
      +        "type": "string"
      +      },
      +      "published_at": {
      +        "description": "Release date.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "rendered_period": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "end": {
      +            "description": "Last year shown.",
      +            "type": "number"
      +          },
      +          "start": {
      +            "description": "First year shown.",
      +            "type": "number"
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / images / items / properties / chart / properties / series_key
      Added value: +{
      +  "description": "Editions of one chart share this key; null when the chart is not part of a series.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / images / items / properties / chart / properties / source / description
      Previous value: -"Upstream source key, e.g. \"owid\"."New value: +"Upstream source key: \"owid\", \"usda_ers\", \"eurostat\" or \"eea\"."
    • changedOutput schema / properties / images / items / properties / citation / properties / attribution_required / description
      Previous value: -"True only when the license requires attribution (OWID)."New value: +"True when the licence or the rights holder requires attribution: Our World in Data, the chart publishers (USDA ERS, Eurostat, EEA), and a verified creator's own work."
    • changedOutput schema / properties / images / items / properties / citation / properties / source_external_url / description
      Previous value: -"External source URL (set only for OWID-sourced images)."New value: +"External source URL — the Our World in Data chart, the chart publisher's page, or the X post; null otherwise."
    • changedOutput schema / properties / images / items / properties / citation / properties / source_origin / description
      Previous value: -"Origin: 'owid' | 'imgflip' | '4chan' | 'telegram' | 'generated' | 'unknown' | null."New value: +"Origin: 'owid' | 'usda_ers' | 'eurostat' | 'eea' | 'imgflip' | '4chan' | 'telegram' | 'generated' | 'mcp' | 'x' | 'unknown' | null (null = a direct upload)."
  7. Changed2 schema fields changed
    • addedInput schema / properties / include_controversial
      Added value: +{
      +  "description": "Include images classified controversial (excluded by default).",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / images / items / properties / controversial
      Added value: +{
      +  "description": "True when MemeStack classifies the image as controversial (likely to offend or divide a general audience). The list tools exclude such images unless include_controversial is true; by-id tools always answer and carry this flag. Absent when the API answer predates the flag.",
      +  "type": "boolean"
      +}
  8. Changed2 schema fields changed
    • addedOutput schema / properties / images / items / properties / chart
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Structured source metadata for a chart, map or infographic, present only when MemeStack holds a record for this image (an image_chart_meta row). Absent or null means no stored metadata - never a signal that the image is not a chart.",
      +  "properties": {
      +    "citation_long": {
      +      "description": "Full academic citation for the upstream dataset.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "citation_short": {
      +      "description": "Short attribution line for the upstream dataset.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "dataset_timespan": {
      +      "additionalProperties": true,
      +      "description": "The underlying dataset's own history - display-only context, NOT the period this chart shows (see rendered_period). Never usable as a date filter.",
      +      "properties": {
      +        "end": {
      +          "description": "Latest year in the dataset, when known.",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "raw": {
      +          "description": "The dataset timespan as published upstream, verbatim.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "start": {
      +          "description": "Earliest year in the dataset, when known.",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "provenance": {
      +      "description": "How this metadata was captured: read from the source's own structured feed ('authoritative'), or read off the chart image itself ('extracted').",
      +      "enum": [
      +        "authoritative",
      +        "extracted"
      +      ],
      +      "type": "string"
      +    },
      +    "regions": {
      +      "description": "Entities plotted, exactly as the chart names them (e.g. \"World\", \"Germany\").",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "rendered_period": {
      +      "additionalProperties": true,
      +      "description": "The period the chart PROVABLY displays, grounded in its own OCR text - null when no period could be proven. Never a guess, and never the wider history in dataset_timespan.",
      +      "properties": {
      +        "end": {
      +          "description": "Last year the chart displays.",
      +          "type": "number"
      +        },
      +        "evidence": {
      +          "description": "OCR substring the period was grounded on.",
      +          "type": "string"
      +        },
      +        "start": {
      +          "description": "First year the chart displays.",
      +          "type": "number"
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "source": {
      +      "description": "Upstream source key, e.g. \"owid\".",
      +      "type": "string"
      +    },
      +    "source_url": {
      +      "description": "Canonical URL for the chart at its upstream source.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "superseded": {
      +      "description": "True when the upstream source has published data newer than this snapshot.",
      +      "type": "boolean"
      +    },
      +    "title": {
      +      "description": "Chart title as published upstream.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "unit": {
      +      "description": "Measurement unit, when the underlying indicators agree on one.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / images / items / properties / citation / properties / academic_citation
      Added value: +{
      +  "description": "Full upstream academic citation, present only when the image has stored chart metadata with one.",
      +  "type": "string"
      +}
  9. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "citations_combined": {
      +      "additionalProperties": false,
      +      "description": "Combined attribution for all images in this response, in three formats.",
      +      "properties": {
      +        "html": {
      +          "description": "Numbered attribution list as HTML.",
      +          "type": "string"
      +        },
      +        "markdown": {
      +          "description": "Numbered attribution list as Markdown.",
      +          "type": "string"
      +        },
      +        "plain": {
      +          "description": "Numbered attribution list as plain text.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "markdown",
      +        "html",
      +        "plain"
      +      ],
      +      "type": "object"
      +    },
      +    "count": {
      +      "description": "Total number of matching images.",
      +      "type": "number"
      +    },
      +    "images": {
      +      "description": "Visually similar images.",
      +      "items": {
      +        "additionalProperties": true,
      +        "description": "A gallery image (compact fields) with a ranking score and attribution.",
      +        "properties": {
      +          "canonical_url": {
      +            "description": "Full-resolution image URL.",
      +            "type": "string"
      +          },
      +          "caption": {
      +            "description": "AI-generated caption.",
      +            "type": "string"
      +          },
      +          "citation": {
      +            "additionalProperties": true,
      +            "description": "Ready-to-paste attribution for this image in three formats, plus source metadata.",
      +            "properties": {
      +              "attribution_recommended": {
      +                "description": "Always true — attribution is recommended.",
      +                "type": "boolean"
      +              },
      +              "attribution_required": {
      +                "description": "True only when the license requires attribution (OWID).",
      +                "type": "boolean"
      +              },
      +              "canonical_url": {
      +                "description": "Full-resolution image URL.",
      +                "type": "string"
      +              },
      +              "html": {
      +                "description": "Attribution as HTML.",
      +                "type": "string"
      +              },
      +              "markdown": {
      +                "description": "Attribution as Markdown.",
      +                "type": "string"
      +              },
      +              "page_url": {
      +                "description": "Canonical MemeStack gallery page for the image.",
      +                "type": "string"
      +              },
      +              "plain": {
      +                "description": "Attribution as plain text.",
      +                "type": "string"
      +              },
      +              "site": {
      +                "description": "Always \"MemeStack\".",
      +                "type": "string"
      +              },
      +              "site_url": {
      +                "description": "The MemeStack site URL.",
      +                "type": "string"
      +              },
      +              "source_external_url": {
      +                "description": "External source URL (set only for OWID-sourced images).",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_origin": {
      +                "description": "Origin: 'owid' | 'imgflip' | '4chan' | 'telegram' | 'generated' | 'unknown' | null.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "thumbnail_url": {
      +                "description": "Thumbnail image URL.",
      +                "type": "string"
      +              },
      +              "uploader_display_name": {
      +                "description": "Uploader name, or null when absent/withheld.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "site",
      +              "page_url",
      +              "markdown",
      +              "html",
      +              "plain"
      +            ],
      +            "type": "object"
      +          },
      +          "created_at": {
      +            "description": "ISO 8601 creation timestamp.",
      +            "type": "string"
      +          },
      +          "free_tags": {
      +            "description": "Free-form tag slugs.",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "height": {
      +            "description": "Original height in pixels.",
      +            "type": "number"
      +          },
      +          "id": {
      +            "description": "Image UUID.",
      +            "type": "string"
      +          },
      +          "like_count": {
      +            "description": "Number of likes.",
      +            "type": "number"
      +          },
      +          "meme_template_name": {
      +            "description": "Recognised meme template, if any.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "page_url": {
      +            "description": "MemeStack gallery page URL.",
      +            "type": "string"
      +          },
      +          "relevance_score": {
      +            "description": "Semantic-relevance score (find_related).",
      +            "type": "number"
      +          },
      +          "save_count": {
      +            "description": "Number of saves.",
      +            "type": "number"
      +          },
      +          "similarity": {
      +            "description": "Visual-similarity score (find_similar / reverse_image_search).",
      +            "type": "number"
      +          },
      +          "tags": {
      +            "description": "Topic tag slugs.",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "thumbnail_url": {
      +            "description": "Thumbnail image URL.",
      +            "type": "string"
      +          },
      +          "uploader_display_name": {
      +            "description": "Uploader name, or null.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "width": {
      +            "description": "Original width in pixels.",
      +            "type": "number"
      +          },
      +          "zap_count": {
      +            "description": "Number of Lightning zaps.",
      +            "type": "number"
      +          },
      +          "zap_total_sats": {
      +            "description": "Total sats zapped.",
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "thumbnail_url",
      +          "canonical_url",
      +          "page_url",
      +          "citation"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "images",
      +    "count"
      +  ],
      +  "type": "object"
      +}
  10. First observed

TDQS

A4.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorld, so the safety profile is covered. The description adds genuine context beyond that: the perceptual-hash matching approach, that each hit carries a ready citation, and that controversial images are filtered by default. It doesn't add much else (ranking, latency, citation format), and an output schema exists to describe results.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three compact sentences: what it does, where the sibling applies, and the controversy filter. The key routing constraint and the exclusion default are front-loaded or clearly separated, with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With rich annotations, an output schema, and fully documented parameters, the description only needs to supply purpose, routing, and the default filter behavior — all present. Nothing an agent needs to invoke this correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so all three parameters are already documented, which sets a baseline of 3. The description adds meaning by constraining the id to a MemeStack image specifically (a precondition not stated in the schema's 'Source image UUID') and by reiterating the include_controversial default in behavioral terms.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb 'find images that look like' plus the resource (a MemeStack image identified by ID), with the matching method (perceptual-hash) and result scope (same meme, crops and edits) spelled out. It explicitly distinguishes itself from the sibling reverse_image_search, so an agent can choose between them without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

States the precondition ('by its ID' on MemeStack) and names the concrete alternative for the opposite case: 'For an image that is not on MemeStack, use reverse_image_search.' It also flags the default exclusion of controversial images and the flag that overrides it, leaving no inference needed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.