Skip to main content
Glama

github_agents_remove_selected_repo_from_org_secret

DestructiveIdempotent

Remove a selected repository from a GitHub organization secret by providing the org, secret name, and repository ID. Use it to revoke one repository's access to an organization secret.

Instructions

Remove selected repository from an organization secret

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>",
      "secret_name": "<secret_name>",
      "repository_id": "<repository_id>"
    },
    "name": "github_agents_remove_selected_repo_from_org_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgYesorg
secret_nameYessecret_name
repository_idYesrepository_id

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, readOnlyHint=false, and openWorldHint=true, so the safety profile is fully covered by structured data. The description adds nothing beyond that: it does not say what the removal affects, whether the secret remains, or what happens if the repository was not selected.

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 it is under-specified rather than concise, adding no information an agent could not get from the name. Nothing is front-loaded beyond the bare action.

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 mutation tool with three required identifiers and no output schema, the definition is thin. It should state the effect on the secret's overall visibility and confirm whether the operation is idempotent in practice, since the agent has no other source for that behavior.

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%, so the schema is nominally the source of parameter documentation. Those schema descriptions are only the raw field names ('org', 'secret_name', 'repository_id'), and the tool description does not compensate with format hints such as owner/name vs numeric ID for repository_id. Baseline 3 applies since the schema technically documents all three.

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 description states a specific verb and resource (remove a selected repository from an org secret), so the action is unambiguous. However, it is a verbatim restatement of the tool name and gives no hint that would separate it from the closely named siblings (actions, codespaces, dependabot, and the org variable counterpart) without reading the prefixes.

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 prerequisites, and no mention of the alternative 'set selected repos' or 'remove all' style operations that live among the siblings. The agent must infer that this only detaches a single repository while leaving the secret and other selected repositories intact.

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