Skip to main content
Glama
mcp-geneanet

mcp-geneanet

by mgcrea

Genealogy: Export GEDCOM

genealogy_export_gedcom

Exports Geneanet people or a pedigree to a GEDCOM 7.0 file, returning the file path and counts plus warnings for unreadable or omitted links.

Instructions

Write people to a GEDCOM 7.0 file in the export folder and return its path and counts {file, people, families, sources}, not its contents, with warnings when people could not be read or links point at people left out. Pass people (refs as the other tools return them) or a pedigree (a Geneanet person with its ancestors and descendants, read in one request). Each call fetches at most 40 people (people read earlier in this session cost nothing); the rest come back in remaining, and one file grows across calls when you pass the returned file with append: true. Only files this tool wrote are ever replaced. Pointing GENEALOGY_EXPORT_DIR at the folder granted in Filiation › Settings › MCP Server lets a Filiation agent read the file.

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

Input Schema

NameRequiredDescriptionDefault
fileNoA .ged file in the export folder: the `file` an earlier call returned, or a new name. Omitted, a new <date>-<surname>.ged is created. Given without `append`, a file this tool wrote is overwritten; any other existing file is refused.
appendNoWith `file`: keep the people already in it and add these, rewriting the whole file. Use it to finish an export whose `remaining` was not empty.
detailNoHow much of each person to write: "summary" (vital events, occupation, families) or "full" (every event, notes, witnesses). Defaults to the detail the file was written at when appending, else "summary"; a different one re-renders the whole file.
peopleNo1-500 refs to export, e.g. [{source:"geneanet", id:"maudrenel1:27"}]; key-form ids ("<tree>:<surname>/<given names>/<occurrence>") are resolved. Give this or `pedigree`.
pedigreeNoA Geneanet person with ancestors and descendants (siblings left out), read with one graph request. Give this or `people`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.1

TDQS

A4.6/5.0
Behavior5/5

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

With only coarse annotations (readOnlyHint=false, destructiveHint=false), the description carries the real disclosure burden and does so: it is a write operation, it returns counts and warnings rather than data, people read earlier in the session cost nothing, oversized requests are truncated into `remaining`, and "Only files this tool wrote are ever replaced" bounds the overwrite risk that destructiveHint=false might otherwise obscure.

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 action and return shape, then the input modes, then limits and persistence. Nearly every clause adds information, but the single dense paragraph with layered parentheticals makes it harder to scan than a short structured form would be.

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, yet the description names the returned fields, the `warnings` and `remaining` semantics, and the append/overwrite rules. It also covers the setup detail (GENEALOGY_EXPORT_DIR, MCP Server settings) an agent needs for the written file to be readable downstream.

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 schema already documents each parameter, setting a baseline of 3. The description adds meaning the schema cannot: refs are "as the other tools return them", a `pedigree` is resolved as one graph request, and the 40-person budget governs how `people`/`pedigree` should be batched.

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?

Opens with a specific verb and resource: "Write people to a GEDCOM 7.0 file in the export folder", and immediately states the return value ({file, people, families, sources}) and that contents are not returned. This clearly separates it from the read-only genealogy/genoanet siblings without needing to name 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 concrete operating conditions: choose `people` or `pedigree`, at most 40 people are fetched per call, the rest arrive in `remaining`, and `append: true` with the returned `file` grows an existing export. It stops short of explicitly naming alternative tools or when not to export at all, but the workflow guidance is unusually concrete.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.