Get package score
get_packageFetch a package's health and risk score by name. If it has never been scored, triggers a crawl and waits for the rating to complete.
Instructions
Get the full health/risk score for a single package by name. If the package has never been scored, this triggers a crawl and waits (bounded) for it to finish before returning.
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": {
"name": "<name>"
},
"name": "get_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name in its registry, e.g. "axios" or "requests". | |
| version | No | Specific version to look up. Defaults to the most recently crawled version. | |
| language | No | Language ecosystem. Defaults to javascript. |