Skip to main content
Glama

repo_open_remote

Clone a remote Git repository into an isolated workspace and check out a branch, giving each task its own environment to prevent interference.

Instructions

Clone (or refresh) a remote Git repository into an isolated managed workspace and check out a branch. Use for work on a repository that is not already on this machine. Returns the same project brief as workspace_open. Each task gets its own workspace so parallel tasks cannot interfere.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskNoShort task label (e.g. "drawdown-alerts"). Keeps concurrent tasks on the same repo isolated, and lets you reattach later.
depthNoShallow clone depth. Omit for a full clone (needed for diffs against the base branch).
branchNoBranch to check out. Default: the repository default branch.
repositoryYesgithub:owner/repo, gitlab:group/repo, https://host/owner/repo.git, or git@host:owner/repo.git
Behavior4/5

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

Since no annotations are provided, the description carries the full burden of behavioral disclosure. It reveals important traits: idempotent refresh behavior, isolated workspace per task, and a return value matching workspace_open. However, it omits details like authentication requirements, failure modes, or what exactly triggers a refresh.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise, with three sentences that front-load the core purpose, then provide usage context and isolation rationale. Every sentence contributes value without redundancy.

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?

The description covers the tool's core function, usage context, and return behavior, while the schema handles parameter details. It is complete for a remote clone tool, though it could elaborate on the refresh trigger and error conditions, but these are not critical.

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?

The input schema already provides detailed descriptions for all four parameters, achieving 100% coverage. The tool description itself adds no additional parameter semantics, so the baseline of 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 clearly states the tool's function: cloning or refreshing a remote Git repository into an isolated managed workspace and checking out a branch. It distinguishes itself from siblings by specifying use for repositories not already on this machine, making its purpose distinct.

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 description explicitly states when to use the tool: for work on a repository that is not already on this machine. It also adds context about per-task isolation for parallel tasks, but it does not explicitly name alternative tools or provide when-not-to-use guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zcrossoverz/repo-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server