Skip to main content
Glama
FullContextInput MCP

FullContextInput MCP

by lukehemmin

create_safety_backup

Creates a timestamped safety backup before AI code modifications, saving the file to a backup folder so you can restore prior code if needed.

Instructions

AI 코드 수정 전 안전 백업을 생성합니다. 타임스탬프와 함께 백업 폴더에 저장됩니다.

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

Input Schema

NameRequiredDescriptionDefault
reasonNo백업 생성 이유AI 코드 수정 전 안전 백업
file_pathYes백업할 파일의 경로

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.4

TDQS

A3.5/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 burden. It usefully discloses two behavioral facts: the backup lands in a dedicated backup folder and is named with a timestamp, which tells the agent backups are non-destructive copies rather than in-place edits. It omits what happens on a missing file or existing backup, and it never says whether the resulting backup path is returned so the agent can later call restore_from_backup.

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?

Two short sentences with zero filler, and the action is front-loaded ahead of the storage detail. Nothing here could be cut without losing information.

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 2-parameter, fully self-documented schema, the description covers purpose and storage location adequately. The notable gap is the return behavior: with no output schema and no mention of a returned backup path or timestamp, the agent cannot tell how to reference the backup later for restore, which is the natural follow-up in this sibling set.

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 both parameters are already documented in the schema and the baseline is 3. The description adds no meaning about file_path (absolute vs relative, missing-file behavior) and only restates the default reason string, so it does not improve on the structured data.

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 names a specific verb and resource (create a safety backup) and adds the trigger condition (before AI code modification). It is clearly distinguishable from sibling tools such as restore_from_backup or suggest_safe_edit_strategy, though it never names or contrasts those siblings explicitly.

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 phrase 'AI code modification 전' gives an implied trigger point, which is more than nothing, but there are no exclusions (e.g., when not to back up) and no guidance on choosing between this and restore_from_backup or get_ai_safety_guidelines. Usage is inferred from the purpose statement rather than stated as guidance.

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