CVSS Calculator
cvss_calculatorDecode a CVSS v3.0/v3.1 vector into its base metrics and recompute its base, temporal and environmental scores. Use it on a vector you hold; cve_lookup already gives the scores of a CVE. v2 and v4 are refused.
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": {
"vector": "<vector>"
},
"name": "cvss_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vector | Yes | CVSS:3.0/ or CVSS:3.1/ vector with all eight base metrics; temporal and environmental metrics are optional, e.g. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vector | Yes | The vector as sent. | |
| credits | Yes | ||
| metrics | Yes | The eight base metrics, spelled out. | |
| summary | Yes | One sentence: version, severity, base score, and AV, AC, PR, UI and Scope. | |
| version | Yes | 3.0 or 3.1. | |
| base_score | Yes | 0-10. | |
| base_severity | Yes | NONE at 0.0, LOW below 4.0, MEDIUM below 7.0, HIGH below 9.0, else CRITICAL. | |
| temporal_score | Yes | 0-10, with the temporal metrics of the vector. A metric it leaves out counts as Not Defined. With none, it equals base_score. | |
| environmental_score | Yes | 0-10, with the environmental metrics of the vector. A metric it leaves out counts as Not Defined. With none, it usually equals base_score, but CVSS 3.1 can give another value. |