Skip to main content
Glama

Get Hexagrams (Batch)

get_hexagrams
Read-onlyIdempotent

Batch hexagram lookup by King Wen numbers (max 16 ids per call). Optional include level: summary, core (default), lines, full. Data © IChing.Rocks — attribution is a condition of the license terms: https://iching.rocks/mcp-terms.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYesHexagram numbers, 1-64 (King Wen), no duplicates, max 16 per call.
includeNoDetail level, each nesting the previous: summary = identity, essence, url; core (default) = adds trigrams, judgment, image; lines = adds the six line texts; full = adds symbolic meaning and final comment.core

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNo
sourceNo
hexagramsNo

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the safety profile is covered. The description adds meaningful behavioral context beyond annotations: the license/attribution requirement ('Data © IChing.Rocks — attribution is a condition of the license terms'), which is a non-obvious usage constraint. It also outlines the include levels, but those are also in the schema.

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: the first establishes the tool's core function and batch limit, the second covers the optional include levels and license. No filler words; information is front-loaded and every sentence earns its place.

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 an output schema present, the description does not need to explain return values. The schema covers parameters thoroughly, annotations cover safety, and the description adds licensing context. The only minor gap is not elaborating on invalid-id handling, but the schema's 'no duplicates, max 16 per call' covers the main constraint, making the description reasonably complete for this complexity level.

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 detailed parameter descriptions for both 'ids' and 'include'. The description repeats the include levels but adds no additional meaning beyond what the schema already provides, so the baseline 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 clearly states a specific verb ('Batch hexagram lookup') and resource ('hexagrams by King Wen numbers'), explicitly distinguishing this from its sibling tool 'get_hexagram' by the batch aspect ('max 16 ids per call').

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 provides clear usage context by noting it is a batch operation with a maximum of 16 ids, implying it is the tool to use for multiple hexagram lookups. However, it does not explicitly name alternative sibling tools or state when not to use this tool, so it stops short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.5/5.0
Disambiguation5/5

Each tool serves a distinct purpose: single vs batch vs bulk retrieval, reading context, trigrams, sequences, search, and server info. No overlap or ambiguity.

Naming Consistency5/5

All tools follow a consistent verb_noun snake_case pattern (get_, list_, search_), making the tool set predictable and easy to navigate.

Tool Count5/5

10 tools is well-scoped for a domain-specific reference server. Each tool covers a necessary operation without bloat or deficiency.

Completeness4/5

The tool surface covers retrieval, listing, search, reading context, trigrams, and sequences. Minor gaps like a random hexagram tool are non-essential for a deterministic reference dataset.

Resources