Skip to main content
Glama

Find similar galleries

eh_find_similar_galleries
Read-onlyIdempotent

Find similar galleries by extracting a structural title and running an exact quoted search; falls back to the first artist tag, then the uploader, when no title remains.

Instructions

Find galleries using EhViewer's strategy: extract a structural title and run an exact quoted search, falling back to the first artist tag and then the uploader when no title remains.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteNoTarget site; gallery URLs override this when a URL is providede-hentai
galleryNoGallery ID and token; provide this or galleryUrl, but not both
galleryUrlNoFull gallery URL; provide this or gallery, but not both

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.2
    • addedInput schema / properties / gallery / description
      Added value: +"Gallery ID and token; provide this or galleryUrl, but not both"
    • addedInput schema / properties / galleryUrl / description
      Added value: +"Full gallery URL; provide this or gallery, but not both"
    • addedInput schema / properties / site / description
      Added value: +"Target site; gallery URLs override this when a URL is provided"
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, covering the safety profile. The description adds genuine behavioral value on top by disclosing the fallback chain (title → artist tag → uploader) and the exact-quoted search strategy, which shapes how results degrade and what an agent can expect.

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?

A single dense sentence that front-loads the core purpose and then packs the full strategy and fallback chain into a compact clause sequence. Every element earns its place with zero redundancy.

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 a rich output schema, fully described parameters, and safety annotations, the description covers the essential behavioral nuance. The only minor gap is the terminal fallback case: what happens if no title, no artist tag, and no uploader remain is unspecified.

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 site, gallery (gid/token), and galleryUrl, including the mutual-exclusivity constraint. The description's strategy narrative is behavioral rather than parameter-specific, so it adds no additional meaning beyond the baseline.

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 states a specific verb and resource ('Find galleries') plus the defining strategy ('EhViewer's strategy: extract a structural title and run an exact quoted search'). This clearly differentiates it from sibling search tools: it finds similar galleries by metadata rather than exact hash or file matches like eh_search_by_hash or eh_search_by_file.

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's strategy explanation makes the usage context clear: use this when you have a gallery and want similar results based on title, artist tag, or uploader. However, it never explicitly names alternatives or states when not to use it (e.g., for exact duplicates), leaving some routing to inference despite a large sibling family.

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