Skip to main content
Glama
FullContextInput MCP

FullContextInput MCP

by lukehemmin

suggest_safe_edit_strategy

Recommends a safe code-editing strategy based on file size, complexity, and edit intent, guiding AI tools to choose complete writes or line-range diffs.

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>",
      "edit_intention": "<edit_intention>"
    },
    "name": "suggest_safe_edit_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYes수정할 파일 경로
target_linesNo수정하려는 대략적인 라인 범위 (선택사항)
edit_intentionYes수정 의도 설명

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.4

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of disclosure and falls short. It never states whether the tool reads the file, whether it is read-only, what form the '전략' takes, or what the caller receives, which matters for an advisory tool with no output schema.

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?

Two short sentences, front-loaded with the core action and with no filler. The brevity is appropriate, though it edges toward under-specification rather than efficient density.

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

Completeness2/5

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

For a tool with three parameters, no annotations, and no output schema, the description should at minimum characterize the recommendation it returns and whether any file access occurs. Neither is covered, leaving the agent unable to anticipate the result of the call.

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 all three parameters are already documented, which sets the baseline at 3. The description adds only the vague notion that the strategy depends on file size and complexity, without tying that to file_path or target_lines in any concrete way.

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 ('코드를 수정할 수 있는 전략을 제안합니다') and adds the basis for the recommendation (file size and complexity). It is clearly distinguishable from write tools like write_file_diff, though it does not explicitly contrast with advisory siblings such as get_ai_safety_guidelines or check_prerequisites.

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?

Usage is only implied: the mention of file size and complexity suggests it is called before editing to pick an approach. There is no explicit when-to-use/when-not statement and no named alternative despite several closely related sibling tools that could be confused with it.

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