Skip to main content
Glama

github_code_quality_get_setup

Read-only

Retrieve a GitHub repository's code quality setup configuration by owner and repo to inspect or verify the configured quality checks.

Instructions

Get a code quality setup configuration

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

Input Schema

NameRequiredDescriptionDefault
repoYesrepo
ownerYesowner

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered and the bar for the description is low. However, the description adds nothing beyond that: it says nothing about what a setup configuration contains, whether it requires admin permissions, or what happens when the repository has no code quality setup configured.

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?

A single front-loaded sentence with no filler or redundancy. Its brevity is the only flaw, but that is an under-specification problem rather than wordiness, so it scores well here.

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?

With no output schema, the description is the only place an agent could learn what the returned configuration looks like, and it provides nothing. For a tool with a vague domain term ('setup') and no return-value documentation, the description is well short of complete.

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 description coverage is 100%, so both required parameters are documented in the schema, and the baseline of 3 applies. The description adds no meaning beyond the schema — it does not even indicate that owner/repo identify the repository whose setup is being read.

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 pairs a specific verb ('Get') with a specific resource ('a code quality setup configuration'), so the operation is unambiguous. It does not distinguish itself from the sibling mutation tool (github_code_quality_update_setup) or clarify whether the 'setup' is repository- or organization-scoped, which keeps it from a 5.

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?

There is no statement of when to use this tool, when not to, or what alternative to pick if the caller wants to change rather than read the setup. The agent must infer from the name alone that this is the read counterpart to the update tool.

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