Skip to main content
Glama

github_repos_get_repo_ruleset_version

Retrieve a specific version of a repository ruleset using owner, repo, ruleset ID, and version ID to inspect rule changes or historical configuration.

Instructions

Get repository ruleset version

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>",
      "version_id": "<version_id>"
    },
    "name": "github_repos_get_repo_ruleset_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesrepo
ownerYesowner
ruleset_idYesruleset_id
version_idYesversion_id

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It only states the basic action, omitting critical details like idempotency, authentication requirements, rate limits, or response format. This leaves the agent with significant unknowns.

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?

The description is extremely concise at 4 words, with no redundancy. However, it lacks structure (e.g., no sections) and may be overly terse for complex uses.

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 lack of output schema and annotations, the description is insufficient. It does not explain what a 'ruleset version' is, how to obtain a valid version_id, or what the tool returns. Sibling tools exist for related operations, but no contextual links are provided.

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?

Input schema coverage is 100%, but each parameter's description is merely the parameter name (e.g., 'owner'). The tool description does not add any additional meaning or guidance. The baseline score is 3 due to high schema coverage, but no extra value is provided.

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 description clearly states the action 'Get' and the resource 'repository ruleset version'. While it doesn't explicitly differentiate from sibling tools like `get_org_ruleset_version`, the tool name itself provides scope context. The purpose is 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 gives no guidance on when to use this tool versus related tools such as `get_repo_ruleset` (which retrieves the current ruleset) or `get_repo_ruleset_history` (which lists versions). No context about appropriate scenarios is provided.

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