Skip to main content
Glama

Genogram Symbols (GenogramAI)

Render a genogram as SVG

render_genogram
Read-onlyIdempotent

Draw a whole family as a genogram in Open Genogram Notation: give a Genogram JSON 1.0 document (people, partnerships, children, relationships; schema https://genogramai.com/schemas/genogram/v1.json). Returns a standards-compliant SVG (generations in rows, couples side by side, children under a sibship line, emotional lines, medical shading, the index person marked and a key of only the symbols used), a hosted image URL for the same drawing, an "Edit this genogram in GenogramAI" link that opens it in the free editor, and any validation issues. Show the SVG or the image URL to the user, and offer the edit link. Deterministic: the same JSON always gives the same drawing.

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": "render_genogram"
  }
}

Input Schema

NameRequiredDescriptionDefault
legendNoDraw the key (default true).
genogramYesThe Genogram JSON document.
include_svgNoInclude the SVG markup (default true). Set false to get only the URLs.

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 read-only, idempotent, closed-world and non-destructive, but the description adds substantive behavior beyond them: determinism ('same JSON always gives the same drawing'), the full return payload (SVG, hosted image URL, editor link, validation issues), and layout conventions in the output. That is exactly the kind of context annotations cannot express.

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 purpose and required input, then returns, then agent-facing next steps, then a determinism note. The parenthetical layout list (generations in rows, couples side by side, sibship line, shading) is slightly laundry-list-like but every clause carries informational value.

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?

No output schema exists, so the description carries the burden of describing returns and does so precisely. Combined with the linked JSON schema for the nested genogram object and annotations covering safety, an agent has everything needed to call this correctly.

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%, so the baseline is 3, but the description adds real meaning: the required object is a Genogram JSON 1.0 document with a linked schema, and the key renders 'only the symbols used', which sharpens the otherwise terse legend parameter description.

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 and resource ('Draw a whole family as a genogram') plus the notation standard and input format, which distinguishes it from validate_genogram, explain_genogram and the symbol-lookup siblings without naming 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?

Gives clear operating context: supply a Genogram JSON 1.0 document, then show the SVG or image URL to the user and offer the edit link. It does not explicitly say when to prefer validate_genogram or explain_genogram instead, so no exclusion guidance is present.

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