Skip to main content
Glama

Git Tag

git_tag
Destructive

List, create, or delete Git tags in a local repository, with optional signing and target selection, to manage release and version markers from an MCP client.

Instructions

Tag: list, create, or delete.

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": "git_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
signNoSign the tag. Defaults to the server GIT_AUTO_SIGN_TAGS setting.
actionNolist
targetNo
messageNo
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.
signing_keyNo
response_formatNoOutput format for the response.markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

C2/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the safety profile is carried by structured data. The description adds nothing beyond that: no note that delete removes a tag permanently, no mention of local-vs-remote tag scope, and no hint about signing behavior or failure modes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single clause is short and front-loaded, but it is under-specified rather than concise. There is no wasted wording, yet the sentence does not earn its brevity by conveying anything the structured fields do not already say.

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

Completeness1/5

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

An 8-parameter, multi-action tool with destructive capability and no output schema needs far more description than a four-word fragment. Nothing about listing semantics, create requirements, delete consequences, or response format (markdown vs json) is covered.

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

Parameters1/5

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

Schema description coverage is only 38% across 8 parameters, so the description must compensate and it does not. Key parameters such as name, target, message and signing_key have no explanation in either the schema or the description, and the only parameter touch-point (list/create/delete) merely duplicates the enum.

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

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Tag: list, create, or delete" names the resource and the three supported operations, so the agent can see the broad purpose. However, it largely restates the tool name plus the action enum already present in the schema, and gives no differentiation from sibling tools such as git_branches or git_history.

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

Usage Guidelines2/5

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

There is no guidance on when to choose this tool versus a sibling, no indication of which action is the default use case, and no warning about preconditions such as needing an existing commit target for create. The agent is left to infer everything from the action enum.

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