Skip to main content
Glama

Get archive options

eh_get_archive_options
Read-onlyIdempotent

Read a gallery's archive balance, resolutions, sizes, and costs without purchasing keys. Supports gallery URL or ID/token input to fetch options.

Instructions

Read the authenticated archive page's balance, available resolutions, sizes, and costs without purchasing or returning archive keys.

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.3/5.0
Behavior4/5

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

Annotations already mark the tool as read-only, idempotent, and non-destructive. The description adds value by explicitly noting that no purchase or archive-key consumption occurs, and by indicating the operation reflects the authenticated user's balance. This goes beyond a generic read-only declaration, though it omits details like error or rate-limit behavior.

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 entire description is one tight sentence that front-loads the key behavior and result contents, followed by an explicit non-side-effect guarantee. There is no filler or repetition of schema details.

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?

Combined with a rich input schema, an output schema, and annotations indicating safe read-only behavior, the description fully covers what the tool does and its side-effect profile. Nothing critical needed for an agent to select and invoke the tool 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 input schema fully documents the site, gallery object, and galleryUrl parameters. The description does not add additional parameter-level meaning, so the baseline score of 3 is appropriate.

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 uses a specific verb ('Read') and names the exact resource ('authenticated archive page's balance, available resolutions, sizes, and costs'), while explicitly noting it does not purchase or return archive keys. This clearly distinguishes it from the many read-oriented sibling tools like eh_get_gallery_detail or eh_get_all_gallery_pages.

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 phrase 'without purchasing or returning archive keys' clearly frames this as a pre-purchase inspection tool for archive options. It does not explicitly name alternatives or state when not to use it, but the context is sufficiently clear for an agent to know when this tool is relevant.

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