Skip to main content
Glama
yunusb
by yunusb

company_kb_sync_repository

Synchronize a GitLab repository by URL into a local read-only index, making its content searchable for company knowledge.

Instructions

Synchronize one GitLab repository by URL. The repository is cloned into the local read-only cache, indexed, and made searchable. Auth defaults to env when GITLAB_TOKEN is set, otherwise anonymous. Pass authMode as anonymous, env, or ssh-agent when you need to override it; do not pass token values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
forceNo
authModeNo
tokenEnvNo

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 provided, the description carries the full burden of behavioral disclosure. It explains that the repository is cloned into a 'local read-only cache,' indexed, and made searchable, which conveys non-destructive intent. It also discloses the auth behavior (env default, anonymous fallback, override options) and explicitly warns not to pass token values. Some details about the 'force' parameter are not disclosed, but the core behavior is transparent.

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?

Three concise sentences with no filler. The main action is front-loaded, then the cache/indexing behavior, then auth instructions. Every sentence earns its place and the warning about token values is a valuable guardrail.

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?

For a sync tool with four parameters, no annotations, but an output schema, the description is reasonably complete: it states the action, effect, and auth behavior. The main omission is the semantics of 'force' and the exact role of 'tokenEnv', but the description still provides enough for correct invocation in common cases.

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 description coverage is 0%, so the description must fill the gap. It clarifies authMode values ('anonymous, env, or ssh-agent') and warns about token values, which helps with tokenEnv. However, the 'force' parameter is not explained at all, and 'url' format is left implicit. The description adds useful meaning for auth-related parameters but does not fully compensate for the complete lack of schema descriptions.

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 opens with a specific verb and resource: 'Synchronize one GitLab repository by URL.' It clearly states what happens (cloning into a read-only cache, indexing, making searchable), which differentiates it from sibling tools like list_repositories or search. This is unambiguous about scope: one repository, not a bulk sync.

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 implies when to use this tool: when a specific GitLab repository needs to be synced into the local knowledge base. It also provides practical usage guidance on auth mode selection and warns against passing token values. It does not explicitly name alternative tools or exclusions, but the context is clear enough for an agent to select it over siblings.

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/yunusb/mcp-knowledge'

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