Skip to main content
Glama

Oncourse

Check an answer

oncourse_check_answer
Read-only

Check the learner's chosen option for one quiz question and return whether it is correct, the correct option and the explanation. Call only after the learner answers; never to preview answers.

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": {
      "sessionId": "<sessionId>",
      "questionId": "<questionId>",
      "optionId": "<optionId>"
    },
    "name": "oncourse_check_answer"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionIdYes
sessionIdYes
questionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, non-idempotent, closed-world. Paying attention, the description adds the notable behavior that answering reveals the correct option and explanation — which is why the 'never to preview' constraint matters. Slightly short of 5 as it doesn't describe output shape beyond listing the three return fields (the returned-fields disclosure is actually useful).

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?

Two compact sentences, front-loaded with what happens, then the constraint. No wasted words.

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?

Clear on the core behavior but with zero parameter documentation, no output schema, and callers get no hint about where the sessionId/questionId/optionId values come from. For a 3-required-param tool at 0% schema coverage, more is needed.

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?

0% schema coverage — no parameter descriptions at all — three required string params (sessionId, questionId, optionId). The description implies optionId is the learner's chosen option and questionId identifies one quiz question, and that a session is involved, but it does not document ID formats or how to obtain them (e.g. from oncourse_start_session or search tools). Partial compensation only.

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?

Description states specific verb+resource: checks the learner's chosen option for one quiz question and returns correctness, correct option, and explanation. It is distinct from siblings like oncourse_search_quiz_questions, though it doesn't explicitly name alternatives.

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?

Explicit when-to-use ('Call only after the learner answers') and a clear prohibition ('never to preview answers'), which prevents a specific misuse pattern. This is stronger than most routing guidance.

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.