Skip to main content
Glama

github_actions_set_self_hosted_runners_permissions_organization

Idempotent

Configure organization-level permissions for GitHub Actions self-hosted runners by supplying the organization and desired permission settings.

Instructions

Set self-hosted runners settings for an organization

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_set_self_hosted_runners_permissions_organization"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgYesorg
bodyNoRequest body (JSON object)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.2

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare a non-read-only, idempotent, open-world write; the description adds nothing about the fact that this replaces the existing policy wholesale or what state it leaves behind. For a mutation tool whose annotations are the only behavioral signal, more disclosure is expected.

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?

A single short sentence with no wasted words, but the brevity comes at the cost of specification rather than through efficient front-loading. Being short alone does not earn a high score when key information is absent.

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 write tool with an opaque free-form body and no output schema, the definition is inadequate: it never explains the body shape or the resulting policy state. The agent would have to guess the payload, which is the main failure mode here.

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 only substantive parameter is an unconstrained JSON object described merely as 'Request body (JSON object)' with additionalProperties {} — effectively zero field-level documentation. The description does not name any body field (e.g. enabled_repositories), so an agent cannot construct a valid call from it.

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 gives a verb and resource ('Set ... settings for an organization'), but 'settings' is never specified — it does not say this controls which repositories may use self-hosted runners (the enabled-repositories policy). It also fails to distinguish itself from the sibling get_self_hosted_runners_permissions_organization or set_selected_repositories_self_hosted_runners_organization.

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 versus the get counterpart or the selected-repositories variant, and no mention of prerequisites or required org-admin scope. The agent must infer usage entirely from the tool name.

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