Skip to main content
Glama

github_code_quality_update_setup

Updates a repository's code quality setup configuration for a specified owner and repo, enabling changes to quality settings through the GitHub API.

Instructions

Update 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_update_setup"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
repoYesrepo
ownerYesowner

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the agent knows this writes to an external system. The description adds nothing beyond that: it does not say whether the update is a full replace or a partial merge, what happens to fields omitted from the body, whether elevated permissions are required, or whether the change is reversible.

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?

It is a single short sentence with no wasted words, but this is brevity through under-specification rather than efficient front-loading. Nothing about the actual update payload is surfaced.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with a free-form nested request body and no output schema, the description should explain at minimum what configuration settings are being updated and their expected shape. None of that is present, leaving the definition insufficient to invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is nominally 100%, but the key parameter `body` is an untyped object with `additionalProperties: {}` and the only text is "Request body (JSON object)" — no field names, no expected keys, no structure. The description does not compensate at all, so the agent has no way to construct a valid payload for this nested-object parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Update a code quality setup configuration" restates the tool name (github_code_quality_update_setup) with no added specificity. It does not say what a "setup configuration" contains or how this differs from siblings such as github_code_quality_get_setup or github_code_scanning_update_default_setup, so an agent cannot distinguish update vs. read or code-quality vs. code-scanning from the text alone.

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 when-to-use guidance, no prerequisites (admin/org permissions), and no reference to the read-side sibling that should be called first to inspect the current configuration. The only signal that this is a mutation comes from the annotations, not the description.

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