Skip to main content
Glama

boj_gitlab_setup_mirror

Configure push mirroring for GitLab projects to synchronize repositories with external targets using project ID and target URL parameters.

Instructions

Set up a push mirror

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes
target_urlYes

Implementation Reference

  • The tool handler implementation in handleGitLabTool which performs the GitLab API POST request to set up a remote mirror.
    case "boj_gitlab_setup_mirror":
      return gitlabApiCall("POST", `/projects/${encodeURIComponent(args.project_id)}/remote_mirrors`, { url: args.target_url, enabled: true });
Behavior2/5

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

No annotations are provided, so the description carries full burden. It states 'Set up a push mirror', implying a write/mutation operation, but doesn't disclose behavioral traits such as required permissions, whether it's idempotent, potential side effects (e.g., overwriting existing mirrors), or error handling. This leaves significant gaps for safe agent use.

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 description is a single sentence, 'Set up a push mirror', which is appropriately concise and front-loaded. However, it's under-specified rather than efficiently informative, slightly reducing its effectiveness.

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

Completeness2/5

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

Given no annotations, 0% schema coverage, no output schema, and 2 parameters, the description is incomplete. It lacks details on usage context, parameter semantics, behavioral transparency, and expected outcomes, making it insufficient for a mutation tool in a complex domain like GitLab.

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?

Schema description coverage is 0%, so the description must compensate. It adds no meaning beyond the schema—doesn't explain what 'project_id' or 'target_url' represent (e.g., GitLab project ID format, valid URL patterns for mirrors). With 2 undocumented parameters, this is inadequate, scoring below the baseline of 3 for high schema coverage.

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

Purpose3/5

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

The description 'Set up a push mirror' clearly states the action (set up) and resource (push mirror), but it's vague about what a 'push mirror' entails in this context (e.g., GitLab repository mirroring). It doesn't distinguish from sibling tools like boj_gitlab_list_projects or boj_gitlab_create_mr, which are unrelated but share the GitLab domain.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing an existing GitLab project), exclusions, or related tools like boj_gitlab_get_project for verifying project_id. The context is implied from the tool name but not explicitly stated.

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/hyperpolymath/boj-server'

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