Skip to main content
Glama

I Ching MCP Server by RoxyAPI

Get trigram by number or name

get_iching_trigrams_id
Read-only

Retrieve a specific I-Ching trigram by its number (1-8) or English name (Heaven, Earth, Thunder, Wind, Water, Fire, Mountain, Lake). Returns complete trigram information including Chinese name, pinyin, element associations, core attributes, and symbolic meaning. Use this to understand the component trigrams of any hexagram.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesTrigram number (1-8) or English name (Heaven, Earth, Thunder, Wind, Water, Fire, Mountain, Lake).
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
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/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds the return contents (Chinese name, pinyin, element associations, core attributes, symbolic meaning), which provides some behavioral context, but it does not go beyond that to mention error behavior, case sensitivity, or response shape.

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 three sentences of purposeful, front-loaded text. The primary lookup behavior is stated first, followed by return contents and a clear usage signal. There is no redundant or filler wording.

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 no output schema, the description covers the expected return fields, and the input schema fully documents all parameters. The usage context is clear. It is missing only minor nonessential details like not-found behavior or whether the id is case-sensitive, but nothing an agent needs to make a correct call.

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 id, lang, and compact. The description restates the id formats and lists valid English names, adding minor convenience but not new semantic information beyond what the schema already provides.

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 ('Retrieve') with an exact resource (a specific I-Ching trigram) and a distinct identifier method (number or English name). It also names the returned fields, making the tool's scope unambiguous. The singular 'specific' and the naming contrast with sibling 'get_iching_trigrams' make it easy for an agent to distinguish them.

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: 'Use this to understand the component trigrams of any hexagram.' This tells the agent when this tool is relevant, though it does not explicitly mention alternative siblings or exclusion conditions.

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