Compare firearms
Returns side-by-side specifications for two to five firearms, with the differences calculated.
Example usage
- 1
A person asks
- Compare the Glock 17 with the Beretta 92FS side by side.
- 2
The assistant calls the tool
tools/calljson{ "name": "gunspec_compare_firearms", "arguments": { "ids": [ "glock-g17", "beretta-92fs" ] }} - 3
The server answers
Resultjson{ "items": [ { "id": "glock-g17", "name": "Glock 17", "manufacturerId": "glock", "categoryId": "pistol", "parentFirearmId": null, "variantType": null, "yearIntroduced": 1982, "yearDiscontinued": null, "status": "in_production", "countryOfOrigin": "AT", "weightEmptyG": 625, "weightLoadedG": 905, "overallLengthMm": 204, "barrelLengthMm": 114, "heightMm": 139, "widthMm": 32, "sightRadiusMm": 165, "actionType": "short_recoil", "firingMechanism": "striker_fired", "triggerType": "safe_action", "triggerPullN": 28, "magazineCapacity": 17, "magazineType": "detachable_box", "muzzleVelocityMps": 375, "muzzleEnergyJ": 519, "effectiveRangeM": 50, "maxRangeM": 1800, "rateOfFireRpm": null, "barrelRifling": "right_hand", "riflingTwistMm": 250, "numberOfGrooves": 6, "frameMaterial": "polymer", "slideMaterial": "steel", "barrelMaterial": "steel", "stockMaterial": null, "finish": "tenifer", "safetyMechanisms": "[\"trigger_safety\",\"firing_pin_safety\",\"drop_safety\"]", "features": "[\"polymer_frame\",\"safe_action_trigger\",\"hexagonal_rifling\",\"accessory_rail\",\"ambidextrous_slide_stop\",\"textured_grip\",\"reversible_magazine_release\",\"striker_fired\"]", "feedSystems": "[\"detachable_box_magazine\"]", "gameDamage": 42, "gameAccuracy": 68, "gameRange": 35, "gameFireRate": 55, "gameMobility": 76, "gameRecoilControl": 62, "gameReloadSpeed": 72, "gameConcealment": 65, "description": "The Glock 17 is a semi-automatic pistol chambered in 9x19mm Parabellum, produced by Glock Ges.m.b.H. since 1982. This Austrian-manufactured firearm reflects the engineering traditions and quality standards of its country of origin, designed…", "notes": "The name 'Glock 17' refers to it being Gaston Glock's 17th patent, not the magazine capacity, though the coincidence is often noted. The original Gen1 models (1982-1988) had distinctive pebbled grip texture and lacked an accessory rail. Gen…", "designer": "Gaston Glock", "foldedLengthMm": null, "alternateNames": "[\"P80\",\"Pistole 80\",\"L131A1\"]", "firingModes": "[\"semi_automatic\"]", "conflicts": "[{\"name\":\"War in Afghanistan\",\"years\":\"2001-2021\",\"sides\":[\"NATO Coalition\",\"British Armed Forces\",\"U.S. Special Operations\"]},{\"name\":\"Iraq War\",\"years\":\"2003-2011\",\"sides\":[\"Coalition Forces\",\"British Armed Forces\",\"Iraqi Security Forces\"…", "productionNumbers": "{\"estimated_total\":15000000,\"production_years\":\"1982-present\",\"notes\":\"Over 5 million produced by 2007; estimated 10-15 million total across all Glock models by 2020s. Gen1 production (1982-1991) was approximately 115,000 units across model…", "lore": "Gaston Glock was a curtain rod manufacturer with zero firearms experience when he designed the Glock 17 in his garage workshop. After overhearing Austrian military officers discussing their need for a new pistol in 1980, the 52-year-old eng…", "sources": "[\"https://weaponsystems.net/system/841-Glock+17\",\"https://eu.glock.com/en/products/pistols/g17\",\"https://athlonoutdoors.com/article/glock-pistols-go-to-war/\",\"https://www.eliteukforces.info/weapons/glock-pistol/\",\"https://combatoperators.co…", "sourceMuzzleVelocityMps": null, "sourceMuzzleEnergyJ": null, "sourceEffectiveRangeM": null, "sourceMaxRangeM": null, "ballisticsSource": null, "ballisticsSourceUrl": null, "defaultAmmoId": null, "has3dModel": 0, "svgLineArtUrl": "/firearms/line/svg/glock-g17.svg", "model3dUrl": null, "dataConfidence": 0.9, "createdAt": "2026-02-17 06:05:51", "updatedAt": "2026-02-17 06:05:51", "version": "1dc0085f469a3786f9cd4fce92845f4beffcb0494239e4419a17c3adf09b4749", "provenance": { "sources": [ "https://weaponsystems.net/system/841-Glock+17", "https://eu.glock.com/en/products/pistols/g17", "https://athlonoutdoors.com/article/glock-pistols-go-to-war/" ], "sourceKinds": [ { "url": "https://weaponsystems.net/system/841-Glock+17", "kind": "reference" }, { "url": "https://eu.glock.com/en/products/pistols/g17", "kind": "manufacturer" }, { "url": "https://athlonoutdoors.com/article/glock-pistols-go-to-war/", "kind": "press" } ], "bestSourceKind": "manufacturer", "dataConfidence": 0.9, "verifiedAt": null, "verifiedFields": null, "specSource": null, "updatedAt": "2026-02-17 06:05:51", "version": "1dc0085f469a3786f9cd4fce92845f4beffcb0494239e4419a17c3adf09b4749" }, "manufacturer": { "id": "glock", "name": "Glock Ges.m.b.H.", "countryCode": "AT", "foundedYear": 1963, "website": "https://www.glock.com", "logoUrl": null, "description": null, "status": null, "defunctYear": null, "stateOwned": null, "makesFirearms": null, "parentId": null, "predecessorId": null, "createdAt": "2026-02-11 23:44:38", "updatedAt": "2026-02-18 03:43:49", "version": "3082b5f3edc3e54ca4f0993c68dba8c456b4f86e8759e3310ef604da566477d6" }, "category": { "id": "pistol", "name": "Pistol", "description": "Handguns designed to be fired with one or two hands" }, "calibers": [ { "caliberId": "9x19mm-parabellum", "isPrimary": 1, "name": "9x19mm Parabellum", "natoDesignation": "9mm NATO", "bulletDiameterMm": 9.01, "caseLengthMm": 19.15, "cartridgeType": "rimless", "neckDiameterMm": 9.65, "shoulderDiameterMm": null, "baseDiameterMm": 9.93, "rimDiameterMm": 9.96, "rimThicknessMm": 1.27, "overallLengthMm": 29.69, "bulletLengthMm": 12.9, "typicalBulletWeightG": 7.45, "primerType": "small_pistol", "caseShape": "tapered", "caseMaterial": "brass", "projectileKind": "bullet", "bulletProfile": "round_nose", "closure": "bullet", "markingColor": null } ], "images": [ { "id": 1460, "firearmId": "glock-g17", "url": "/firearms/line/svg/glock-g17.svg", "type": "svg", "kind": "silhouette", "storage": "cdn", "source": "generated", "author": null, "sourceUrl": null, "license": "cc0", "alt": null, "width": null, "height": null, "sortOrder": 0 }, { "id": 6578, "firearmId": "glock-g17", "url": "firearms/glock-g17/render-01.png", "type": "render", "kind": "render", "storage": "r2", "source": null, "author": null, "sourceUrl": null, "license": null, "alt": null, "width": null, "height": null, "sortOrder": 1 }, { "id": 9826, "firearmId": "glock-g17", "url": "/content/firearms/photos/glock-g17/01-photo.c01b4944ea90.webp", "type": "photo", "kind": null, "storage": null, "source": "Wikimedia Commons", "author": "Askild Antonsen", "sourceUrl": "https://commons.wikimedia.org/wiki/File:Glock_17_(6825676904).jpg", "license": "CC BY 2.0", "alt": "Glock 17", "width": 1920, "height": 1275, "sortOrder": 1 } ], "users": [ { "id": 10201, "firearmId": "glock-g17", "userName": "Austrian Armed Forces", "userType": "military", "countryCode": "AT", "adoptedYear": 1982, "designation": "P80" }, { "id": 10202, "firearmId": "glock-g17", "userName": "British Armed Forces", "userType": "military", "countryCode": "GB", "adoptedYear": 2013, "designation": "L131A1" }, { "id": 10203, "firearmId": "glock-g17", "userName": "Norwegian Armed Forces", "userType": "military", "countryCode": "NO", "adoptedYear": null, "designation": "P80" } ] }, { "id": "beretta-92fs", "name": "Beretta 92FS", "manufacturerId": "beretta", "categoryId": "pistol", "parentFirearmId": null, "variantType": null, "yearIntroduced": 1975, "yearDiscontinued": null, "status": "in_production", "countryOfOrigin": "IT", "weightEmptyG": 945, "weightLoadedG": 1100, "overallLengthMm": 217, "barrelLengthMm": 125, "heightMm": 137, "widthMm": 38, "sightRadiusMm": 155, "actionType": "short_recoil", "firingMechanism": "hammer_fired", "triggerType": "da_sa", "triggerPullN": 49, "magazineCapacity": 15, "magazineType": "detachable_box", "muzzleVelocityMps": 365, "muzzleEnergyJ": 496, "effectiveRangeM": 50, "maxRangeM": 1800, "rateOfFireRpm": null, "barrelRifling": "right_hand", "riflingTwistMm": 250, "numberOfGrooves": 6, "frameMaterial": "aluminum_alloy", "slideMaterial": "steel", "barrelMaterial": "steel", "stockMaterial": null, "finish": "bruniton", "safetyMechanisms": "[\"manual_safety\",\"firing_pin_safety\",\"half_cock_notch\",\"decocking_lever\"]", "features": "[\"open_slide_design\",\"chrome_lined_barrel\",\"ambidextrous_safety\",\"reversible_mag_release\",\"combat_trigger_guard\",\"lanyard_loop\"]", "feedSystems": "[\"detachable_box_magazine\"]", "gameDamage": 42, "gameAccuracy": 72, "gameRange": 35, "gameFireRate": 50, "gameMobility": 74, "gameRecoilControl": 65, "gameReloadSpeed": 68, "gameConcealment": 65, "description": "The Beretta 92FS is a semi-automatic pistol chambered in 9x19mm Parabellum, produced by Fabbrica d'Armi Pietro Beretta since 1975. This Italian-manufactured firearm reflects the engineering traditions and quality standards of its country of…", "notes": "The 92FS designation stands for 'Federale Sicurezza' (Federal Security), introduced after a safety improvement to prevent slide separation. The U.S. military M9 variant served as the standard-issue sidearm from 1985 until it was replaced by…", "designer": "Carlo Beretta", "foldedLengthMm": null, "alternateNames": "[\"M9\",\"PAMAS G1\",\"Vektor Z88\",\"Yavuz 16\",\"Helwan 920\",\"92F\"]", "firingModes": "[\"semi_automatic\"]", "conflicts": "[{\"name\":\"Gulf War\",\"years\":\"1990-1991\",\"sides\":[\"Coalition Forces\",\"Iraq\"]},{\"name\":\"War in Afghanistan\",\"years\":\"2001-2021\",\"sides\":[\"NATO Coalition\",\"Taliban\"]},{\"name\":\"Iraq War\",\"years\":\"2003-2011\",\"sides\":[\"Coalition Forces\",\"Iraqi In…", "productionNumbers": "{\"estimated_total\":null,\"production_years\":\"1975-present\",\"notes\":\"Over 600,000 M9 pistols delivered to the U.S. military alone. Produced under license in multiple countries.\"}", "lore": "The Beretta 92 famously won the 1985 U.S. military XM9 trials, controversially beating the SIG Sauer P226. It served as the standard U.S. military sidearm for 32 years before being replaced by the SIG P320 (M17/M18) in 2017. Beretta is the…", "sources": "[\"https://en.wikipedia.org/wiki/Beretta_92\",\"https://www.beretta.com/en-us/product/92fs-FA0043\",\"https://fas.org/man/dod-101/sys/land/m9.htm\",\"https://www.militaryfactory.com/smallarms/detail.php?smallarms_id=667\",\"https://www.militaryupdat…", "sourceMuzzleVelocityMps": 365, "sourceMuzzleEnergyJ": 496, "sourceEffectiveRangeM": 50, "sourceMaxRangeM": 1800, "ballisticsSource": null, "ballisticsSourceUrl": null, "defaultAmmoId": null, "has3dModel": 0, "svgLineArtUrl": "/firearms/line/svg/beretta-92fs.svg", "model3dUrl": null, "dataConfidence": 0.89, "createdAt": "2026-02-11 23:44:42", "updatedAt": "2026-02-17 06:05:46", "version": "37fc8cf70018f3668accdc9e458e617dd2f6b7271eb8c7f0d06e473f6c8892e9", "provenance": { "sources": [ "https://en.wikipedia.org/wiki/Beretta_92", "https://www.beretta.com/en-us/product/92fs-FA0043", "https://fas.org/man/dod-101/sys/land/m9.htm" ], "sourceKinds": [ { "url": "https://en.wikipedia.org/wiki/Beretta_92", "kind": "reference" }, { "url": "https://www.beretta.com/en-us/product/92fs-FA0043", "kind": "manufacturer" }, { "url": "https://fas.org/man/dod-101/sys/land/m9.htm", "kind": "other" } ], "bestSourceKind": "manufacturer", "dataConfidence": 0.89, "verifiedAt": null, "verifiedFields": null, "specSource": null, "updatedAt": "2026-02-17 06:05:46", "version": "37fc8cf70018f3668accdc9e458e617dd2f6b7271eb8c7f0d06e473f6c8892e9" }, "manufacturer": { "id": "beretta", "name": "Beretta", "countryCode": "IT", "foundedYear": 1526, "website": "https://www.beretta.com", "logoUrl": null, "description": null, "status": null, "defunctYear": null, "stateOwned": null, "makesFirearms": null, "parentId": null, "predecessorId": null, "createdAt": "2026-02-11 23:44:38", "updatedAt": "2026-02-18 03:43:40", "version": "8b9fe1893419c995aa99c862828f03dd5729ecd351a2fed53e95d04b9a47918f" }, "category": { "id": "pistol", "name": "Pistol", "description": "Handguns designed to be fired with one or two hands" }, "calibers": [ { "caliberId": "9x19mm-parabellum", "isPrimary": 1, "name": "9x19mm Parabellum", "natoDesignation": "9mm NATO", "bulletDiameterMm": 9.01, "caseLengthMm": 19.15, "cartridgeType": "rimless", "neckDiameterMm": 9.65, "shoulderDiameterMm": null, "baseDiameterMm": 9.93, "rimDiameterMm": 9.96, "rimThicknessMm": 1.27, "overallLengthMm": 29.69, "bulletLengthMm": 12.9, "typicalBulletWeightG": 7.45, "primerType": "small_pistol", "caseShape": "tapered", "caseMaterial": "brass", "projectileKind": "bullet", "bulletProfile": "round_nose", "closure": "bullet", "markingColor": null } ], "images": [ { "id": 686, "firearmId": "beretta-92fs", "url": "/firearms/line/svg/beretta-92fs.svg", "type": "svg", "kind": "silhouette", "storage": "cdn", "source": "generated", "author": null, "sourceUrl": null, "license": "cc0", "alt": null, "width": null, "height": null, "sortOrder": 0 }, { "id": 6141, "firearmId": "beretta-92fs", "url": "firearms/beretta-92fs/render-01.png", "type": "render", "kind": "render", "storage": "r2", "source": null, "author": null, "sourceUrl": null, "license": null, "alt": null, "width": null, "height": null, "sortOrder": 1 } ], "users": [ { "id": 8396, "firearmId": "beretta-92fs", "userName": "United States Armed Forces", "userType": "military", "countryCode": "US", "adoptedYear": 1985, "designation": "M9" }, { "id": 8397, "firearmId": "beretta-92fs", "userName": "United States Marine Corps", "userType": "military", "countryCode": "US", "adoptedYear": 2006, "designation": "M9A1" }, { "id": 8398, "firearmId": "beretta-92fs", "userName": "Italian Armed Forces", "userType": "military", "countryCode": "IT", "adoptedYear": 1976, "designation": "92S" } ] } ], "deltas": [ { "field": "weightEmptyG", "values": [ 625, 945 ], "min": 625, "max": 945, "percentDiff": 51.2 }, { "field": "weightLoadedG", "values": [ 905, 1100 ], "min": 905, "max": 1100, "percentDiff": 21.55 }, { "field": "barrelLengthMm", "values": [ 114, 125 ], "min": 114, "max": 125, "percentDiff": 9.65 } ]}Captured from the live API on Sep 17, 2026. Lists and long text are shortened for display.
Related references
Arguments
| Name | Type | Description |
|---|---|---|
ids (required) | string[] | Two to five firearm slugs. |