Skip to main content
Glama
MCP GitHub CrunchTools

MCP GitHub CrunchTools

by crunchtools

Set Org Fork Pr Approval Tool

set_org_fork_pr_approval_tool

Configure which outside contributors must be approved before fork pull request workflows run, choosing first-time or all external contributors.

Instructions

Set which outside contributors need approval before fork PRs run workflows.

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>",
      "approval_policy": "<approval_policy>"
    },
    "name": "set_org_fork_pr_approval_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgYesOrganization name
approval_policyYesfirst_time_contributors_new_to_github, first_time_contributors, or all_external_contributors (every outside contributor needs approval)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden and largely drops it. It does not say that this overwrites the current org-level policy, whether the change requires elevated permissions, whether it affects all repositories in the org, or whether the change is reversible — all material for a mutation tool.

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 front-loaded sentence with no filler or redundancy. It is efficient, but its brevity contributes to the gaps elsewhere rather than being a model of tight specification.

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?

An output schema exists and the parameters are fully documented, so the remaining obligation is behavioral, and that is where it falls short. For an unannotated org-level mutation, the definition should at least indicate replacement semantics and permission requirements.

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%, and the enum values are documented inline including an explanation of 'all_external_contributors'. The description itself adds no meaning beyond the schema, so the baseline 3 applies.

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?

The sentence gives a concrete verb ('Set') and resource ('which outside contributors need approval before fork PRs run workflows'), which is more specific than the title restatement. It is clear that this configures an approval gate on fork PR workflow runs, though it never names the read counterpart get_org_fork_pr_approval_tool that an agent might confuse it with.

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 guidance on when to use this instead of the get_ variant, no statement about prerequisites (org admin rights), and no note about whether this replaces or merges with an existing policy. The agent must infer the read/write split from the tool names alone.

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