Skip to main content
Glama

Look up an advisory

get_advisory
Read-onlyIdempotent

Looks up one security advisory by its GHSA, CVE, MAL or PYSEC id: severity, whether it reports malware, which packages and version ranges it affects in npm, PyPI, Composer, RubyGems, Go, Maven and NuGet, and the versions that fix it.

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": {
      "id": "<id>"
    },
    "name": "get_advisory"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAn advisory id: GHSA-xxxx-xxxx-xxxx, CVE-2024-12345, MAL-2025-1234 or PYSEC-2024-1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 profile is fully covered by structured data. The description's real added value is content disclosure — severity, malware flag, affected packages/version ranges, fixed versions — which matters because there is no output schema. It says nothing about behavior for unknown or malformed ids, which is the main remaining gap.

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: verb and scope first, id formats second, returned fields last. Nothing is padding, though the ecosystem enumeration ('npm, PyPI, Composer, RubyGems, Go, Maven and NuGet') makes it run long and could be compressed without losing meaning.

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?

With no output schema, the description carries the return-value burden and does so by naming severity, malware status, affected packages/version ranges and fixed versions. For a single-parameter read tool with full annotation coverage, that is close to sufficient; only error/unknown-id behavior is unaddressed.

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's description already lists GHSA, CVE, MAL and PYSEC formats. The description repeats those formats and broadens the ecosystem list, adding marginal meaning but no new constraint such as case sensitivity or behavior on a valid-but-unknown id. 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 and resource ('Looks up one security advisory'), names the accepted id formats, and enumerates the returned facts. An agent can immediately tell this is an id-based detail lookup, distinct from package/repo-scanning siblings, though no sibling is named.

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 phrase 'by its ... id' — call this when you already hold an advisory identifier. There is no explicit when-not condition, no mention of what to do when you only have a package name (the apparent sibling scenario), and no prerequisite guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources