Skip to main content
Glama

I Ching MCP Server by RoxyAPI

Get hexagram by number

get_iching_hexagrams_number
Read-only

Retrieve complete I-Ching hexagram details by King Wen sequence number (1-64). Returns the full hexagram with Chinese name, English translation, judgment text, image text, modern interpretations for general situations, love, career, and decision-making, plus all six changing line meanings. Use this to display detailed hexagram information after casting or for educational reference.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoResponse language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.en
numberYesHexagram number in King Wen sequence (1-64).
compactNoSet true for the same data in a compact shape: arrays of same-shaped objects arrive columnar as {"__cols":[names],"__rows":[[values]]}. Lossless, typically 40 to 52 percent fewer tokens.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only and non-destructive behavior, and the description is consistent with that. It adds value by disclosing exactly what data is returned, including judgment text, image text, interpretations, and changing lines. It does not describe failure modes, but for a read-only lookup that is a minor gap given the 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?

The description is two purposeful sentences with no filler. The primary action is front-loaded, the return sections are compactly enumerated, and the final sentence states useful usage context.

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?

This is a simple read-only single-hexagram lookup with one required parameter, and the description fully covers the return payload without needing an output schema. Combined with 100% parameter coverage in the schema, nothing critical is missing for an agent to 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 schema already fully explains number, lang, and compact. The description only restates that the lookup is by King Wen number (1-64) and adds no new semantic detail about lang defaults or compact behavior. Baseline 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 opens with a specific verb and resource: retrieving I-Ching hexagram details by King Wen sequence number. The distinct 'by number' scope sets it apart from siblings like get_iching_hexagrams_random, get_iching_hexagrams_lookup, and get_iching_trigrams, and the enumerated return content confirms this is a detailed single-hexagram reader.

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 concrete usage context: display detailed hexagram information after casting or for educational reference. It does not explicitly name alternative sibling tools or say when not to use it, but the guidance is clear enough for an agent to choose this tool for a known hexagram number.

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.0
Disambiguation3/5

Most tools are clearly distinct: listing hexagrams, lookup by number, lookup by binary pattern, and trigram resources serve different purposes. However, get_iching_cast and post_iching_daily_cast both describe essentially the same casting operation with only the daily seed difference, and get_iching_hexagrams_random overlaps conceptually with post_iching_daily. The descriptions help, but an agent could easily select the wrong casting or random-reading tool.

Naming Consistency4/5

All tools use snake_case and share the iching_ domain prefix, creating a predictable family. The main inconsistency is mixing get_ and post_ prefixes for very similar operations, while get_iching_hexagrams_lookup/number/random are also varied noun suffixes rather than a strict verb_noun pattern.

Tool Count5/5

With 9 tools, the server is well-scoped for an I-Ching reference and divination toolset. Each tool contributes either a lookup, listing, casting, or daily oracle function without unnecessary bloat.

Completeness5/5

The surface covers all 64 hexagrams, all 8 trigrams, detailed hexagram lookup by both King Wen number and binary line pattern, random readings, traditional casting, and seeded daily variants. There is no significant missing operation needed for the stated divination and oracle use cases.

Resources