Skip to main content
Glama

GitHub Security Advisories GHSA MCP

List recent GitHub Security Advisories

list_recent_advisories
Read-onlyIdempotent

Retrieve recently published advisories from the GitHub Advisory Database with optional type and severity filters.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_recent_advisories"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoAdvisory review type (default "reviewed").
limitNoMaximum advisories to return (default 15).
severityNoOptional severity filter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds only that results are 'recently published' and come from the GitHub Advisory Database; it does not clarify ordering guarantees, pagination behavior, rate limits on the open-world dependency, or what a returned record contains.

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

Conciseness5/5

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

A single front-loaded sentence with the resource first and qualifiers after; no filler, hedging, or repetition of the title.

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 simple, annotation-rich, fully documented read tool this is close to sufficient, but there is no output schema and the description says nothing about result shape or ordering, and it gives no routing guidance among four closely related advisory tools.

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%, including enum values, defaults (type='reviewed', limit=15) and the limit maximum of 50, so the schema carries parameter meaning. The description restates only the type and severity filters and omits the limit parameter entirely, adding nothing beyond structured fields.

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?

Clear verb+resource: 'Retrieve recently published advisories from the GitHub Advisory Database' names the source and the recency scope, and the filter fields are specified. It stops short of distinguishing itself from siblings like list_critical_advisories, which overlaps heavily with the severity filter described here.

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

Usage Guidelines2/5

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

No when-to-use, when-not-to-use, or alternative routing is given. An agent cannot tell from this text whether to call list_recent_advisories or list_critical_advisories when it wants high-severity items, nor whether get_advisory_by_ghsa is the follow-up for details.

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.