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

rustsec-advisory-db-mcp

Search recent RustSec disclosures

search_rustsec_advisories
Read-onlyIdempotent

Search RustSec advisory-db disclosures by crate name, RUSTSEC ID, or vulnerability keyword to find affected crates and review relevant security advisories.

Instructions

Search recent RustSec advisory-db disclosures by crate name, RUSTSEC ID, or vulnerability keyword.

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": {
      "query": "<query>"
    },
    "name": "search_rustsec_advisories"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax matches to return (default 15).
queryYesCrate name, RUSTSEC ID, or keyword (e.g. "openssl", "wasmtime", "memory").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so safety is covered structurally. The description adds only the qualitative scope 'recent', without defining the window, match semantics (substring vs. fuzzy vs. exact ID), or result ordering. Nothing contradicts the annotations.

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?

A single front-loaded sentence with zero filler; the verb and resource lead immediately. Its brevity is efficient rather than padded, though it leaves no room for the guidance gaps noted elsewhere.

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

Completeness3/5

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

For a two-parameter read-only search with full schema coverage and no output schema, the essentials are present. What is missing is the definition of 'recent' and any disambiguation from the crate-scoped sibling, both of which an agent would need to pick correctly.

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 description coverage is 100%, so both parameters, including the default-15 limit and the max-40 cap, are already documented in the schema. The description's parameter sentence largely restates the schema's query examples and adds no new meaning.

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+resource: searches RustSec advisory-db disclosures, and enumerates the three accepted lookup modalities (crate name, RUSTSEC ID, keyword). It does not distinguish itself from siblings, notably list_crate_advisories, which by name appears to overlap with the crate-name search path.

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 only implied by the query modes listed; there is no explicit statement of when to choose this over list_crate_advisories or get_rustsec_advisory. An agent must infer that this is the keyword/cross-corpus search entry point while the siblings are narrower lookups.

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