Skip to main content
Glama

Check what sharing a course would show

preview_personal_share
Read-onlyIdempotent

Read-only: the check before share_personal_course. It shows what sharing a course from the person's own library would do, and changes or publishes nothing. privacy is the person's own choice between full lessons ('full') and the course and lesson titles only ('outline'). The answer gives the course name (forThePerson.courseTitle), what anyone with the link would see (wouldShow) and how it is shared now (current); the share is meant to follow the person's yes to exactly that. sharedContent says what anyone with the link sees: full_lessons (the course and every lesson, written for the reader when opened), full_lessons_with_shared_text (also the lesson text the person already shared from the app), titles_only (the course name and lesson titles), ordinary_course_public (an ordinary course: soclever shows it publicly). Chats, progress, notes and quiz answers always stay private. lessonTextKept true: lesson text already shared from the app stays visible (only while it still matches the course; otherwise the share is refused as not_shareable lesson_text_stale). otherChoice says what the other choice would show (null when this course has no other choice). inAppOnly true: this course holds a lesson that only the person can see yet, so share_personal_course refuses it (not_shareable share_in_app) and sharing it currently has to be done in the soclever app; inAppNote says so in plain words. previewToken ties the share to exactly this course and this choice for 5 minutes; share_personal_course accepts it with the same courseRef and privacy. After 5 minutes, or any wait, a fresh preview gives a new token.

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": {
      "courseRef": "<courseRef>",
      "privacy": "<privacy>"
    },
    "name": "preview_personal_share"
  }
}

Input Schema

NameRequiredDescriptionDefault
privacyYesThe person's own choice: 'full' (full lessons) or 'outline' (course and lesson titles only).
courseRefYesThe courseRef from create_document_course or list_courses ('personal:…').

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description explains that nothing is changed or published, describes the privacy choices, lists refusal cases such as lesson_text_stale and share_in_app, and states that previewToken expires after 5 minutes. These are meaningful behavioral details an agent could not infer from the annotations alone.

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 first sentence is well front-loaded, but the description is a dense, lengthy paragraph that spends substantial space explaining output fields such as forThePerson.courseTitle, wouldShow, current, sharedContent, otherChoice, inAppOnly, and inAppNote despite an existing output schema. Those details are relevant but make the definition less concise than it could be.

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 preview tool with two required parameters, an output schema, and full annotation coverage, the description supplies the remaining operational context: token lifetime, refusal conditions, staleness handling, and the privacy implications. An agent has enough information to call it correctly and interpret the result.

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%, so the input schema already documents both courseRef and privacy, including the enum values. The description restates the privacy distinction and adds context around the token reuse, but it does not add much parameter-level 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?

The description states a specific read-only preview action and explicitly distinguishes it from share_personal_course: 'the check before share_personal_course' and 'changes or publishes nothing.' An agent can immediately tell this is a pre-share inspection tool rather than the share operation itself.

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?

It names the exact sibling to use afterward and the condition that selects it: this tool is the check before share_personal_course, and the returned previewToken is what share_personal_course accepts with the same courseRef and privacy. That is explicit when-to-use guidance with a clear alternative flow.

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