Skip to main content
Glama
rustsec-advisory-db-mcp

rustsec-advisory-db-mcp

List RustSec advisories for a crate

list_crate_advisories
Read-onlyIdempotent

List RustSec security advisories for a specific Rust crate to identify known vulnerabilities and affected releases.

Instructions

List all RustSec security advisories filed under a specific Rust crate name in rustsec/advisory-db.

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": {
      "crate": "<crate>"
    },
    "name": "list_crate_advisories"
  }
}

Input Schema

NameRequiredDescriptionDefault
crateYesRust crate name on crates.io (e.g. "tokio", "openssl", "hyper", "wasmtime").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety and side-effect profile is covered. The description adds that results come from rustsec/advisory-db, which is useful provenance, but says nothing about empty results, result size, or whether advisories affecting the crate indirectly are included.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence with the verb, resource and scope in order, and no filler. It is terse to the point of omitting any routing or behavioral detail, but nothing in it is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter, read-only lookup with full schema coverage, annotations and no output schema, the description covers what is needed to call it correctly. The main residual gap is not stating how results differ from keyword search or a by-ID advisory fetch.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single parameter is documented in the schema with examples of valid crate names. The description adds only that the name must correspond to an entry in rustsec/advisory-db, which is marginal beyond the schema; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (List) and resource (RustSec security advisories) scoped to a single Rust crate name in rustsec/advisory-db. The phrase 'filed under a specific Rust crate name' implies a direct crate lookup rather than a free-text search, which helps distinguish it from search_rustsec_advisories, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the scope statement: this is the tool for a known crate name. There is no explicit guidance on when to prefer search_rustsec_advisories (e.g. keyword or version-range lookups) or get_rustsec_advisory (single advisory by ID), nor any stated exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.