Skip to main content
Glama

Tell soclever a file is uploaded

complete_course_file
Idempotent

Tells soclever the upload to the address from prepare_course_file is finished. soclever then reads the file, which can take a few minutes, so the answer is usually state reading; get_document_course_status shows progress. If get_document_course_status later shows resendToContinue for this step, the same request (same requestId, same arguments) continues it.

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>",
      "draftId": "<draftId>",
      "sourceId": "<sourceId>"
    },
    "name": "complete_course_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
draftIdYesThe draftId start_document_course returned (or list_drafts shows).
sourceIdYesThe sourceId prepare_course_file returned.
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
interfaceLanguageNoThe person's language for soclever's own words: 'en' or 'he'.en

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say non-read-only, idempotent, non-destructive; the description adds genuinely new behavior: soclever reads the file asynchronously, the immediate response is usually a 'reading' state, progress must be polled via get_document_course_status, and a resendToContinue status requires replaying the identical request. That is meaningful operational context an agent cannot get 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.

Conciseness4/5

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

Three sentences, front-loaded with the action, then the async consequence, then the continuation rule — no filler. Slightly dense and jargon-heavy (resendToContinue, 'state reading') but every clause earns its place.

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?

Covers the full call lifecycle: prerequisite (prepare_course_file), immediate result expectation, where to check progress, and how to resume a stalled step. With an output schema present it need not describe return values, and nothing needed to call it correctly is missing.

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 100% and the requestId, draftId, and sourceId descriptions are already detailed, so the baseline is 3. The description's only addition is applying requestId semantics to the resendToContinue case; destination and interfaceLanguage get no extra treatment, and it does not materially deepen parameter meaning beyond the schema.

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 action (signal that an upload is finished) and pins it to the exact artifact from prepare_course_file. It is clearly distinguishable from prepare_course_file (which creates the upload target) and get_document_course_status (which reports progress).

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?

Explicitly says to call it once the upload to the prepare_course_file address is done, and names the alternatives: get_document_course_status for progress and the resendToContinue path for continuing. It lacks a stated when-not-to-call case (e.g. calling before upload completes), which keeps it just 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