Skip to main content
Glama
Yasir-Khan-7

Learning Assistant MCP Server

by Yasir-Khan-7

reviewCode

Identify correctness issues, style problems, and improvement opportunities in code snippets. Tailor feedback by specifying language and focus areas.

Instructions

Reviews a code snippet and provides feedback on correctness, style, and potential improvements

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesThe code snippet to review
contextNoWhat the code is supposed to do
languageYesThe programming language of the code
focusAreasNoSpecific areas to focus the review on
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It states the core action but does not reveal whether the tool is read-only, what the feedback format looks like, whether it handles invalid code, or any other behavioral characteristics. This is a notable gap for a tool with no output schema.

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 a single, well-structured sentence that front-loads the action ('Reviews a code snippet') and concisely lists the review dimensions. Every word adds value with no redundancy or filler.

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?

The input schema is well documented, but the tool lacks an output schema and annotations. The description gives a general sense of the feedback (correctness, style, improvements) but does not clarify the structure, depth, or form of the returned review, leaving the agent with uncertainty about the output. This is adequate but not complete.

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 the baseline is 3. The description does not add any parameter-specific meaning beyond what the schema already provides for code, language, context, and focusAreas. It neither compensates nor detracts from the schema's clarity.

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 uses a specific verb 'reviews' combined with a clear resource 'code snippet' and explicitly states the output ('feedback on correctness, style, and potential improvements'). This clearly distinguishes it from sibling tools like explainThisCode (explains) and debugHelper (debugs), making the purpose unambiguous.

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 description implies usage when you have a code snippet needing review, but it does not provide explicit when-not-to-use guidance or name alternatives. No exclusions or comparisons to sibling tools are mentioned, leaving the context somewhat assumed rather than clearly stated.

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/Yasir-Khan-7/mcp-learning-assistant'

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