Skip to main content
Glama

github_secret_scanning_update_org_custom_pattern

Update an organization's custom secret scanning pattern to adjust detection rules, helping maintain accurate secret detection across repositories.

Instructions

Update an organization custom pattern

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": {
      "org": "<org>",
      "pattern_id": "<pattern_id>"
    },
    "name": "github_secret_scanning_update_org_custom_pattern"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgYesorg
bodyNoRequest body (JSON object)
pattern_idYespattern_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2.1/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false and openWorldHint=true, so the mutation profile is already known. The description adds nothing beyond that: it does not say whether the update is destructive or additive, whether unspecified fields are preserved, what permissions are required, or what happens on a nonexistent pattern_id.

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 filler and the resource is front-loaded, but brevity here comes from under-specification rather than economy of expression.

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 mutation tool with a free-form nested body, no output schema, and multiple near-identical siblings, this definition leaves out nearly everything an agent needs: the body contract, mutation semantics, and scope differentiation. Only the annotations and the name carry information.

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

Parameters2/5

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

Nominal schema coverage is 100%, but the schema descriptions are pure tautologies ('org', 'pattern_id', 'Request body (JSON object)'), and body is an unconstrained nested object with additionalProperties and no documented fields. The description does nothing to compensate for that real gap, leaving the agent with no idea what to put in the body.

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

Purpose2/5

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

The description 'Update an organization custom pattern' essentially restates the tool name (github_secret_scanning_update_org_custom_pattern) with no added specificity. It does not say what fields of the pattern can be changed, whether it is a partial or full replacement, or how it differs from the repo-level sibling github_secret_scanning_update_repo_custom_pattern.

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 or when-not-to-use guidance. An agent must infer from the name alone that this is the org-scoped variant, and nothing steers it toward or away from github_secret_scanning_update_repo_custom_pattern, github_secret_scanning_update_org_pattern_configs, or the bulk variants.

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