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

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?

Annotations already declare readOnlyHint=false, openWorldHint=true, and destructiveHint=false. The description adds real value beyond that: it labels the operation a 'state-changing external action', names the authorization prerequisite, and flags Enterprise access. It doesn't describe irreversibility or failure modes, but it meaningfully extends the annotation profile.

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?

Two sentences, zero filler, with the usage trigger front-loaded ahead of the behavioral and access notes. Every clause earns its place.

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 an 11-parameter, 9-required mutation tool with a nested object and no output schema, the description covers purpose, trigger, prerequisite, and access scope adequately. The detailed parameter contract is fully handled by the 100%-covered schema, so nothing critical is missing.

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 100%, so all 11 parameters are documented in the schema, setting the baseline at 3. The description names feature groups (triggers, path filters, notifications, auto-apply settings) that map onto parameters, but adds no syntax, format, or constraint detail beyond the schema.

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 and resource: link an authorized provider repository to a Space for Autopilot sync. It cleanly distinguishes itself from siblings like list-space-repository-links, update-space-repository-link, and delete-space-repository-link, so an agent can route correctly without opening a schema.

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?

It gives an explicit triggering condition ('Use this when the user wants to link...') plus a prerequisite ('After authorization') and an access gate ('requires Enterprise access'). It stops short of naming alternatives such as update-space-repository-link, but the context is clear.

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.