Skip to main content
Glama

keepfold_grade

Grades a learner's answer to a quiz item, capturing confidence and mistakes, and logs the result for tracking recall and review.

Instructions

Record the user's answer to one item: item_id from keepfold_ask, or concept + question. verdict is needed unless the ask had an answer_key. Grade only an answer given before you showed or explained it (ask how sure, 1-4, first); after explaining, keepfold_log(kind=taught) instead; a re-test after teaching is graded too (the server marks it warm). A finished quiz at once: items [{question, answer, verdict or correct, confidence?, hints?, concept?, item_id?, mistakes?, item_type?}] (1-20), with concept and key on the call and no other fields.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "keepfold_grade"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNo
alsoNo
hintsNo
itemsNo
conceptNo
item_idNo
problemNo
verdictNo
mistakesNo
questionNo
item_typeNo
confidenceNo
new_mistakeNo
learner_answerNo
targets_mistakesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.3

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and openWorldHint=false, so the description carries most of the behavioral burden and does add real value: verdict is required unless the ask carried an answer_key, the server marks post-teaching re-tests as warm, and batch grading is capped at 1-20 items. It does not disclose failure modes (e.g. what happens on an unknown item_id) or the response shape, which the output schema covers.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose and the grade-vs-log rule are front-loaded, which is correct. But the prose is a run-on chain of semicolons, and the batch-mode field list is dumped as a bracketed inline string rather than clearly separated from the single-item path, forcing the agent to parse two modes from one dense paragraph.

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?

Considering 15 parameters with nested objects and zero schema descriptions, the description covers the two actual usage modes, the verdict/key dependency, the confidence protocol, and the batch cap. An output schema exists, so return values need not be explained. The unexplained auxiliary parameters are secondary to correct invocation.

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 0% across 15 parameters, so the description must compensate and it partially does: item_id's source, concept+question as an alternative, verdict's conditional requirement, confidence's 1-4 range, and the fields of the items array are all explained. However, several parameters (also, problem, new_mistake, learner_answer, targets_mistakes, item_type) are never mentioned, and the items field list omits 'answer' vs the schema's 'learner_answer' consistency.

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?

States a specific verb and resource ("Record the user's answer to one item") and ties the item to its origin in keepfold_ask or a concept+question pair. It also names keepfold_log as the sibling for a different situation, so an agent can separate them. It falls short of 5 because the tool is called 'grade' yet the description leads with 'record' and pivots mid-paragraph into a batch mode, blurring the single-item purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly gives the when: grade only an answer given before you showed or explained it, and ask confidence 1-4 first. Explicitly gives the when-not and the alternative: after explaining, use keepfold_log(kind=taught) instead. It also clarifies the edge case that a re-test after teaching is still graded, so nothing about routing is left to inference.

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