Skip to main content
Glama

Create Space Repository Link Tool

create-space-repository-link

Use this when the user wants to link an authorized provider repository to a Space for Autopilot sync. After authorization, this state-changing external action creates the link with triggers, path filters, notifications, or auto-apply settings and requires Enterprise access.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
branchYesRepository branch name that Autopilot should monitor for this link.
providerYesgithub, gitlab, bitbucket, or azure.
space_idYesNumeric Space ID where the Autopilot repository link should be created.
path_filtersNoOptional path filters.
trigger_eventsYespush and/or pr_merge.
auto_apply_enabledYesEnterprise auto-apply flag.
repository_identifierYesProvider repository identifier.
ai_context_instructionsNoOptional AI instructions.
auto_apply_threshold_pctYesAuto-apply threshold percent from 95 to 100.
notify_on_new_suggestionsYesEmail notification flag.
notification_channels_inputYesNotification channel settings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

The description discloses that this is a 'state-changing external action,' requires prior authorization, and needs Enterprise access. This adds useful context beyond the annotations, though it does not cover failure modes or idempotency.

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 two focused sentences with no redundant wording. It front-loads the primary use case and includes key constraints without unnecessary detail.

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 gives enough context about authorization, state-changing behavior, Enterprise access, and the settings involved. It does not explain the return value or behavior if a link already exists, but given no output schema and clear sibling tools, it is sufficiently complete.

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 schema descriptions cover all parameters, but several are terse: 'Notification channel settings' is vague, and 'Optional path filters' lacks format details. The description adds some value for trigger events and threshold range, but nested/optional parameters remain under-specified.

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 states a specific verb ('create') and resource ('space repository link'), and distinguishes this tool from siblings like update/delete/enable by focusing on linking a repository to a Space for Autopilot sync. It clearly identifies the action and the target resource.

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 says 'Use this when the user wants to link an authorized provider repository,' which gives a clear trigger condition. It does not explicitly mention alternatives like updating or disabling an existing link, but the sibling names make the distinction clear enough.

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