Skip to main content
Glama

search_images

Search images by keyword with filters, and optionally download or analyze the results.

Instructions

搜索图片(支持下载和分析)

=== 基础搜索 === query: 搜索关键词 max_results: 搜索结果数量(默认:10)

=== 搜索过滤 === region: 区域代码 (wt-wt/us-en/cn-zh等) safesearch: 安全搜索 (on/moderate/off) timelimit: 时间限制 (d=天, w=周) size: 图片尺寸 (Small/Medium/Large/Wallpaper) color: 颜色过滤 (如 "Red", "Monochrome") type_image: 类型 (photo/clipart/gif/transparent/line) layout: 布局 (Square/Tall/Wide)

=== 下载选项 === download: 是否下载到本地(默认:False) download_count: 下载数量(默认:全部) output_dir: 下载目录(默认:./downloads/images)

=== 分析选项 === analyze: 是否使用图片模型分析(默认:False) analysis_prompt: 分析提示词 analyze_concurrent: 图片分析并发数(默认:3)

=== 返回格式 === { "success": True, "query": "butterfly", "search_results": { "count": 10, "results": [ { "title": "...", "image": "https://...", "thumbnail": "https://...", "width": 1920, "height": 1080, "source": "Bing" }, ... ] }, "download_results": { # 仅当 download=True 时 "total": 5, "downloaded": 5, "output_dir": "./downloads/images" }, "analysis_results": { # 仅当 analyze=True 时 "count": 5, "results": [ { "image": "...", "type": "local", "analysis": "这是一张..." } ] } }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNo
colorNo
queryYes
layoutNo
regionNowt-wt
analyzeNo
downloadNo
timelimitNo
output_dirNo./downloads/images
safesearchNomoderate
type_imageNo
max_resultsNo
download_countNo
analysis_promptNo详细描述这张图片的内容
analyze_concurrentNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explains defaults for every parameter, conditional output presence (e.g., download_results only when download=True), and the exact structure of all return fields. It also discloses concurrency settings and output directory behavior. This is exceptionally transparent.

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?

Although long, the description is well-organized into clear sections (basic search, filters, download, analysis, return format). Each section is directly relevant to the parameters it explains, and no content is redundant with the schema. The front-loaded summary line gives immediate context. It is as concise as possible given the tool's complexity.

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?

The description is exceptionally complete for a tool with 15 parameters and no annotations. It includes the return format with a detailed example, parameter explanations, defaults, conditional behavior, and even the concurrency model. Nothing about the tool's behavior is left ambiguous, making it fully self-contained for an AI agent.

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

Parameters5/5

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

Schema description coverage is 0%, yet the description provides semantic meaning for all 15 parameters. It explains the format for region codes, safesearch values, time limits, size/type/layout options, color examples, and the meaning of download/analyze flags. It also clarifies default values and the count semantics. This fully compensates for the schema's lack of descriptions.

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?

The description starts with '搜索图片(支持下载和分析)' which clearly states the verb (search) and resource (images), and explicitly notes additional capabilities (download and analysis). This distinguishes it from sibling tools like search_videos, search_text, and search_books, which are for other media types.

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?

The description clearly implies its usage for image search with a comprehensive list of filters, download, and analysis options. However, it does not explicitly contrast itself with alternatives or state when-not-to-use, which would merit a 5. The context is sufficiently clear from the tool name and sibling list.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gqy20/crawl-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server