Skip to main content
Glama

AstroWay Divination and esoterica

Trigram Analysis

astroway_iching_trigram_analysis
Read-onlyIdempotent

For a hexagram (number or lines): both trigrams in full, the image (upper over lower), the five-phase relation of upper to lower, the nuclear trigrams and nuclear hexagram (lines 2-4 and 3-5), the inverse (turned over) and the complement (every line changed).

[Group: I Ching (Standalone)] [Endpoint: POST /v1/iching/trigram-analysis] [Cost: 10 credits (Tier 1)]

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "astroway_iching_trigram_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesNoSix line values, bottom to top: 6 old yin (changing), 7 young yang, 8 young yin, 9 old yang (changing). Send the coins you threw yourself.
fieldsNoComma-separated paths inside `data` to keep, e.g. "planets.name,houses.cusp".
hexagramNoKing Wen number.
precisionNoRound numbers to this many decimals.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds real value by disclosing the full returned structure, plus endpoint and cost (10 credits, Tier 1). It does not address what happens when neither `lines` nor `hexagram` is supplied (0 required parameters) or how conflicts between the two inputs resolve.

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 core is one dense but well-ordered sentence that front-loads the input condition and then enumerates outputs in a logical sequence; the bracketed group/endpoint/cost metadata is compact and separable. Nothing is redundant, though the single sentence is long enough that a short second sentence on input exclusivity would have helped.

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?

There is no output schema, so the description carries the return-value burden, and it does so thoroughly by enumerating every computed component. Combined with 100% schema coverage on the inputs and full annotations, the only meaningful gap is the unresolved question of defaulting when no hexagram or lines are provided.

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 each parameter is already documented in detail, including the 6/7/8/9 line encoding. The description's phrase 'a hexagram (number or lines)' maps loosely onto the `hexagram` and `lines` inputs, but it says nothing about `fields` or `precision`, so it adds no semantics beyond the schema. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource (a hexagram identified by number or six lines) and enumerates precisely what is derived: both trigrams, the image, the five-phase relation, nuclear trigrams/hexagram, inverse, and complement. That is far more specific than the name alone. It never distinguishes itself from close siblings such as astroway_iching_trigrams or astroway_iching_reading, which keeps it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: 'For a hexagram (number or lines)' tells the agent the input condition, but there is no explicit when-to-use, no when-not-to-use, and no named alternative among the many sibling I Ching tools. The agent must infer that this tool is for structural/decompositional analysis rather than a reading or a coin throw.

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