Skip to main content
Glama
Google Search MCP Server

Google Search MCP Server

by hinsmoment

search_by_image

Upload a product image to find visually similar product references across Google Images and Pinterest, with optional AI visual analysis and quality scores.

Instructions

上传产品图片,搜索相似产品参考图(支持 AI 视觉分析)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "image_path": "<image_path>"
    },
    "name": "search_by_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
image_pathYes产品图片的本地文件路径
max_resultsNo返回结果数量 (默认 10)
enable_ai_analysisNo启用 AI 分析(直接使用 GLM 模型,无需 API)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It discloses that the image is uploaded and that an AI vision analysis runs, but it says nothing about where the upload goes, whether it is retained, latency or cost, or what a result record contains. For an upload-and-analyze tool with zero annotation coverage, these omissions are significant.

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?

A single compact sentence with the action front-loaded (upload image, then search similar) and the optional AI capability secondary. Nothing is padded, though the brevity comes at the cost of the behavioral detail noted elsewhere.

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

Completeness2/5

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

With three parameters, no annotations, and no output schema, the description should explain at minimum what results look like and what the upload entails. It instead stops at the one-line purpose, leaving the agent without enough context to set expectations about returned image references or the analysis overlay.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents image_path, max_results (with default 1-20 bounds) and enable_ai_analysis. The description's parenthetical about AI visual analysis loosely maps to enable_ai_analysis but adds no syntax, format, or constraint detail beyond the schema. Baseline 3 applies.

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

Purpose4/5

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

The description states a specific verb and resource: upload a product image and search for similar product reference images. It also signals the AI visual analysis capability, which differentiates it by modality from the text-based search siblings. It does not explicitly name an alternative to steer agents away from, but the 'image in, similar images out' purpose is unambiguous.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer 'use this when you have a product image and want similar reference images.' There is no explicit when-to-use vs. when-not, no mention of the text-search siblings (google_search, search_and_extract) as alternatives for non-image queries, and no note on prerequisites such as the image needing to be a local file accessible to the server.

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