Skip to main content
Glama

github_secret_scanning_bulk_delete_repo_custom_patterns

DestructiveIdempotent

Bulk delete repository custom secret scanning patterns for a specified GitHub owner and repo to simplify pattern cleanup.

Instructions

Bulk delete repository custom patterns

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": {
      "owner": "<owner>",
      "repo": "<repo>"
    },
    "name": "github_secret_scanning_bulk_delete_repo_custom_patterns"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesrepo
ownerYesowner

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2.5/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is covered structurally. The description adds nothing beyond that: it does not say whether all repo patterns are wiped, whether the deletion is reversible, or what permissions are required for a destructive bulk operation.

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

Conciseness3/5

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

It is a single short sentence with no wasted words, but that brevity comes from under-specification rather than efficient structure. There is no front-loaded scope or warning for a destructive operation.

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

Completeness2/5

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

For a destructive bulk-delete tool with no output schema, the description omits the critical context an agent needs: what exactly is removed, whether the action can be undone, and how it differs from the org-level counterpart. Annotations convey the danger flag but not the scope of the operation.

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% for both parameters (owner, repo), so the schema carries parameter meaning on its own. The description contributes no additional semantics, which is the expected baseline when the schema is fully documented.

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

Purpose3/5

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

The phrase 'Bulk delete repository custom patterns' names a verb and a resource, and the word 'repository' weakly distinguishes it from the org-scoped sibling (github_secret_scanning_bulk_delete_org_custom_patterns). However, it is essentially the tool name restated with no scope detail such as 'all patterns in the repo' or how bulk selection works.

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?

There is no when-to-use guidance, no mention of the single-pattern alternative (github_secret_scanning_update_repo_custom_pattern covers updates, not deletes), and no prerequisite or caution notes. An agent must infer everything about applicability from the name alone.

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

Deploy Server

Other Tools