Skip to main content
Glama

cfg_tag

Tag every config record's current version as a rollback point for restores and a release set for promotions.

Instructions

Label every record's current version with a tag: a rollback point for cfg_restore(tag=...) and a release set for cfg_promote(tag=...).

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

Input Schema

NameRequiredDescriptionDefault
envNoEnvironment name from .cfg.toml (e.g. dev, prod). Selects the target database.dev
nameYesA new tag name. A name already in use is refused unless force.
forceNoReuse an existing tag name (moves the rollback point to the current versions).
authorNoAuthor attribution hint. Ignored/rejected in authenticated/enforced identity modes where a verified identity is required.
config_fileNoOmit: the server uses the .cfg.toml it started with. A different path is refused unless the server runs with CFGIT_MCP_ALLOW_CONFIG_OVERRIDE=1.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.5

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose meaningful scope beyond the schema by saying every record's current version is labeled, but it never states that this is a persistent write, whether it is atomic or reversible, or what identity/permission constraints apply, leaving the mutation profile largely unstated.

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?

A single sentence that front-loads the action and then explains the payoff, with zero redundant wording. Every clause earns its place by tying the tool to two concrete siblings.

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?

An output schema exists and the input schema is fully described, so return values and parameters need no explanation here. What remains missing is the write/mutation character of the operation and its failure modes, which for a five-parameter state-changing tool is a real gap in an otherwise tight definition.

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 env, name, force, author, and config_file are already fully documented, and the baseline of 3 applies. The description adds conceptual meaning to the tag itself (rollback point vs. release set) but nothing further about any individual parameter.

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?

States a specific verb and resource ('Label every record's current version with a tag') plus the exact scope of what gets labeled. It also names the two sibling tools that consume the tag (cfg_restore, cfg_promote), so an agent can place it precisely in the workflow 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?

Explains the downstream conditions that motivate creating a tag: a rollback point for cfg_restore and a release set for cfg_promote. That is clear context for when to call it, but there is no explicit exclusion or guidance on when not to tag, and no mention of the duplicate-name/force decision, which is left entirely to the schema.

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