Skip to main content
Glama

github_actions_delete_repo_actions_policy

DestructiveIdempotent

Deletes a specified Actions policy from a GitHub repository using owner, repo, and policy ID to remove that policy restriction.

Instructions

Delete a repository Actions policy

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>",
      "policy_id": "<policy_id>"
    },
    "name": "github_actions_delete_repo_actions_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesrepo
ownerYesowner
policy_idYespolicy_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2.6/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 covered by structured data. The description adds nothing beyond that: it does not say the deletion is permanent/unrecoverable, that it affects CI behavior for the repository, or whether the operation fails for default policies.

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

Conciseness4/5

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

A single short sentence, front-loaded with the verb and resource, with no filler or redundancy. It is efficient, though its terseness is partly under-specification rather than disciplined conciseness.

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 with no output schema, the definition should explain irreversibility and prerequisites; annotations cover the readOnly/destructive flags but not the real-world consequences. Combined with placeholder schema descriptions, an agent lacks enough context to invoke this confidently.

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 nominally documents all three parameters, and the baseline of 3 applies. But those schema descriptions are placeholder strings (e.g. "policy_id": "policy_id"), and the tool description does no work to clarify the expected identifier format or whether policy_id is an ID versus a name.

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 verb and resource ('Delete a repository Actions policy') and the 'repository' qualifier does distinguish it from the org-level sibling github_actions_delete_org_actions_policy. However, it conveys nothing about what an Actions policy actually is or which fields/what scope the deleted policy covered, so it sits just above a restatement of the tool name.

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 exclusions, and no routing to the create/get/update siblings. It does not say whether built-in or default policies can be deleted, nor what prerequisite (e.g., admin permission on the repo) is required before calling.

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