Skip to main content
Glama

grade_manually

Manually grade Moodle assignment submissions with numeric grades and HTML-safe feedback, supporting team grading and marking workflow states.

Instructions

Manually grade an assignment submission (mod_assign_save_grade). Feedback text is HTML-safe. Supports team grading and marking workflow state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gradeYesNumeric grade. -1 means "no grade yet". Negative values other than -1 are invalid in most scales.
user_idYes
assign_idYes
feedback_textNo
attempt_numberNo-1 = grade the latest attempt. Otherwise specify the attempt number.
workflow_stateNoMarking workflow state (only applies when the assignment has workflow enabled).
apply_to_all_membersNoIf the assignment uses team submission, apply this grade to every member of the team.
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It does mention useful behaviors (HTML-safe feedback, team grading support, workflow state) but fails to state that this saves/overwrites an existing grade, whether the change is reversible, or what the response looks like. For a mutation tool, this is a significant transparency gap.

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 three short sentences, front-loaded with the core purpose, and every sentence adds information (operation, HTML-safety, team/workflow features). No redundant or filler content.

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 tool has 7 parameters, no annotations, and no output schema. The description covers some advanced features (team grading, workflow) but omits critical context such as return values, error behavior, permission prerequisites, and the fact that existing grades will be overwritten. Given the tool's complexity, the description is minimally adequate but incomplete.

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 descriptions cover 57% of parameters. The description adds modest meaning by noting feedback text is HTML-safe and mentions team/workflow capabilities, but it does not clarify the three undocumented parameters (assign_id, user_id, feedback_text) beyond what their names suggest. The added context is helpful but not comprehensive enough to raise the score above baseline.

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 action ('Manually grade') and the resource ('an assignment submission'), and references the underlying Moodle function (mod_assign_save_grade) to remove ambiguity. There are no sibling tools that perform grading, so it is well-differentiated.

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 the tool is for manual, human-mediated grading but does not explicitly state when to use it versus alternatives (e.g., bulk/automatic grading tools) or provide any exclusion criteria. No other grading tool appears among siblings, but the guidance is still implicit rather than explicit.

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/sernobre/moodle-mcp-sernobre'

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