Skip to main content
Glama

github_actions_create_repo_actions_policy

Create a repository Actions policy to control GitHub Actions workflow permissions and execution rules for a specific repo.

Instructions

Create 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>"
    },
    "name": "github_actions_create_repo_actions_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
repoYesrepo
ownerYesowner

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

D1.9/5.0
Behavior1/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, establishing this as a mutating, externally visible operation. The description contributes nothing beyond that: it does not say what a policy controls, whether the call is idempotent, what happens on conflict, or what permissions/scope the token needs. With a free-form request body, this silence is a real gap.

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?

Five words, so nothing is wasted, but the brevity comes from under-specification rather than economy. There is no front-loaded scope statement or clause about effect, so there is simply too little content to be well structured.

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?

This is a mutating, open-world tool accepting a nested free-form object, with no output schema and no annotation detail beyond safety hints. The description supplies no information about the body's expected shape or the result, so it is not complete enough for reliable invocation.

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?

Schema coverage is nominally 100%, but the three entries are placeholders ("owner", "repo", "Request body (JSON object)"), and the body is an untyped object with additionalProperties unfilled. Baseline 3 would apply if the schema did the heavy lifting; here the description could have listed the meaningful policy fields (e.g. enabled, allowed_actions) and did not, leaving the most important parameter semantically unexplained.

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 "Create a repository Actions policy" restates the tool name (github_actions_create_repo_actions_policy) almost word for word. It conveys a verb and resource but adds no distinguishing detail versus siblings such as github_actions_create_org_actions_policy or github_actions_create_repo_variable, so an agent gets no more than it already infers from the 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 guidance on when to use this tool versus the org-level policy creator or the update/delete variants. No preconditions (existing policy, required permission level, whether creation fails when a policy already exists) are stated, so the agent must guess.

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