Skip to main content
Glama

Git LFS Actions

git_lfs
Destructive

Track, untrack, list, and inspect Large File Storage files; pull or push stored objects, install hooks, and migrate files into or out of storage.

Instructions

Manage Git Large File Storage (LFS). Supports tracking/untracking file patterns, listing LFS-tracked files and status, pulling/pushing LFS objects, installing LFS hooks for the repository, and migrating existing files into or out of LFS storage.

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": {
      "action": "<action>"
    },
    "name": "git_lfs"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
remoteNoRemote name for pull/push operations.
excludeNoComma-separated exclude patterns for migrate or pull operations.
includeNoComma-separated include patterns for migrate or pull operations.
patternsNoFile glob patterns for track/untrack (e.g. ["*.psd", "*.zip"]).
repo_pathNoAbsolute path to the local Git repository. If omitted, falls back to the server default set via the GIT_REPO_PATH environment variable or --repo-path CLI argument.
everythingNoPass --all/--everything to include all refs in push/migrate operations.
response_formatNoOutput format for the response.markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety profile is partly covered. The description adds that hooks can be installed and files migrated in or out of LFS, but it omits the critical behaviors that 'migrate-import' rewrites commit history, that 'untrack' alters the index, and that push requires remote authentication and network access.

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?

One front-loaded sentence that opens with the verb and resource, followed by a capability list where each clause maps to an actual action in the enum. Slightly run-on, but no clause is filler.

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

Completeness3/5

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

For a nine-action tool with destructive, history-rewriting operations and no output schema, the definition should say which parameters each action requires and flag the irreversible migrate behavior. The schema covers most parameter detail, but the action-level contract is left implicit.

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 88%, so nearly every parameter is already documented in the schema, including remote, patterns, include/exclude, everything and repo_path fallback. The description only loosely gestures at these through its capability list and adds no syntax, format, or per-action parameter requirement details.

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?

States a specific verb+resource ('Manage Git Large File Storage (LFS)') and enumerates the concrete operations (track/untrack, ls-files, status, pull/push, install hooks, migrate). The resource is distinctive enough that no sibling tool overlaps, but the description never explicitly differentiates itself from the other git_* tools.

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 capability list implicitly maps to the nine action enum values, so an agent can infer which operation to pick, but there is no explicit when-to-use vs when-not guidance, no mention of prerequisites (e.g. git-lfs must be installed), and no routing to any alternative tool.

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