Skip to main content
Glama

I Ching MCP Server by RoxyAPI

Cast daily reading with changing lines - I-Ching divination API

post_iching_daily_cast
Read-only

Cast a complete daily I-Ching reading using the traditional three-coin method with seeded randomness. Unlike the simple daily hexagram, this provides the full casting experience with line values (6-9), changing line positions, and the resulting hexagram if transformation occurs. Same seed + same date = same casting result. Perfect for I-Ching divination apps requiring authentic oracle experience with daily consistency.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoDate for the reading in YYYY-MM-DD format. Defaults to today (UTC). Useful for viewing past daily readings or pre-generating future ones.
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
seedNoOptional seed for reproducible readings. Same seed + same date = same hexagram every time. Pass any unique identifier (userId, email hash, session token). Omit for anonymous daily readings.
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.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes
seedYes
linesYes
hexagramNo
changingLinesNo
resultingHexagramNo
changingLinePositionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / hexagram / properties / binary
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / hexagram / properties / changingLines
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "meaning": {
      +        "type": "string"
      +      },
      +      "position": {
      +        "type": "number"
      +      },
      +      "text": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "position",
      +      "text"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / hexagram / required
      Previous value: -[
      -  "number",
      -  "symbol",
      -  "chinese",
      -  "english",
      -  "pinyin",
      -  "upperTrigram",
      -  "lowerTrigram",
      -  "judgment",
      -  "image",
      -  "interpretation"
      -]New value: +[
      +  "number",
      +  "symbol",
      +  "chinese",
      +  "english",
      +  "pinyin",
      +  "upperTrigram",
      +  "lowerTrigram",
      +  "judgment",
      +  "image",
      +  "interpretation",
      +  "binary"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "changingLinePositions": {
      +      "items": {
      +        "type": "number"
      +      },
      +      "type": "array"
      +    },
      +    "changingLines": {
      +      "items": {
      +        "properties": {
      +          "meaning": {
      +            "type": "string"
      +          },
      +          "position": {
      +            "type": "number"
      +          },
      +          "text": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "position",
      +          "text"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "date": {
      +      "type": "string"
      +    },
      +    "hexagram": {
      +      "properties": {
      +        "chinese": {
      +          "type": "string"
      +        },
      +        "english": {
      +          "type": "string"
      +        },
      +        "image": {
      +          "type": "string"
      +        },
      +        "interpretation": {
      +          "properties": {
      +            "advice": {
      +              "type": "string"
      +            },
      +            "career": {
      +              "type": "string"
      +            },
      +            "decision": {
      +              "type": "string"
      +            },
      +            "general": {
      +              "type": "string"
      +            },
      +            "love": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "general",
      +            "love",
      +            "career",
      +            "decision",
      +            "advice"
      +          ],
      +          "type": "object"
      +        },
      +        "judgment": {
      +          "type": "string"
      +        },
      +        "lowerTrigram": {
      +          "type": "string"
      +        },
      +        "number": {
      +          "type": "number"
      +        },
      +        "pinyin": {
      +          "type": "string"
      +        },
      +        "symbol": {
      +          "type": "string"
      +        },
      +        "upperTrigram": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "number",
      +        "symbol",
      +        "chinese",
      +        "english",
      +        "pinyin",
      +        "upperTrigram",
      +        "lowerTrigram",
      +        "judgment",
      +        "image",
      +        "interpretation"
      +      ],
      +      "type": "object"
      +    },
      +    "lines": {
      +      "items": {
      +        "type": "number"
      +      },
      +      "type": "array"
      +    },
      +    "resultingHexagram": {
      +      "properties": {
      +        "chinese": {
      +          "type": "string"
      +        },
      +        "english": {
      +          "type": "string"
      +        },
      +        "image": {
      +          "type": "string"
      +        },
      +        "interpretation": {
      +          "properties": {
      +            "advice": {
      +              "type": "string"
      +            },
      +            "career": {
      +              "type": "string"
      +            },
      +            "decision": {
      +              "type": "string"
      +            },
      +            "general": {
      +              "type": "string"
      +            },
      +            "love": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "general",
      +            "love",
      +            "career",
      +            "decision",
      +            "advice"
      +          ],
      +          "type": "object"
      +        },
      +        "judgment": {
      +          "type": "string"
      +        },
      +        "lowerTrigram": {
      +          "type": "string"
      +        },
      +        "number": {
      +          "type": "number"
      +        },
      +        "pinyin": {
      +          "type": "string"
      +        },
      +        "symbol": {
      +          "type": "string"
      +        },
      +        "upperTrigram": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "number",
      +        "symbol",
      +        "chinese",
      +        "english",
      +        "pinyin",
      +        "upperTrigram",
      +        "lowerTrigram",
      +        "judgment",
      +        "image",
      +        "interpretation"
      +      ],
      +      "type": "object"
      +    },
      +    "seed": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "date",
      +    "seed",
      +    "lines",
      +    "changingLinePositions"
      +  ],
      +  "type": "object"
      +}
  3. Changed2 schema fields changed
    • changedInput schema / properties / lang / description
      Previous value: -"Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English."New value: +"Response 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."
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "tr",
      -  "de",
      -  "es",
      -  "hi",
      -  "pt",
      -  "fr",
      -  "ru"
      -]New value: +[
      +  "en",
      +  "tr",
      +  "de",
      +  "es",
      +  "hi",
      +  "pt",
      +  "fr",
      +  "ru",
      +  "zh-Hans",
      +  "zh-Hant"
      +]
  4. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {}
      +]
    • changedInput schema / properties / compact / description
      Previous value: -"Set true to receive the exact same data in a token-optimized shape that is cheaper for you to read: whitespace is stripped and every array of same-shaped objects is encoded columnar as {\"__cols\":[field names],\"__rows\":[[values]]}, so each field name is sent once instead of once per row. Fully lossless (no field or value is dropped or changed) and typically 40 to 52 percent fewer tokens on large results. Prefer true whenever token or inference cost matters. Default false returns standard indented JSON."New value: +"Set 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."
  5. Changed1 schema field changed
    • changedInput schema / properties / compact / description
      Previous value: -"Return the same data in a token-optimized compact shape (minified, with same-shaped arrays encoded columnar) to reduce LLM token cost. Lossless: no fields are dropped. Default false."New value: +"Set true to receive the exact same data in a token-optimized shape that is cheaper for you to read: whitespace is stripped and every array of same-shaped objects is encoded columnar as {\"__cols\":[field names],\"__rows\":[[values]]}, so each field name is sent once instead of once per row. Fully lossless (no field or value is dropped or changed) and typically 40 to 52 percent fewer tokens on large results. Prefer true whenever token or inference cost matters. Default false returns standard indented JSON."
  6. Changed1 schema field changed
    • addedInput schema / properties / compact
      Added value: +{
      +  "default": false,
      +  "description": "Return the same data in a token-optimized compact shape (minified, with same-shaped arrays encoded columnar) to reduce LLM token cost. Lossless: no fields are dropped. Default false.",
      +  "type": "boolean"
      +}
  7. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With readOnlyHint=true and destructiveHint=false already in annotations, the description adds valuable behavioral context: seeded randomness means the same seed and date yield the same result, and it discloses what the response contains (line values, changing line positions, resulting hexagram). It does not contradict annotations and supplements the safety profile with determinism and output composition details.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is four sentences and mostly efficient: it opens with the action and method, then differentiates from the sibling, then notes determinism, and closes with a target use case. While the final sentence ('Perfect for...') is somewhat promotional, it is short and not redundant. Overall it is front-loaded and 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?

Given the presence of a full output schema, all parameter descriptions, and safe annotations, the description covers the essential context an agent needs: what the tool does, when to prefer it, what result to expect, and determinism. It does not need to explain return values or parameter defaults because those are in the schema. It is complete for a read-only oracle tool with optional parameters.

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 baseline is 3. The description's only parameter-related statement ('Same seed + same date = same casting result') essentially repeats what the seed parameter's schema description already says ('Same seed + same date = same hexagram every time'). Thus it adds minimal semantic value beyond the structured schema.

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 states a specific verb ('Cast'), a specific resource ('complete daily I-Ching reading'), and the method ('traditional three-coin method'). It explicitly distinguishes itself from the 'simple daily hexagram' sibling by enumerating what makes it different: line values (6-9), changing line positions, and the resulting hexagram. This clearly differentiates it from post_iching_daily and other siblings without opening any schema.

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 contrasting itself with 'the simple daily hexagram' and positioning itself as the full casting experience. It implicitly advises using this tool when changing lines and transformation are needed, and the simple daily tool when they are not. However, it does not explicitly name the alternative tool or state a direct 'use X instead' condition, so it falls just 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.

Resources