Skip to main content
Glama

Genogram Symbols (GenogramAI)

Validate a Genogram JSON document

validate_genogram
Read-onlyIdempotent

Check a whole genogram written as Genogram JSON 1.0 (schema: https://genogramai.com/schemas/genogram/v1.json) against the schema and the Open Genogram Notation conformance rules: unknown or misplaced symbol ids, references to missing people, a divorce on a couple that never married, a child whose two parents have no partnership, ancestry loops, impossible or implausible dates, twins without matching parents, colour-only distinctions without labels, and missing key items. Returns valid (no errors), each issue with its rule id (GN-xxx), severity, a plain-language fix and a JSON path. Call it before render_genogram.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "genogram": "<genogram>"
    },
    "name": "validate_genogram"
  }
}

Input Schema

NameRequiredDescriptionDefault
genogramYesThe Genogram JSON document ({"format": "genogram-json", "version": "1.0", "people": [...], ...}).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description goes further by enumerating the actual rule classes checked. It also discloses the return contract — valid vs. per-issue rule id, severity, plain-language fix, and JSON path — which matters because no output schema exists.

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?

Front-loaded with the verb and resource, followed by a scannable rule enumeration and a closing action directive. The long rule list is dense but each item informs what the agent should expect back, so little is wasted.

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?

For a one-parameter, nested-object tool with no output schema, the description supplies the missing return-value information and the rule taxonomy. Nothing an agent needs to invoke it correctly or interpret the response is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single parameter is already documented, so the schema carries most of the load. The description still adds meaningful framing by naming the format/version and pointing to the authoritative schema URL, telling the agent what shape the object must have.

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?

States a specific verb (validate/check) against a specific resource (a whole genogram in Genogram JSON 1.0) and pins it to a concrete schema URL. The enumeration of conformance rule categories makes it unmistakable versus siblings like render_genogram or explain_genogram.

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?

"Call it before render_genogram" gives explicit ordering guidance and names the sibling it gates. There is no stated case for when validation is unnecessary (e.g., partial fragments), so it stops short of a full when/when-not matrix.

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