Skip to main content
Glama

Search galleries across pages

eh_search_galleries_batch
Read-onlyIdempotent

Batch search gallery collections across up to 10 pages, deduplicating results and providing resume cursor for truncated scans.

Instructions

Search up to 10 result pages without metadata expansion, deduplicate gallery references, and return a resume cursor when the page budget truncates the scan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nextNoResume cursor returned by a previous truncated batch search
siteNoTarget site; gallery URLs override this when a URL is providede-hentai
queryNoNative E-Hentai query, e.g. language:chinese$ artist:name$
pageToNoOne-based last result page to scan
maxPagesNoMaximum result pages to scan
pageFromNoOne-based first result page to scan
minRatingNoMinimum rating from 2 through 5
categoriesNoGallery categories to include; omit to use all categories
hasTorrentNoWhen true, require galleries with torrent metadata
browseExpungedNoWhen true, include expunged galleries where supported
disableTagFilterNoDisable the site's default tag filtering
disableLanguageFilterNoDisable the site's default language filtering
disableUploaderFilterNoDisable the site's default uploader filtering

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed10 schema fields changedv0.1.2
    • addedInput schema / properties / browseExpunged / description
      Added value: +"When true, include expunged galleries where supported"
    • addedInput schema / properties / categories / description
      Added value: +"Gallery categories to include; omit to use all categories"
    • addedInput schema / properties / disableLanguageFilter / description
      Added value: +"Disable the site's default language filtering"
    • addedInput schema / properties / disableTagFilter / description
      Added value: +"Disable the site's default tag filtering"
    • addedInput schema / properties / disableUploaderFilter / description
      Added value: +"Disable the site's default uploader filtering"
    • addedInput schema / properties / hasTorrent / description
      Added value: +"When true, require galleries with torrent metadata"
    • addedInput schema / properties / minRating / description
      Added value: +"Minimum rating from 2 through 5"
    • addedInput schema / properties / pageFrom / description
      Added value: +"One-based first result page to scan"
    • addedInput schema / properties / pageTo / description
      Added value: +"One-based last result page to scan"
    • addedInput schema / properties / site / description
      Added value: +"Target site; gallery URLs override this when a URL is provided"
  2. Addedv0.1.1

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and non-destructive behavior. The description adds meaningful behavioral detail beyond annotations: the 10-page budget, deduplication of gallery references, and the resume-cursor behavior on truncation. These are not present in the annotations and materially shape how an agent should use the tool.

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?

The description is a single, information-dense sentence. It front-loads the core purpose, then adds the key behavioral constraints and return behavior without wasted words. Every clause earns its place.

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?

Given the presence of a detailed output schema, strong annotations, and 100% parameter schema coverage, the description covers the non-obvious contextual details: pagination limits, deduplication, cursor continuation, and metadata expansion avoidance. Nothing critical for correct invocation is missing.

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 baseline is 3. The description adds some context by explaining the 'page budget' and 'resume cursor', which maps to maxPages and next, but the parameter schemas already document those fields well. No significant gap requires the description to compensate.

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 clearly states a specific action ('Search'), resource ('galleries'), and scope ('up to 10 result pages'), while also naming distinctive behaviors: no metadata expansion, deduplication, and resume-cursor return. This distinguishes it from single-page search and metadata-focused sibling tools.

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?

The description implies when to use the tool: for multi-page gallery searches with deduplication and cursor continuation. However, it never explicitly names alternatives such as eh_search_galleries or states when not to use this batch variant, leaving the routing decision somewhat inferred.

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

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/RichardGuan1/eh-index-mcp'

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