Skip to main content
Glama

github_actions_get_org_actions_policy

Read-only

Retrieve a specific GitHub Actions policy for an organization by providing the org name and policy ID.

Instructions

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

Input Schema

NameRequiredDescriptionDefault
orgYesorg
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 readOnlyHint=true and openWorldHint=true, so the safety profile is covered structurally. The description adds nothing beyond that — no note on permissions required, what a policy object contains, or whether an unknown policy_id errors versus returns empty.

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 and the resource is front-loaded. But the brevity comes from under-specification rather than efficiency — there is no second sentence carrying the detail an agent would need.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a simple two-parameter read tool with full schema coverage and read-only annotations, so the description does not need to explain return values. Still, it is essentially a restatement of the name and offers no orientation about which of the many policy-related siblings to choose.

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 both parameters are already documented in the schema, which sets the baseline at 3. The description contributes no extra meaning about the org scope or the policy_id format, so it neither helps nor hurts.

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 ('Get an organization Actions policy'), so the basic operation is identifiable. However, it never distinguishes this single-policy fetch from siblings such as github_actions_get_org_actions_policies (the list variant) or github_actions_get_repo_actions_policy, leaving the agent to infer the difference from names alone.

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 call this when a specific policy_id is known, nor that the plural sibling should be used to discover policy IDs first. The agent must guess the selection condition.

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