Skip to main content
Glama
ecp-mcp-server

ecp-mcp-server

by EpicLabs23

ecp_apps_git_pull

Pull remote commits into a git-based app folder and report update status plus commits and changed files. Optionally discard tracked local changes after confirmation.

Instructions

Pull the latest commits into a git-based app's folder. Returns status: 'updated' | 'up_to_date' | 'local_changes' (edited tracked files conflict) | 'diverged' (folder has commits the remote doesn't) | 'auth_failed' | 'busy' | 'error', plus the commits and changed files. Pulling doesn't rebuild or restart the app - follow with ecp_apps_deploy_step (install/build/restart) as the app needs. discard_local_changes=true throws away edits to tracked files and local-only commits (git reset --hard to the remote branch; untracked files like .env are kept) and requires confirm: true.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
idYes
confirmNo
discard_local_changesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so thoroughly: it enumerates every returned status including the conflict cases ('local_changes', 'diverged', 'auth_failed', 'busy'), states the operational side effect that pulling does not rebuild/restart, and precisely describes the destruction model of discard_local_changes ('git reset --hard to the remote branch; untracked files like .env are kept').

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?

Front-loaded with the core action, then consequences, then the destructive-option caveat — a sensible information hierarchy with no filler sentences. The long parenthetical status enumeration is dense but each status earns its place by telling the agent what to do next.

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

Completeness5/5

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

There is no output schema, yet the description supplies the return contract (status values plus returned commits and changed files), the mutation-safety model, and the follow-up workflow. For a three-parameter mutation tool with zero annotations, that is essentially everything an agent needs to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate, and it does for two of three parameters — the exact semantics of discard_local_changes and the confirm: true requirement are spelled out beyond the bare boolean types. The 'id' parameter, however, is never explained in either the schema or the description; it is inferable from siblings but not stated.

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 opening sentence names a specific verb and resource: 'Pull the latest commits into a git-based app's folder.' It is immediately distinguishable from siblings, and it explicitly clarifies the boundary with ecp_apps_deploy_step (pull does not rebuild or restart).

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

Usage Guidelines5/5

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

It gives explicit sequencing guidance ('follow with ecp_apps_deploy_step (install/build/restart) as the app needs') and names the exact condition that selects the destructive option ('discard_local_changes=true ... requires confirm: true'). The agent knows both the next step and when the risky branch applies.

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

Deploy Server

Other Tools