Skip to main content
Glama

Connect a repository for Autofix

colliedesk_autofix_repo_connect
Idempotent

Connect a private repository of an active installation (github_repo_id from colliedesk_github_repositories_list), after Colliedesk reads its visibility from GitHub now: a public or internal one is refused (repo_not_private), and so is any while the installation reaches every repository (installation_blocked). default_connector is the coding agent a new fix on it suggests. Connecting one already connected resumes it. Undo with colliedesk_autofix_repo_disconnect.

Needs: autofix_settings:update.

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": {
      "installation_id": "<installation_id>",
      "github_repo_id": "<github_repo_id>"
    },
    "name": "colliedesk_autofix_repo_connect"
  }
}

Input Schema

NameRequiredDescriptionDefault
github_repo_idYes
installation_idYesThe installation's id in Colliedesk (installations[].id of colliedesk_autofix_settings_get), not GitHub's number.
default_connectorNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / description
      Added value: +"Same shape as colliedesk_autofix_repo_update's output."
    • removedOutput schema / properties
      Removed value: -{
      -  "repo": {
      -    "properties": {
      -      "connected_at": {
      -        "type": "string"
      -      },
      -      "connected_by_name": {
      -        "type": "string"
      -      },
      -      "default_branch": {
      -        "type": "string"
      -      },
      -      "default_connector": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "full_name": {
      -        "type": "string"
      -      },
      -      "github_repo_id": {
      -        "type": "integer"
      -      },
      -      "id": {
      -        "type": "string"
      -      },
      -      "include_notes": {
      -        "type": "boolean"
      -      },
      -      "installation_id": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "paused_at": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "paused_reason": {
      -        "description": "Why it takes no new fix: became_public, removed_from_app or installation_suspended.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "visibility": {
      -        "enum": [
      -          "private",
      -          "internal",
      -          "public"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "github_repo_id",
      -      "full_name",
      -      "visibility",
      -      "include_notes",
      -      "default_connector",
      -      "paused_reason"
      -    ],
      -    "type": "object"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "repo"
      -]
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (which already declare non-readOnly, idempotent, non-destructive), the description discloses the permission required (autofix_settings:update), the two named refusal conditions, and the idempotent 'resumes it' behavior — meaningful context the structured fields do not carry. It also explains what default_connector actually affects, which is behavioral, not just structural.

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?

Front-loaded with the verb and resource, and every clause carries information (refusal codes, idempotency, undo, permission). The first sentence is long and grammatically tangled ('after Colliedesk reads its visibility from GitHub now'), which costs some readability, but there is no filler.

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

Completeness5/5

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

With an output schema present, return values need not be explained, and annotations already cover the safety profile. The description fills the remaining gaps an agent needs — permission, error conditions, idempotency, parameter sourcing — for a three-parameter mutation tool.

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

Parameters4/5

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

Schema coverage is only 33%, with github_repo_id and default_connector undocumented in the schema, so the description must compensate. It does: github_repo_id is sourced from colliedesk_github_repositories_list, and default_connector is defined as the coding agent a new fix on that repo suggests. Only the enum values themselves are left to the schema.

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

Purpose5/5

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

States a specific verb and resource ('Connect a private repository of an active installation') and constrains it to private repos, which is the key disambiguation. It also names the sibling used for the inverse operation (colliedesk_autofix_repo_disconnect) and the source of the repo id (colliedesk_github_repositories_list), so the agent can act without opening other schemas.

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?

Gives explicit preconditions and failure routing: public/internal repos are refused with repo_not_private, and any connect is refused with installation_blocked while the installation spans all repositories. It also states the undo path and that re-connecting an already-connected repo resumes rather than duplicates. It does not contrast with colliedesk_autofix_repo_update, but the when/when-not framing is otherwise complete.

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