Skip to main content
Glama

analyze_code_submission_boj

Analyze your Baekjoon code submissions for full feedback, hints, debugging, and code review. Supports Python, C++, JavaScript, Java, and Go.

Instructions

백준(BOJ) 문제에 대한 사용자 코드를 분석하여 피드백을 제공합니다.

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

분석 타입:

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

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

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

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

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

사용 시나리오:

  • 문제 풀이 후 코드 개선점 확인

  • 틀린 코드 디버깅

  • 코드 리뷰 및 품질 개선

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

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes분석할 사용자 코드
languageYes프로그래밍 언어
problem_idYes백준 문제 번호
analysis_typeNo분석 타입 (기본값: full)full
Behavior4/5

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

With no annotations, the description carries full behavioral burden. It discloses that the tool combines problem text and user code to generate an LLM analysis prompt, and it specifies the response structure (problemInfo, codeMetadata, analysisPrompts, suggestedQuestions). It does not mention side effects, auth requirements, or rate limits, but the LLM-prompt nature is transparent.

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?

The description is compact and well-structured, with short sections for analysis types, response structure, usage scenarios, supported languages, and a platform-verification warning. It front-loads the core purpose and every sentence contributes meaningful guidance, with no redundant filler.

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

Completeness5/5

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

The description fully compensates for the lack of an output schema by listing the response fields. It also covers analysis types, languages, and the critical platform-ambiguity rule. For a tool with 4 parameters, 2 enums, and no output schema, this description is remarkably complete for an agent to invoke 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?

The input schema covers all parameters with descriptions (100% coverage), so the baseline is 3. The description adds value by explaining each analysis_type in detail (full, hint, debug, review) and listing supported languages, which goes beyond the schema's enum labels. It does not add syntax details for problem_id or code, but those are straightforward.

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 states a specific action: '백준(BOJ) 문제에 대한 사용자 코드를 분석하여 피드백을 제공합니다' (analyze user code for BOJ problems and provide feedback). It clearly distinguishes from sibling tools by naming BOJ and including a platform-verification note that separates it from the Programmers variant.

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 provides a '사용 시나리오' section listing concrete use cases (code improvement, debugging, code review) and explicitly instructs the agent to confirm the platform with the user if only a problem number is given. It does not name alternative tools or explicitly state when not to use it, which prevents a 5.

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