Skip to main content
Glama

analyze_code_submission_programmers

Analyze user-submitted code for Programmers problems to generate tailored feedback, hints, debugging insights, or code reviews based on the selected analysis type.

Instructions

프로그래머스 문제에 대한 사용자 코드를 분석하여 피드백을 제공합니다.

문제 본문과 사용자 코드를 결합하여 LLM 분석용 프롬프트를 생성합니다.

분석 타입:

  • full: 전체 분석 (정확성, 복잡도, 개선점)

  • hint: 힌트 제공 (핵심 개념, 접근 방법)

  • debug: 디버깅 (에러 원인, 로직 오류)

  • review: 코드 리뷰 (스타일, 가독성)

응답 구조: problemInfo, codeMetadata, analysisPrompts, suggestedQuestions

지원 언어: Python, C++, JavaScript, Java, Go

⚠️ 플랫폼 판별: 문제 번호만 입력된 경우 대화 맥락에서 플랫폼을 파악하거나, 맥락이 없으면 반드시 BOJ/프로그래머스 중 어느 플랫폼인지 사용자에게 확인 후 호출하세요.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes분석할 사용자 코드
languageYes프로그래밍 언어
problem_idYes프로그래머스 문제 ID 또는 URL
analysis_typeNo분석 타입 (기본값: full)full
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool generates an LLM analysis prompt by combining problem text and user code, lists the response structure (problemInfo, codeMetadata, analysisPrompts, suggestedQuestions), and warns about the platform ambiguity requiring user confirmation. This goes beyond a simple 'analyzes code' statement, though it does not detail edge cases like input validation or rate limits.

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?

The description is well-structured with clear sections for analysis types, response structure, supported languages, and a platform note. It is somewhat longer than necessary but each sentence contributes useful information, and the front-loaded purpose statement helps agents quickly understand the tool's role.

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

Completeness4/5

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

For a tool with 4 parameters, 3 required, and no output schema, the description is fairly complete. It provides the response structure, analysis type semantics, and platform resolution guidance. It does not provide an example invocation or specify the exact JSON shape of the generated prompt, but the given fields and the schema cover the essential needs for selecting and calling the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds value by explaining the meaning of each analysis_type (full, hint, debug, review) with one-line definitions, and lists supported languages that align with the language enum. It also clarifies that 'problem_id' can be a Programmers problem ID or URL. This enhances the schema descriptions, which merely name the fields.

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?

The description clearly states the tool's function: '프로그래머스 문제에 대한 사용자 코드를 분석하여 피드백을 제공합니다' (analyzes user code for Programmers problems and provides feedback). It differentiates from siblings by specifying the Programmers platform and detailing distinct analysis types (full, hint, debug, review), which is unique to this tool.

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?

The description implies usage for Programmers problems and includes an explicit platform identification guideline: if only a problem number is given, the agent must determine the platform from context or ask the user whether it is BOJ or Programmers. It does not explicitly say 'use BOJ tool for BOJ problems', but the sibling list and the platform note make the intended usage clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/itsme-shawn/algoKit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server