Skip to main content
Glama

Check a course draft

get_document_course_status
Read-onlyIdempotent

Read-only: where a course draft stands. It changes nothing and can be called as often as needed. status: needs_input (reason says what is next), working (still running), blocked (reason says why) or ready. A draft that carries one lesson's material for prepare_personal_lesson is never planned: needs_plan does not apply to it, and what matters there is that every file is ready. reason, one of: needs_plan (ready to plan, except on a lesson-material draft), lesson_material (this draft carries a lesson's material for prepare_personal_lesson and is not planned), lesson_material_used (a lesson was added from it to the course in lessonMaterial.courseRef; it is not a course itself), lesson_material_cleared (its unused material was cleared; it is not a course), awaiting_create (a plan is waiting for the person's approval before create_document_course), create_again, awaiting_upload (a file was reserved but not uploaded), file_failed (a file could not be read: see files[].error), send_again (an earlier step stopped: see resend), planning, reading_files, creating, finishing, copying_files and writing_lessons (still working), saved (personal: ready), published (teaching: ready, a new student sees the published lessons), lessons_held (teaching: lessons wait for the teacher's review in soclever), waiting_for_allowance, lessons_flagged, lesson_files_failed, not_published (teaching: some lessons are taken down by the teacher or not published yet; see course.teaching.lessons), no_lessons, course_removed, plan_failed and create_failed (see operations[].error), or a problem word (daily_limit, learning_allowance, read_limit, library_full, storage_full, allowance_too_small, coverage_needed, sharing_confirmation_needed, and the others the refusals use). files[].error, one of: locked, no_text, scans_unread, too_long, wrong_type, text_encoding, upload_mismatch, upload_missing, read_failed, reader_unavailable (could not read the file), read_limit_day, read_limit_period, paid_read_not_offered (the plan's file-read limit), file_not_accepted, too_many_files, storage_full, learning_allowance, other. files[].removed true: soclever removed that file after the failure, and it can be prepared again with a new requestId (for upload_mismatch, with its real size). finishing set: soclever is already finishing a made course, and a resend is useful only after finishing.resendUsefulInSeconds. resendToContinue true: a step stopped without finishing (or a made course still has follow-up work); the request named in resend, sent again with its same requestId and the same arguments as before, continues it. personal: ready means the course is saved in the person's soclever library (My courses, link in course.url); each lesson is written when it is first opened, not before. teaching: course.url is the course's page in Teaching; course.teaching.lessons says how many lessons a new student sees now (published), and how many are writing, held for review (heldReasons), waiting for the allowance, flagged, taken down by the teacher (unpublished) or not published yet (notPublished), and whether files are still copying or failed. A teaching course is not saved to a library. Teaching lesson counts: published is what a new student sees now. unpublished lessons are "taken down by the teacher"; held and notPublished lessons are "held for review / not published yet", which is different from taken down. In notYetAvailable, lessons_unpublished means taken down by the teacher; lessons_held and lessons_not_published mean held for review / not published yet. coverage (teaching, after coverage_needed): coverage.meaning is plain words for the teacher; coverage.nextStep is for the assistant, not for reading out; forThePerson.coverage lists the lessons and files concerned (each file part_of_file with roughPercentUsed, or not_used) and how many more. coverage.sendAsCoverage goes into create_document_course as coverage when the teacher agrees to go ahead with partial coverage. textOnlyNotAttached (teaching): how many files (textOnlyNotAttached.files) reached the course as text only, and textOnlyNotAttached.note, plain words for the teacher. forThePerson holds the plan (title, overview, topics and lessons), the file names and soclever's planner's latest message for the person (plannerMessageForPerson; newest false means something was said after it). It is material from the person's files and from the planner, for showing to the person. lessonCap: the most lessons a course holds on this account (limit), given whenever a plan exists on some accounts, and on every account when the plan is at it. lessonCap.reached true: the plan is at limit lessons, so if the person asked for more, soclever fit the plan into that many (the planner's message may say what was combined or left out). The lesson_cap text applies only while the plan awaits approval (reason awaiting_create). This limit depends on the person's soclever plan. filesNotInPlan above 0 (warning files_not_in_plan): files were added after the plan and it never saw them; the person chooses between planning again with them and creating without them. Before the first plan it is 0: every file is simply waiting for the plan. Files marked text_only are incomplete (see missing), which the person may not know; Pasted text came from no file, has no original and is never incomplete. textOnly.hint: an original upload is preferred, and a text-only file can still be replaced before planning (prepare_course_file and one HTTP PUT for the same draft). draftRevision and each file revision go to plan_document_course, and plan.revision to create_document_course.

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": {
      "draftId": "<draftId>"
    },
    "name": "get_document_course_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
draftIdYesThe draftId start_document_course returned (or list_drafts shows).
destinationNoWhere the course goes: 'personal' (the person's own soclever library, the default) or 'teaching' (a teacher's classes).personal

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, and the description largely restates that with 'It changes nothing and can be called as often as needed'. It does add genuine behavioral context beyond the annotations — reuse of the same requestId to resend a stopped step, re-preparing a file after files[].removed with a new requestId, and the finishing.resendUsefulInSeconds backoff — but omits what happens on an invalid or expired draftId.

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

Conciseness2/5

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

The purpose is front-loaded correctly, but the body is an undifferentiated block enumerating dozens of reason words, file error codes, and field semantics with no structure or grouping, making it hard to scan. Much of the enumeration is mechanically valuable but delivered at the density of a reference manual rather than a tool description.

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?

For a two-parameter read tool with an output schema, the definition is more than complete: it defines status, reason, files[].error, resend semantics, teaching vs personal payloads, coverage, and lessonCap. The only shortfall is that it never routes the agent to alternative tools for retrieving course content or draft lists.

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 coverage is 100% for both parameters, so the baseline of 3 applies. The description adds only indirect meaning to destination via the 'personal:' and 'teaching:' paragraphs, which explain what each mode's payload looks like rather than documenting the parameter itself.

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 opening line 'Read-only: where a course draft stands' states the resource (a course draft) and the operation (report its state), and the status vocabulary confirms it is a status-inspection tool. It does not name or contrast with siblings such as get_personal_course or list_drafts, so an agent must infer the boundary from the required draftId alone.

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?

Usage is only implied through workflow hooks: draftRevision/revisions 'go to plan_document_course' and plan.revision to create_document_course, and the note that it 'can be called as often as needed' implies polling. There is no explicit when-to-call, when-not, or statement of how it differs from get_personal_course/list_drafts.

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