Skip to main content
Glama
MCP GitHub CrunchTools

MCP GitHub CrunchTools

by crunchtools

Get Org Actions Policy Tool

get_org_actions_policy_tool
Read-only

Fetches a specific GitHub organization's Actions policy by organization name and policy ID for inspection and verification.

Instructions

Get one of an organization's Actions policies.

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": "get_org_actions_policy_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgYesOrganization name
policy_idYesPolicy ID

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

B3.2/5.0
Behavior2/5

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

readOnlyHint=true already declares this is a safe read, and the description adds only the scoping notion of retrieving a single policy. It says nothing beyond the annotations about errors on unknown policy IDs, whether disabled/default policies are returned, or any access constraints, so it earns little credit above the structured safety hints.

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 with no filler, front-loading the verb and resource. It is efficient, though its brevity is close to under-specification rather than disciplined concision.

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?

For a two-parameter read tool with an output schema and full schema coverage, the description is adequate to invoke it correctly. It leaves a gap around discovering valid policy_id values, which a caller of a get-by-ID tool would typically need.

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% (both org and policy_id are documented, with a minimum on policy_id), so the baseline is 3. The description adds no meaning beyond the schema — it does not clarify org name format or how policy_id maps to policies seen in the list tool.

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?

"Get one of an organization's Actions policies" gives a specific verb (get) and resource (Actions policy), and "one of" signals single-item retrieval. It stops short of distinguishing itself from list_org_actions_policies_tool or the create/update variants by name, but the intent is discernible.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: "one of" suggests fetching a specific, already-known policy rather than enumerating them. There is no explicit statement of when to prefer this over list_org_actions_policies_tool or get_org_* alternatives, and no mention of how a caller obtains a valid policy_id.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.