Skip to main content
Glama

Find clothes that look like a picture

find_clothes_by_image
Read-onlyIdempotent

Find clothes that look like a picture of one item. Takes the picture's direct https link and, if wanted, a few words naming the item, a size, a price limit, the condition and a country; it needs nothing else from the conversation. Returns visually similar eBay listings from the Clothing, Shoes and Accessories category only, in eBay's look-alike order. If the picture does not show one piece of clothing, matches is empty and the say line asks what the item is. A short item name in q makes the results match it, which removes look-alikes of the wrong kind.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoWhich item in the picture, in a few words, for example "the camel coat".
sizeNoClothing or shoe size to match, for example M, 10 or UK 8.
countryNoTwo-letter country code for the eBay site and currency. Defaults to where the request comes from.
conditionNoCondition: any, new or used.
image_urlYesDirect https link to one JPEG, PNG or WebP picture, 6 MB at most.
max_priceNoHighest price, in the local currency.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"Two-letter country code for the eBay site and currency, for example US or GB."New value: +"Two-letter country code for the eBay site and currency. Defaults to where the request comes from."
    • addedInput schema / properties / country / enum
      Added value: +[
      +  "US",
      +  "GB",
      +  "IE",
      +  "CA",
      +  "AU",
      +  "DE",
      +  "FR",
      +  "IT",
      +  "ES"
      +]
    • changedInput schema / properties / image_url / description
      Previous value: -"Direct https link to a JPEG, PNG or WebP picture, 6 MB at most."New value: +"Direct https link to one JPEG, PNG or WebP picture, 6 MB at most."
    • addedInput schema / properties / image_url / format
      Added value: +"uri"
    • addedInput schema / properties / image_url / maxLength
      Added value: +2048
    • addedInput schema / properties / max_price / minimum
      Added value: +0
    • changedInput schema / properties / q / description
      Previous value: -"Which item in the picture, for example \"the camel coat\". Results must match it, and it is used as a fallback text search."New value: +"Which item in the picture, in a few words, for example \"the camel coat\"."
    • addedInput schema / properties / q / maxLength
      Added value: +60
    • addedInput schema / properties / size / maxLength
      Added value: +20
  2. Changed1 schema field changed
    • changedInput schema / properties / condition / description
      Previous value: -"any, new or used."New value: +"Condition: any, new or used."
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, openWorld, non-destructive), but the description adds real behavioral context beyond them: the result set is restricted to the Clothing/Shoes/Accessories category, ordering follows eBay's look-alike order, and the failure mode is disclosed (if the picture doesn't show one piece of clothing, `matches` is empty and the say line asks what the item is). It also explains that q changes ranking semantics. No mention of rate limits or image-fetch failures, which is the only remaining gap.

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

Conciseness4/5

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

Four sentences, front-loaded with the purpose and scope, and every sentence carries information (inputs, return scope, failure mode, ranking effect). The phrasing is conversational ('the say line', 'it needs nothing else from the conversation') and could be tightened, but nothing is wasted.

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

Completeness4/5

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

With six parameters, no output schema, and annotations covering only safety, the description does the heavy lifting: it describes the source and ordering of results, the category restriction, and the empty-result behavior keyed to a `matches` field. It only references the response envelope ('matches', 'say line') in the failure case rather than describing the normal return shape, which is the one incompleteness.

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 description coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not: it explains that `q` is what steers results toward the right item and 'removes look-alikes of the wrong kind,' and that image_url must be a direct https link to a single picture. That is genuine semantic lift over the field docs.

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?

States a specific verb and resource (find clothes visually matching a picture) and pins down scope: 'visually similar eBay listings from the Clothing, Shoes and Accessories category only, in eBay's look-alike order.' The image-input framing makes it trivially distinguishable from the text-based sibling find_clothes, even without naming it.

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

Usage Guidelines4/5

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

Clearly signals when to use it (you have a picture of one item) and what is optional versus required: 'Takes the picture's direct https link and, if wanted, a few words naming the item, a size, a price limit, the condition and a country; it needs nothing else from the conversation.' That last clause is useful guidance to not ask follow-up questions. It never states when NOT to use it or points to find_clothes as the text alternative.

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.