Skip to main content
Glama

Record A Training Attempt

submit_module_attempt

Submit someone's answers and record the graded result. Grading happens server-side against the answer keys. This writes a compliance record attributed to the email given — only call it with answers a real person actually gave, never to simulate or backfill a result.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "moduleId": "<moduleId>",
      "answers": "<answers>"
    },
    "name": "submit_module_attempt"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
emailNoWho took it
localeNoLocale they saw it in
answersYes
moduleIdYes

Output Schema

NameRequiredDescriptionDefault
scoreNo
totalNo
passedNo
resultsNo
passingScoreNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already state readOnlyHint=false and destructiveHint=false, so the mutating nature is known. The description adds genuine context beyond that markup: grading is server-side against answer keys, and a compliance record is created attributed to the supplied email. It is silent on what happens on repeat submission (the non-idempotent flag) or on invalid question ids, leaving meaningful behavioral gaps for a write tool.

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?

Three sentences, each doing distinct work: what it does, how grading works, and the integrity constraint. The constraint is front-loaded where an agent will read it, and nothing is wasted.

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?

An output schema exists, so return values do not need explaining, and the description covers the core mechanics and the main misuse risk for a graded-attempt write. The remaining gap is re-submission semantics, which the idempotentHint flag implies but the text never states outright.

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?

With only 40% schema description coverage across five parameters, the description is expected to compensate more than it does. It clarifies that 'email' is the attribution key on the resulting compliance record and that 'answers' are the graded payload, but moduleId, name, and locale are left entirely to the sparse schema.

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 gives a specific verb and resource: 'Submit someone's answers and record the graded result,' then clarifies that grading is server-side against answer keys. It is clearly the write/attempt path, distinguishable in spirit from read-oriented siblings like get_module_results or list_module_passers, though no sibling is named explicitly.

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?

It provides an explicit when-not: 'only call it with answers a real person actually gave, never to simulate or backfill a result.' That is a strong, actionable exclusion. It does not name an alternative tool for inspecting or correcting results, which is why it falls short of 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources