Skip to main content
Glama

Get a Hypnothera session

get_session
Read-onlyIdempotent

Returns one session by script_id: a public library session, or a session on the connected account (for example one made with create_session). For the account's own sessions it includes status and has_audio, so it can check whether a script has finished and whether audio has been rendered; once audio exists, audio_url is a direct link that plays for about two hours without signing in. listen_url is the session's page on hypnothera.ai. Costs nothing.

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": {
      "script_id": "<script_id>"
    },
    "name": "get_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
script_idYesA script_id from search_sessions, create_session or list_journeys.

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.
sessionNo

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?

Goes well beyond the readOnly/idempotent annotations: it discloses that richer fields (status, has_audio) appear only for account-owned sessions, that audio_url is a temporary direct link valid about two hours without sign-in, that listen_url is the human-facing page, and that the call is free. These are the operational facts an agent needs to decide whether to call and how to use the result.

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 core behavior and layers the conditional field details afterward in one efficient passage. The trailing 'Costs nothing.' is terse but earns its place as pricing information, though the semicolon-chained sentence is slightly dense.

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?

With an output schema present, return values need not be enumerated, yet the description still highlights the fields that matter for decision-making and their caveats (audio_url expiry, auth-free playback). For a single-parameter read tool, nothing an agent needs to call or interpret it 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 coverage is 100% and the single script_id parameter is documented in the schema with its format and provenance. The description only restates that lookup is by script_id and adds no syntax, format, or disambiguation detail beyond what the schema already provides, so the baseline 3 applies.

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 ('Returns one session by script_id') and immediately scopes it to two classes of session: public library sessions versus sessions on the connected account. Naming 'a session made with create_session' anchors it against the creating sibling, so an agent can tell fetch from create 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete use cases: checking whether a script has finished (status) and whether audio has been rendered (has_audio). It does not explicitly exclude alternatives or say 'use search_sessions to find an id first' in the description body, but the when-to-use context is clear and actionable.

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.