Skip to main content
Glama

repo_clone

Clone a repository into the sandbox workspace to enable automated pull request creation, with allowlist-gated access and no host filesystem exposure.

Instructions

Clone a repository into the workspace.

The repository is cloned into the ``repo`` subdirectory within the sandbox.
All operations happen inside E2B - no host filesystem access.

The repository must be in the allowlist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_urlYes
workspace_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It reveals that the clone goes into the 'repo' subdirectory, operations occur inside E2B with no host filesystem access, and the repository must be in the allowlist. These are valuable behavioral details beyond a simple 'clone' statement, though it does not cover error conditions or what happens if the repo already exists.

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, consisting of three sentences. The primary purpose is stated first, followed by two sentences of relevant context. No filler or redundant information is present, making it easy for an agent to parse quickly.

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 core action, destination, environment, and a critical prerequisite (allowlist). Since an output schema exists, return values are likely documented elsewhere. It lacks details about failure modes or prerequisites like workspace existence, but for a clone tool this is reasonably complete.

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

Parameters2/5

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

The input schema has 0% description coverage, and the tool description does not explain the parameters 'repo_url' or 'workspace_id'. While the parameter names are somewhat self-explanatory, the description fails to add any semantic detail beyond the schema, such as the format of repo_url or the need for an existing workspace_id. This is a significant gap given the low schema coverage.

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: 'Clone a repository into the workspace.' It adds specific details about the destination (the 'repo' subdirectory) and the sandbox environment, which differentiates it from sibling tools like repo_fetch or repo_checkout. The purpose is unambiguous and 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 provides context for when to use the tool: it is for cloning repositories into the workspace. It also mentions important constraints (E2B sandbox, no host filesystem access, allowlist requirement), which guide appropriate usage. However, it does not explicitly list alternatives or when not to use the tool, but for a clone operation this is reasonably clear.

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/saakshigupta2002/PR_Orchestrator_MCP'

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