Skip to main content
Glama

github_repos_create_repo_ruleset

Create a repository ruleset to enforce branch, tag, or push rules and control how changes enter a GitHub repository.

Instructions

Create a repository ruleset

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": {
      "owner": "<owner>",
      "repo": "<repo>"
    },
    "name": "github_repos_create_repo_ruleset"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
repoYesrepo
ownerYesowner

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.4
  2. Removed
  3. Addedv1.0.2

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description must disclose behavior. 'Create' implies a write operation but does not clarify whether overwriting an existing ruleset is allowed, required permissions, rate limits, or side effects. The description is insufficiently transparent 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence that is front-loaded and contains no extraneous information. It efficiently conveys the core purpose.

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?

Given the tool's complexity (freeform body parameter, no output schema), the description is severely incomplete. It omits critical context such as body structure constraints, required fields, permissions, and return value. The description fails to fully equip an agent for correct invocation.

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 coverage is 100% but parameter descriptions are minimal (e.g., 'Request body (JSON object)'). The description adds no additional meaning beyond the schema. Baseline is 3 due to high schema coverage, but no extra semantic value is provided.

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

Purpose5/5

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

The description 'Create a repository ruleset' clearly states the action (create) and the resource (repository ruleset). It distinguishes this tool from siblings like delete, update, get, and org-level ruleset tools, making the purpose unambiguous.

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?

The description provides no guidance on when to use this tool vs alternatives such as creating org-level rulesets, nor does it mention prerequisites (e.g., admin permissions) or scenarios where creation is inappropriate. This lack of usage context forces agents to rely on name similarity alone.

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