GunSpec

All 35 examples

Workflows

Compare firearms by name

  1. 1

    A person asks

    • Compare the Glock 17 and the Beretta 92FS.
  2. 2

    The assistant calls the tool

    tools/call
    json
    {  "name": "gunspec_compare_by_name",  "arguments": {    "names": [      "Glock 17",      "Beretta 92FS"    ]  }}
  3. 3

    The server answers

    Result
    json
    {  "compared": true,  "firearms": [    {      "id": "glock-g17",      "name": "Glock 17",      "version": "1dc0085f469a3786f9cd4fce92845f4beffcb0494239e4419a17c3adf09b4749",      "manufacturer": "Glock Ges.m.b.H.",      "primaryCaliber": "9x19mm Parabellum"    },    {      "id": "beretta-92fs",      "name": "Beretta 92FS",      "version": "37fc8cf70018f3668accdc9e458e617dd2f6b7271eb8c7f0d06e473f6c8892e9",      "manufacturer": "Beretta",      "primaryCaliber": "9x19mm Parabellum"    }  ],  "differences": [    {      "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    }  ],  "leaders": {    "lightest": {      "id": "glock-g17",      "name": "Glock 17",      "value": 625    },    "shortest": {      "id": "glock-g17",      "name": "Glock 17",      "value": 204    },    "highestCapacity": {      "id": "glock-g17",      "name": "Glock 17",      "value": 17    }  },  "unresolved": []}

    Captured from the live API on Sep 17, 2026. Lists and long text are shortened for display.