Skip to main content
Glama

code_verify

Compiles and runs lesson code blocks to verify their console output matches expected results, supporting C# and Python.

Instructions

코드 블록을 실제로 컴파일·실행해 화면 콘솔 출력(out/write)과 같은지 확인합니다. C#은 mono 또는 dotnet, Python은 python.

Input Schema

NameRequiredDescriptionDefault
lesson_idNo
course_dirYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure. It does disclose the key trait that the code is actually executed (a real side effect, not a static check) and pins the runtime per language, which an agent needs. It says nothing about sandboxing, timeouts, permissions, or what happens on compile failure versus mismatch, which are significant gaps for arbitrary code execution.

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 tight sentences with no filler, and the core action is front-loaded before the runtime detail. Nothing is wasted, though the brevity comes partly at the cost of the missing content noted elsewhere.

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?

This is a code-execution tool with no annotations, no output schema, and zero parameter documentation. The description should at minimum state what a result looks like (pass/fail, diff, exit code) and what course_dir anchors, since none of that exists in structured fields.

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

Parameters2/5

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

Schema description coverage is 0%, so neither course_dir nor lesson_id is documented anywhere. The description never references either parameter, so it fully fails to compensate for the coverage gap; only the optional/required split is inferable from the schema itself.

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+resource: it compiles and executes a code block and compares the console output (out/write) against expected output. This is far more than restating the name 'code_verify'. It does not, however, distinguish itself from siblings like lesson_validate, which also plausibly concerns checking correctness.

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?

There is no guidance on when to use this versus lesson_validate or course_build, and no stated prerequisites such as a sandbox environment or a lesson_id requirement. The only contextual hint is the runtime note (mono/dotnet for C#, python for Python), which is language selection, not usage routing.

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