Skip to main content
Glama

list_secret_scanning_alerts

Retrieve secret scanning alerts for a repo or org, with optional state filter. Requires GHAS and token with access.

Instructions

List secret-scanning alerts for a repo, or for an org if repo is omitted.

state: open | resolved. Requires GHAS/secret-scanning enabled and a token with access.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoNo
ownerYes
stateNoopen

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Given no annotations, the description covers prerequisites and state filtering, but lacks details on pagination, rate limits, or what happens when no alerts are found. The output schema may supplement return value details, but behavioral traits like potential delays or errors are not addressed.

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?

The description is two sentences, front-loaded with the core action, and every word adds value. It is concise without sacrificing clarity.

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 simple listing tool, the description covers purpose, scope, state, and requirements. With an output schema available, it is largely complete. Minor omissions like pagination handling are acceptable for this complexity level.

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

Parameters4/5

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

Schema description coverage is 0%, so the description carries the full burden. It explains that repo is optional for org-level listing, state can be open or resolved, and owner is required. This adds meaningful context beyond the schema's bare parameter names.

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

Purpose5/5

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

The description clearly states the tool lists secret-scanning alerts, distinguishing between repo-level and org-level by omitting the repo parameter. This sets it apart from sibling tools like list_code_scanning_alerts or list_dependabot_alerts.

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

Usage Guidelines4/5

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

The description provides context for use: it lists alerts for a repo or org, with state filter options (open/resolved), and mentions prerequisites (GHAS enabled, token access). However, it does not explicitly exclude other tools or provide alternative suggestions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mholzinger/ghe-mcp-gateway'

If you have feedback or need assistance with the MCP directory API, please join our Discord server