Skip to main content
Glama

Set up repository

set-up-repository-tool
Read-onlyIdempotent

Call when the person asks to set up, connect or wire this repository to Coderbuds. Returns the steps to carry out: write the two moments (check before pushing or opening a pull request, report after) into the repository's agent guidance, commit the Coderbuds MCP connection so the rest of the team gets it, open both as one pull request, then call get-team-context-tool to prove it works. Pass repository so the committed connection is pinned to its team, and via_plugin when the Coderbuds plugin for Claude Code connected you.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set-up-repository-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
repositoryNoThe repository being set up, as owner/name — read it from `git remote get-url origin`.
via_pluginNoTrue when you are connected through the Coderbuds plugin for Claude Code. The steps then commit the plugin for the team instead of a second copy of the server.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / via_plugin
      Added value: +{
      +  "default": false,
      +  "description": "True when you are connected through the Coderbuds plugin for Claude Code. The steps then commit the plugin for the team instead of a second copy of the server.",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare readOnlyHint and idempotentHint, and the description is consistent with them: 'Returns the steps to carry out' makes clear the tool produces instructions, not mutations. It goes further than the annotations by spelling out the downstream actions the agent will take (writing agent guidance, committing the MCP connection, opening one pull request), so the agent knows the blast radius of following the returned steps.

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 trigger condition is front-loaded and the parameter guidance is grouped at the end, which is the right ordering. The middle enumeration of the four steps is longer than strictly necessary for tool selection, though it does preview the return value in the absence of an output schema.

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?

With no output schema, the description carries the return-value burden and does so by summarizing the steps returned. The two-parameter schema is fully documented, so the only real gap is failure behavior (e.g. what happens if the directory is not a git repository or origin is missing), which is minor for a read-only step generator.

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 both parameters already document their format and default. The description adds only rationale beyond that ('so the committed connection is pinned to its team', and how via_plugin changes what gets committed), which is helpful framing but not additional syntax or constraint detail, 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?

The description names a specific verb and resource ('set up, connect or wire this repository to Coderbuds') and immediately clarifies the unusual mechanic: it returns the steps to carry out rather than performing them. That distinction separates it from siblings like get-setup-status-tool or deploy-repository-tool without the agent needing to open a schema.

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?

The opening clause is an explicit invocation trigger tied to the user's phrasing ('when the person asks to set up, connect or wire'), and it names the follow-up call to get-team-context-tool once the steps are done. It stops short of saying when not to use it, e.g. when setup has already been completed and get-setup-status-tool is the right call instead.

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