Compare two IGs
compare_igsCompare two implementation guides, each "packageId#version": one guide at two versions (version diff) or two guides (stack compare). Over MCP the answer is a bounded summary (the risk level and, in plain words, the rule that set it; counts per change type, a change-type by impact breakdown, the profiles carrying the most breaking changes, what moved in value set definitions, the most serious findings, and where the whole report is); POST /api/v1/compare returns the whole report.
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": {
"ig_a": "<ig_a>",
"ig_b": "<ig_b>"
},
"name": "compare_igs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ig_a | Yes | e.g. "hl7.fhir.us.davinci-pas#2.0.1" | |
| ig_b | Yes | e.g. "hl7.fhir.us.davinci-pas#2.1.0" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ig_a | Yes | ||
| ig_b | Yes | ||
| mode | Yes | ||
| risk | No | ||
| counts | Yes | ||
| notice | Yes | ||
| summary | Yes | ||
| breakdown | No | ||
| truncated | Yes | ||
| full_report | Yes | ||
| top_findings | Yes | ||
| top_profiles | No | ||
| findings_listed | Yes | ||
| comparison_notes | No | ||
| findings_omitted | Yes | ||
| comparison_status | No | ||
| valueset_definition_changes | No | ||
| valueset_unchanged_unlisted | No |