Skip to main content
Glama

merjax_update_repo

Destructive

Update repository description / visibility / default_branch / automation dials / merge-conflict AI mode / GateTest switch. Requires 'admin' access on the repo (owner, org owners/admins, admin collaborators) and 'repo' scope. Returns {ok: true}; with gate_test_enabled, also gate_test {enabled, server_configured, state: on | disabled_in_settings | not_configured_on_server, details}. merjax_get_branch_protection reads gate_test without changing it.

Input Schema

NameRequiredDescriptionDefault
repoYesRepo name
ownerYesRepo owner username
automationNoPer-repo automation dials, same keys as Settings → Automation: ai_review_mode, pr_triage_mode, issue_triage_mode, auto_merge_mode, ci_autofix_mode, auto_repair_mode, auto_issues_mode, doc_drift_mode, merge_train_mode. Values: off | suggest | auto (merge_train_mode runs only on auto). Only the keys given change.
is_privateNoSet visibility (optional)
descriptionNoNew description (optional)
default_branchNoSet default branch (optional)
gate_test_enabledNoTurn the GateTest scan on or off for this repository (Settings → Gates → GateTest scan; repo_settings.gate_test_enabled, off by default). Audited as gates.settings.update. A switch that is on scans only where the server has GATETEST_URL: gate_test.state says not_configured_on_server otherwise.
conflict_resolution_modeNoWho may settle merge conflicts with AI (Settings → Gates → Merge conflicts): manual (no AI) | review_first (default: AI proposes per block, a person accepts, edits or rejects) | auto_land (saved; acted on once the auto-land step ships — until then it behaves as review_first).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare a mutation with destructiveHint=true, and the description adds context beyond them: the auth/scope requirement, the return shape {ok: true}, and the extra gate_test payload with its state enumeration. The one gap is that destructiveHint is never explained behaviorally — nothing warns that flipping is_private to public exposes the repo or that changes take effect immediately.

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 first sentence front-loads the action and the full field inventory, then prerequisites and return shape follow in priority order. It is dense but every sentence contributes; the only mild waste is the slash-separated field list, which partly duplicates what the schema shows.

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

Completeness4/5

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

For an 8-parameter mutation with a nested object and no output schema, the description covers the essentials: what can change, who may call it, what comes back, and how the gate_test result should be interpreted. It still omits partial-update semantics (that untouched fields, including automation keys, are left alone) and any failure modes, which an agent would want before mutating settings.

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 the schema already documents every field, including the automation dial keys, the conflict_resolution_mode values and the gate_test semantics. The description largely echoes that field list rather than adding new meaning such as default values or interaction effects between parameters. Baseline 3 applies when the schema carries the semantics.

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 gives a specific verb ('Update') plus resource ('repository') and enumerates the mutable fields: description, visibility, default_branch, automation dials, conflict_resolution_mode and gate_test_enabled. That is far more than a restatement of the name. It stops short of a 5 because it does not disambiguate from overlapping siblings such as merjax_set_auto_merge, merjax_set_pr_ai_settings or merjax_set_branch_protection, leaving the agent to guess where the automation dials and GateTest switches really belong.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the access prerequisite ('admin' on the repo, owner/org admin/admin collaborator) and the required 'repo' scope, which tells the agent when the call can succeed. It also routes the read-only case away explicitly: 'merjax_get_branch_protection reads gate_test without changing it.' There are no exclusions for the other setting-mutating siblings, so it is clear but not fully discriminating.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources