Skip to main content
Glama
FullContextInput MCP

FullContextInput MCP

by lukehemmin

check_prerequisites

Validates prerequisites before modifying code by checking file understanding, backup status, and proposed changes.

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>",
      "understanding_summary": "<understanding_summary>",
      "proposed_changes": "<proposed_changes>"
    },
    "name": "check_prerequisites"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYes수정할 파일 경로
proposed_changesYes제안하는 변경사항 설명
understanding_summaryYesAI가 파악한 원본 코드 이해 요약

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.4

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, no output schema, and no description of outcome, an agent cannot tell whether this tool returns a pass/fail verdict, a list of unmet conditions, or a blocking error, nor what happens when a prerequisite fails. The description only says which things are checked, not what the check produces or how it gates subsequent actions.

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 with the trigger condition front-loaded and the checked items following, with no wasted wording. The vague '등' slightly weakens the otherwise tight structure.

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 low-complexity tool with three fully documented string parameters and no output schema, the description covers the 'what' adequately. It is still incomplete on the crucial gating semantics — what a failed prerequisite means and what the agent should do next — which matters most for a pre-flight check tool.

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 (file_path, understanding_summary, proposed_changes) are already documented in the schema. The description loosely maps to 'understanding' and 'backup' checks but adds no meaning about how understanding_summary or proposed_changes are evaluated, so it stays at baseline.

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 a specific resource ('AI 코드 수정 전 필수 조건'), and it enumerates two concrete checks (original file understanding, backup status). It does not differentiate itself from nearby siblings such as create_safety_backup or suggest_safe_edit_strategy, and the trailing '등' leaves the scope open-ended.

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 코드 수정 전' implies the moment to call this tool (before any edit), which is useful implicit guidance. However, there is no explicit when-not condition, no mention of prerequisites for calling it, and no routing to alternatives such as get_ai_safety_guidelines or create_safety_backup.

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