Skip to main content
Glama

github_actions_create_org_actions_policy

Create an organization-level GitHub Actions policy to control which actions and workflows are allowed. Define policy rules by sending a JSON request body for the specified organization.

Instructions

Create an organization 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": {
      "org": "<org>"
    },
    "name": "github_actions_create_org_actions_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgYesorg
bodyNoRequest body (JSON object)

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 disclose readOnlyHint=false and openWorldHint=true, so mutation and external effects are covered. The description adds nothing: it does not say what happens if a policy already exists, whether it overwrites or errors, what permissions are needed, or what the free-form body must contain.

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 a verbatim restatement of the tool name, so its brevity comes from under-specification rather than discipline. There is no front-loaded detail beyond the title.

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 nested, untyped body parameter, no output schema, and minimum annotations, the description leaves the agent without the information needed to construct the request. A sentence on the body's shape and the required admin permission would close most of the gap.

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 reads 100%, but that coverage is nominal: the org parameter is described only as "org" and the body is an unconstrained additionalProperties object described as "Request body (JSON object)". Since the body's actual fields (allowed actions, workflow permissions, etc.) are documented nowhere, the description needs to compensate and does not.

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

Purpose4/5

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

"Create an organization Actions policy" names a specific verb (Create) and a specific resource (organization Actions policy). The "org" qualifier implicitly separates it from the sibling github_actions_create_repo_actions_policy, though the description never states that distinction explicitly.

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?

No when-to-use guidance is given: nothing says to use this instead of update_org_actions_policy (for changing an existing policy) or the repo-scoped variant. The agent must infer from the tool name alone that this is for establishing a policy that does not yet exist and that an admin scope is likely required.

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