Skip to main content
Glama

setup

Set up Collide on this machine, once for every repo on it. The answer has install.command: run it exactly as given, in a shell at the repo root. It installs Collide's hooks for Claude Code, Codex, Cursor and Hermes, links the machine to your account, and writes nothing into the repo; if the repo still has Collide's old per-repo setup (.collide/ hook files), it removes that and stages the removal for you to commit. Returns the command and what it installs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoIgnored: kept for older callers. The machine's hooks always gate writes.
repo_idYesThe repository id, e.g. github.com/org/repo (its git origin).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / mode / description
      Previous value: -"enforce (default: the pre-write gate is on), advisory (reporting only), or files (skip the command and return the files)."New value: +"Ignored: kept for older callers. The machine's hooks always gate writes."
    • changedInput schema / properties / repo_id / description
      Previous value: -"The repository id, e.g. github.com/org/repo (repo_id in .collide/config.json)."New value: +"The repository id, e.g. github.com/org/repo (its git origin)."
  2. Changed2 schema fields changed
    • addedInput schema / properties / mode / description
      Added value: +"enforce (default: the pre-write gate is on), advisory (reporting only), or files (skip the command and return the files)."
    • addedInput schema / properties / repo_id / description
      Added value: +"The repository id, e.g. github.com/org/repo (repo_id in .collide/config.json)."
  3. Added
  4. Removed
  5. Changed6 schema fields changed
    • removedInput schema / properties / mode / default
      Removed value: -"enforce"
    • removedInput schema / properties / mode / description
      Removed value: -"enforce (block the write on a certain collision) or advise (never block)."
    • removedInput schema / properties / mode / title
      Removed value: -"Mode"
    • removedInput schema / properties / repo_id / description
      Removed value: -"Repository id — the git remote (e.g. github.com/acme/api) or a bare folder name; a #branch suffix scopes to that branch."
    • removedInput schema / properties / repo_id / title
      Removed value: -"Repo Id"
    • removedInput schema / title
      Removed value: -"setupArguments"
  6. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false) by disclosing that nothing is written into the repo, that old per-repo .collide/ hook files are removed and staged for the user to commit, and that the machine is linked to the account. The staged-removal detail reconciles the seemingly destructive file deletion with destructiveHint=false.

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-loads the core action and the imperative to run the returned command, then packs install/removal/return details efficiently. Slightly dense but each clause carries distinct information.

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 no output schema, the description still explains the return ('Returns the command and what it installs'), the side effects, and the account linkage. An agent has everything needed to call it and act on the result.

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 coverage is 100% and the schema already documents repo_id (git origin) and explains that mode is ignored. The description only implies the repo-root context and adds no parameter syntax or format beyond the schema, so the baseline 3 applies.

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 ('Set up Collide on this machine') and enumerates exactly what the setup does: installs hooks for Claude Code, Codex, Cursor and Hermes, links the machine to the account. No sibling tool (blast_radius, claim, recall, etc.) overlaps, so the agent can identify it immediately.

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 concrete usage context: 'once for every repo on it' and 'run it exactly as given, in a shell at the repo root.' It does not name alternatives or explicit when-not-to-use conditions, but no sibling competes for this job, so the guidance is clear without exclusions.

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