Skip to main content
Glama
FullContextInput MCP

FullContextInput MCP

by lukehemmin

validate_code_integrity

Detects syntax errors, incomplete structures, and missing functionality in code, using file paths to identify the language and optional completeness checks.

Instructions

코드의 무결성을 검증합니다. 문법 오류, 불완전한 구조, 누락된 기능을 감지합니다.

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

Input Schema

NameRequiredDescriptionDefault
file_pathYes파일 경로 (언어 감지용)
code_contentYes검증할 코드 내용
check_completenessNo완성도 검사 여부

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.4

TDQS

C2.9/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 disclosure burden. It lists the categories of problem detected but does not say the tool is non-mutating, whether it writes results anywhere, whether it stops at the first error, or what a failure means — all things an agent needs before invoking it on a live file.

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 compact sentences with the action front-loaded and the detection scope immediately after. There is mild redundancy between 'validates integrity' and the enumerated checks, but nothing wasteful is present.

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 three-parameter, no-annotation, no-output-schema tool, the definition is only minimally sufficient. An agent still cannot tell whether the result is a structured error list, a boolean verdict, or a diff-style report, nor whether the tool touches the target file.

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 file_path, code_content and check_completeness are already documented in structured data. The description adds no meaning beyond the schema and never mentions check_completeness or how validation changes when it is false.

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?

Names a specific verb+resource (validate code integrity) and enumerates what it detects: syntax errors, incomplete structure, missing functionality. That goes beyond restating the tool name, but it never contrasts with nearby analysis siblings such as analyze_code_changes or suggest_safe_edit_strategy.

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?

No indication of when to reach for this instead of the other analysis tools, no prerequisites (e.g., file must be readable first), and no statement about when validation should be run in an edit workflow. The agent must infer placement in the flow entirely.

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