Skip to main content
Glama

github_repos_get_repo_rule_suites

List repository rule suites and filter rule evaluations by ref, actor, time period, or result to inspect policy compliance across branches and tags.

Instructions

List repository rule suites

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

Input Schema

NameRequiredDescriptionDefault
refNoThe name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit to tags. Omit the prefix to search across all refs. When specified, only rule evaluations triggered for this ref will be returned.
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)."
actor_nameNoThe handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned.
time_periodNoThe time period to filter by. For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for rule suites that occurred in the past 7 days (168 hours).
rule_suite_resultNoThe rule suite results to filter on. When specified, only suites with this result will be returned.

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?

No annotations are provided, so the description must disclose behavioral traits. The description only says 'List repository rule suites', which implies a read operation but does not explicitly state idempotency, pagination, or any side effects. For a listing tool, more context (e.g., pagination support) would be helpful.

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?

Description is only 4 words, with no extraneous text. It is extremely concise but perhaps too brief for a complex tool with 8 parameters and sibling tools. More front-loaded information (e.g., scope, filtering) would improve usability.

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?

The tool has 8 parameters, no output schema, and no annotations. The description does not mention available filters (ref, time_period, actor, etc.) or pagination behavior. For a listing tool, this is insufficient contextual completeness.

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?

The input schema has comprehensive descriptions for all 8 parameters (100% coverage). The tool description adds no additional parameter semantics. Therefore, the baseline of 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?

Description clearly states the action (list) and resource (repository rule suites). However, it does not differentiate from sibling tools like 'get_repo_rule_suite' or 'get_org_rule_suites', so the agent may not know when to use this specific version.

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?

Description provides no usage guidelines; it does not indicate when to use this tool over similar tools like 'get_repo_rule_suite' or 'get_org_rule_suites'. The agent must infer from the name 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