Skip to main content
Glama

Start a course from documents

start_document_course
Idempotent

Creates an empty course draft that the person's own documents will become, and returns its draftId. destination 'personal' (the default) is the person's own library; 'teaching' is a teacher's classes and may not be available. A personal draft needs the person's library to exist (get_connection_status: libraryStarted; libraryNote explains it to the person otherwise); a teaching course does not. teaching: soclever asks a teacher one sharing question before their first course through an assistant (get_teaching_sharing_question, which needs no draft). When the teacher has not answered yes yet (alreadyAgreed false), the question comes before the draft, and a no means no draft and no course. The course is then built in steps: each file is added (prepare_course_file and an upload, or add_course_text), get_document_course_status shows when every file is ready, plan_document_course makes a plan, and create_document_course makes the course from a plan revision the person has approved. forLesson: true makes a personal draft that holds one lesson's material for prepare_personal_lesson instead; that draft is never planned and does not count toward course drafts. list_drafts lists the drafts started through an assistant.

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": {
      "requestId": "<requestId>"
    },
    "name": "start_document_course"
  }
}

Input Schema

NameRequiredDescriptionDefault
forLessonNotrue: the draft only carries ONE lesson's material for prepare_personal_lesson (personal only).
requestIdYesA random UUID, not derived from names, dates or any other content, that identifies one intended action. A retry of that same action uses the same UUID with identical arguments and returns that action's result; each new action has a new UUID. A UUID already used with different arguments is refused (request_conflict); one used for an earlier action returns that earlier result.
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

A4.7/5.0
Behavior5/5

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

Annotations already declare a non-destructive, idempotent, closed-world write; the description adds the behavior that matters beyond them: the draftId return, the library prerequisite that can block a personal draft, the sharing gate that can suppress creation entirely, and the fact that a forLesson draft is never planned and does not count toward course drafts. These are non-obvious side effects and preconditions an agent could not infer from the annotations.

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?

It is correctly front-loaded with what the tool creates and returns, and almost every sentence carries information. However, it is one dense paragraph with stacked parentheticals ('(get_connection_status: libraryStarted; libraryNote explains it to the person otherwise)') that make it hard to scan; the pipeline and prerequisite material would be clearer as separated clauses or bullets.

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?

For a 3-parameter tool with an output schema, the description covers everything an agent needs: preconditions, refusal conditions, variant behavior, and the surrounding workflow. Return-value shape is legitimately left to the output schema, and nothing material about invoking this tool correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description adds modest extra meaning by noting 'teaching ... may not be available' and that a forLesson draft is a personal-only, single-lesson draft that is never planned and is excluded from course-draft counts. The requestId semantics are left entirely to the schema, but the enum and boolean get genuine contextual explanation.

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?

States a specific verb and resource ('Creates an empty course draft ... and returns its draftId') and implicitly separates itself from create_document_course by describing this as the empty starting point that later steps fill in. The forLesson variant and destination values are named inline, so an agent can place the tool in the pipeline without opening a schema.

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 routes between destination values ('personal' default vs 'teaching', which 'may not be available'), states the library prerequisite and names get_connection_status as the check, and spells out the teaching sharing-question ordering with get_teaching_sharing_question ('the question comes before the draft, and a no means no draft and no course'). It also gives the follow-on step chain (prepare_course_file/add_course_text, get_document_course_status, plan_document_course, create_document_course), so when-to-use and what-comes-next are both covered.

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