Skip to main content
Glama

Create a Hypnothera session

create_session

Creates a personalized hypnosis session script (optionally the first day of a multi-day journey) on the connected hypnothera.ai account. Spends 1 credit for the script; this tool does not render audio — render it afterwards with render_audio or on hypnothera.ai, which costs about 1 more credit per minute of audio. ONLY call after the user has explicitly approved the brief. The brief must use wellness language (relaxation, focus, sleep, confidence) and contain no names or identifying details. Returns the new script_id (the script is written over the next minute or two; check it with get_session), the journey's collection_id when journey_days was set, and next_step_url to open it on hypnothera.ai.

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": {
      "specific_needs": "<specific_needs>"
    },
    "name": "create_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleNoWriting style of the script. Use the user's stated preference; omitted means mindfulness.
titleNoName for a multi-day journey, used in its playlist name ("<journey_days> Days: <title>"). Only used when journey_days is set; the session's own title is written with the script.
summaryNoOne-line summary of the agreed brief, passed to the script writer as extra context alongside specific_needs.
languageNoLanguage to write the script in, as a name or code, e.g. english, es, pt-br or hebrew. Omitted means english. Arabic needs a dialect choice, so create Arabic sessions on hypnothera.ai instead.
script_typeNoSession format: sleep for falling asleep, morning for starting the day, nsdr for non-sleep deep rest, lucid_dreaming for lucid dream practice, visualization for guided imagery, standard for anything else. Omitted means standard.
journey_daysNoNumber of days when starting a multi-day journey. This call creates day 1; continue_journey creates each later day. Omit for a single session.
specific_needsYesThe brief the user approved: what the session should help with, the situation around it, and how they want to feel afterwards.
journey_outlineNoOne entry per day when journey_days is set. Each later day is created with continue_journey.

Output Schema

NameRequiredDescriptionDefault
okYesFalse when the call failed; message says why.
messageNoWhat happened and, when relevant, what to do next. Relay it to the user.
task_idNoBackground job id for the script being written.
script_idNoThe new session's id (script_id).
collection_idNoThe journey_id when a multi-day journey was started, otherwise null.
next_step_urlNoPage on hypnothera.ai for the new session, or for the journey when one was started.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the mutation/safety profile; the description adds substantial context beyond them: a 1-credit cost, the separate per-minute audio cost, the asynchronous write ('the script is written over the next minute or two; check it with get_session'), and content constraints on the brief (wellness language, no names or identifying details). This is exactly the kind of side-effect and cost disclosure an agent needs before a non-idempotent, credit-spending call.

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?

Front-loads the action and cost, then the approval gate, then the return values — a sensible order with no filler sentences. The final sentence is long and packs three distinct return facts together, which is slightly dense but each clause carries information the caller needs.

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 credit-spending, non-idempotent creation tool with 8 parameters, the definition covers cost, async timing, verification path, content restrictions, follow-up tools, and return shape. The output schema exists, so the explicit return-value sentence is redundant but not harmful, and nothing an agent needs to call this 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 schema already documents all 8 parameters and the baseline is 3. The description adds real meaning beyond it by constraining the required brief to wellness language and forbidding names/identifying details, plus framing journey_days as the trigger for collection_id. It does not add syntax or format detail for the remaining optional parameters, but the schema covers those adequately.

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 a personalized hypnosis session script ... on the connected hypnothera.ai account') and immediately delimits scope by noting it optionally creates day 1 of a multi-day journey. This lets an agent distinguish it from render_audio, continue_journey, and get_session without opening any 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?

Gives an explicit precondition ('ONLY call after the user has explicitly approved the brief'), an explicit exclusion ('this tool does not render audio'), and the correct follow-up alternative ('render it afterwards with render_audio or on hypnothera.ai'). It also routes later journey days to continue_journey, covering both when-to-use and when-to-use-something-else.

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.