Skip to main content
Glama

github_repos_get_repo_ruleset_history

Retrieves the version history of a repository ruleset, showing past changes and rule updates so you can audit or troubleshoot governance settings.

Instructions

Get repository ruleset history

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_get_repo_ruleset_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoThe page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
repoYesrepo
ownerYesowner
per_pageNoThe number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
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
Behavior2/5

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

No annotations are provided, and the description is minimal. It does not disclose behavioral traits such as read-only nature, pagination behavior (though schema hints at it), rate limits, or what the history includes. The description fails to add value beyond the tool name.

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?

Single phrase 'Get repository ruleset history' is very concise but lacks structure. It could benefit from a brief sentence or two to provide context without being verbose.

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?

No output schema, so the description should explain what history contains (e.g., list of versions, timestamps, actors). The description is too brief to be complete given the complexity of history retrieval and the presence of sibling tools that require differentiation.

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%, with minimal descriptions for owner, repo, and ruleset_id. The description adds no additional meaning beyond the schema. Baseline 3 is appropriate as schema already documents parameters.

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?

Description clearly states 'Get repository ruleset history', which is a specific verb and resource. It distinguishes from similar tools like 'get_repo_ruleset' (current ruleset) and 'get_repo_ruleset_version' (specific version), but does not explicitly mention that it returns a list of historical changes.

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 tool versus alternatives. The description does not explain that this tool is for viewing history, while others are for current configuration or specific versions.

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