Skip to main content
Glama
n8n MCP Server

n8n MCP Server

by fedealvarez

source_control_pull

Pull changes from a configured remote source control repository into the n8n instance, optionally forcing overwrite of local changes or auto-publishing after import.

Instructions

Pull changes from the remote source control repository. Requires Source Control to be configured.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "source_control_pull"
  }
}

Input Schema

NameRequiredDescriptionDefault
forceNoForce pull, overwriting local changes
variablesNoVariables to set during import
autoPublishNoAuto-publish after import: 'none' (default), 'all', or 'published'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It hints at mutation ('pull changes') and the schema mentions overwriting local changes via 'force', but the description itself never states whether local changes are lost by default, whether the pull can conflict or fail, or what permissions/state are required beyond 'Source Control configured'.

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?

Two short sentences, front-loaded with the action and followed by the precondition. Nothing is padded, though the second sentence is the only place context is given, so the definition is lean to the point of thinness rather than verbose.

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?

For a mutation tool with zero annotations, no output schema, and a nested-object parameter ('variables'), the description is insufficient. It omits what happens to uncommitted work, whether the operation is reversible, error conditions, and what the variables object is used for during import beyond the terse schema line.

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 'force', 'variables', and 'autoPublish' are already documented in the schema (including the force warning about overwriting local changes and the enumerated autoPublish values). The description adds no parameter detail beyond the schema, which is acceptable at baseline 3 but leaves no extra value.

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

Purpose4/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: 'Pull changes from the remote source control repository.' An agent immediately knows this fetches remote commits into the local workspace. It doesn't differentiate from siblings, but no sibling in the list appears to perform a pull operation, so ambiguity is low.

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

Usage Guidelines3/5

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

The prerequisite 'Requires Source Control to be configured' is a useful condition, implying the tool is only usable on projects with source control enabled. However, there is no explicit guidance on when to use pull versus other operations, nor any note on what to do when the repo is dirty or the configuration is missing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.