Skip to main content
Glama

Search by image SHA-1

eh_search_by_hash
Read-onlyIdempotent

Find E-Hentai galleries by entering a 40-character SHA-1 image hash. No upload required, just paste the hash to locate matching content.

Instructions

Search E-Hentai by an exact 40-character SHA-1 image hash without uploading the image.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sha1YesExact 40-character hexadecimal SHA-1 hash of an image
siteNoTarget site; gallery URLs override this when a URL is providede-hentai

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.2
    • addedInput schema / properties / sha1 / description
      Added value: +"Exact 40-character hexadecimal SHA-1 hash of an image"
    • 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/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, covering safety and side-effect expectations. The description adds the useful behavioral detail that no image upload occurs and requires an exact 40-character hash. It does not go deeper into rate limits, site behavior, or result handling, but given the strong annotation coverage, this is adequate.

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, focused sentence that front-loads the core purpose and includes a meaningful qualifier ('without uploading the image'). Every word carries weight; there is no redundant or filler content.

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?

For a simple hash-lookup tool with two well-documented parameters, rich annotations, and an output schema, the description is sufficient. The only minor gap is that it does not explicitly address the exhentai site option or clarify how results differ between sites, but the schema and output schema cover the operational details.

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%, with clear descriptions for both parameters including the sha1 pattern and the site enum/default. The description restates the 'exact 40-character SHA-1 hash' concept already present in the schema, adding no substantial new semantic meaning. This meets the baseline for a fully schema-documented parameter set.

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 the action ('Search'), the target resource ('E-Hentai'), and the exact lookup key ('40-character SHA-1 image hash'). It also differentiates itself from file-upload search by emphasizing 'without uploading the image', which distinguishes it from sibling tools like 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 implies the proper usage context: use this tool when you already have an exact SHA-1 hash and do not need to upload an image. It does not explicitly name alternative tools or state when not to use it, but the 'without uploading the image' phrase provides meaningful contrast with file-upload-based search.

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