Skip to main content
Glama

Get gallery metadata

eh_get_gallery_metadata
Read-onlyIdempotent

Retrieve authoritative E-Hentai metadata for 1-25 galleries, including namespaced tags, ratings, file size, torrent details, and version-chain links.

Instructions

Get authoritative E-Hentai API metadata for 1-25 gallery references, including namespaced tags, ratings, file size, torrent metadata, and official parent/current-version links. Use this for structured metadata and version-chain inputs; use eh_get_gallery_detail for page-level fields, tag strength, or the uploader description.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteNoTarget site; gallery URLs override this when a URL is providede-hentai
galleriesYes1-25 gallery IDs and tokens to look up

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
galleriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.2
    • addedInput schema / properties / galleries / description
      Added value: +"1-25 gallery IDs and tokens to look up"
    • 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/5.0
Behavior4/5

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

readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false already establish that this is a safe read-only operation, so the description does not need to repeat that. It adds useful behavioral context by specifying the kind of authoritative data returned (namespaced tags, ratings, file size, torrent metadata, parent/current-version links) and the 1-25 batch limit without contradicting annotations.

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?

Two sentences, each earns its place: the first states the operation, scope, and content; the second routes to the preferred alternative. It is front-loaded and contains no filler.

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?

For a batched metadata read with an output schema and thorough annotations, the description covers selection criteria, scope, and key content. The only missing details—site override behavior and exact response shape—are already covered by the input and output schemas. Agents have what they need to select and invoke the tool correctly.

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 input schema already documents site, gid, token, and array constraints. The description adds no parameter-specific syntax or format guidance beyond 'gallery references,' which the schema already expresses. Baseline 3 is appropriate because the schema carries the semantic load.

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 opens with 'Get authoritative E-Hentai API metadata for 1-25 gallery references'—a specific verb, resource, and batch scope. It enumerates the metadata categories and explicitly contrasts itself with eh_get_gallery_detail, so an agent can distinguish it among the 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 Guidelines5/5

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

The final sentence is an explicit routing rule: 'Use this for structured metadata and version-chain inputs; use eh_get_gallery_detail for page-level fields, tag strength, or the uploader description.' This directly tells when to choose this tool over the closest alternative and names the alternative explicitly.

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