Skip to main content
Glama

github_repos_update_repo_ruleset

Modify a GitHub repository ruleset by providing owner, repo, ruleset ID, and body payload to update rules and enforcement settings.

Instructions

Update 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>",
      "ruleset_id": "<ruleset_id>"
    },
    "name": "github_repos_update_repo_ruleset"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
repoYesrepo
ownerYesowner
ruleset_idYesruleset_id

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

C2.8/5.0
Behavior1/5

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

No annotations are provided, so the description bears full responsibility for behavioral disclosure. The single line 'Update a repository ruleset' gives no information about side effects, idempotency, error conditions, permissions required, or rate limits. This is severely lacking 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.

Conciseness3/5

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

The description is extremely concise—one phrase. While it is front-loaded, it is too minimal. Every word earns its place, but the description lacks sufficient depth. It is not verbose but also not helpful beyond a basic label.

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 absence of output schema and annotations, the description is incomplete. It does not explain what fields can be updated in the body, the HTTP method implied, or how to handle responses. For a tool modifying a repository ruleset, more contextual information is necessary for safe and 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%, baselining at 3. The description does not add any meaning beyond the schema. The body parameter is described only as 'Request body (JSON object)' with no additional context on allowed properties or format, which would benefit from elaboration. However, since schema coverage is high, the description merely maintains the baseline.

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 'Update a repository ruleset' clearly states the verb (update) and resource (repository ruleset). It distinguishes clearly from sibling tools like create_repo_ruleset, get_repo_ruleset, and delete_repo_ruleset, providing specific purpose clarity.

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 versus alternatives. It does not mention prerequisites (e.g., need a valid ruleset_id), nor does it explain scenarios where updating is appropriate compared to creating or deleting. No usage context is given.

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