Skip to main content
Glama

Start SRIFT Session

srift_start_session

Create a new SRIFT secure session. Returns the 7-character session ID and a shareable URL. The host approves all future joins. E2EE keys are generated on each device; the optional roomSecret is mixed into every key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roomSecretNoOptional shared secret mixed into every key. Never sent to the server; a member who joins with a different secret cannot read chat or files.
sessionNameNoHuman-readable session name (optional, e.g. "Project Collab")

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoDirect browser join URL to share with peers
roleNoUser role in session (host)
sessionIdYes7-character unique session room code

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / roomSecret / description
      Previous value: -"Optional shared secret mixed into key derivation. Never sent to server. Without it the key is derivable from the session ID (which the server sees); set it to make the key participant-only."New value: +"Optional shared secret mixed into every key. Never sent to the server; a member who joins with a different secret cannot read chat or files."
  2. Changed1 schema field changed
    • changedInput schema / properties / roomSecret / description
      Previous value: -"Optional shared secret for extra-strong E2EE key derivation. Never sent to server."New value: +"Optional shared secret mixed into key derivation. Never sent to server. Without it the key is derivable from the session ID (which the server sees); set it to make the key participant-only."
  3. Changed2 schema fields changed
    • changedInput schema / properties / sessionName / description
      Previous value: -"Human-readable session name (optional)"New value: +"Human-readable session name (optional, e.g. \"Project Collab\")"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "role": {
      +      "description": "User role in session (host)",
      +      "type": "string"
      +    },
      +    "sessionId": {
      +      "description": "7-character unique session room code",
      +      "type": "string"
      +    },
      +    "url": {
      +      "description": "Direct browser join URL to share with peers",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "sessionId"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description discloses two meaningful behaviors: the host approves all future joins, and E2EE keys are generated per device with roomSecret mixed in. It stops short of covering session lifetime, whether creation is reversible/should be paired with srift_close_session, or any limits on concurrent sessions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Three tight sentences with zero filler. The core action and its outputs are front-loaded, and the security-model detail follows rather than delaying the essential information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 explained, yet the description still names them. It covers the security model and host-approval behavior adequately for a 0-required-param creation tool, though the lifecycle relationship to srift_close_session/srift_join_session is left unstated.

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%, so both parameters are already documented in the schema, and the description's mention that roomSecret "is mixed into every key" largely restates it. Baseline 3 applies; the description adds no format, constraint, or default detail 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 opens with a specific verb and resource ("Create a new SRIFT secure session") and immediately states the resulting artifacts (7-character session ID, shareable URL). This clearly distinguishes it from siblings like srift_join_session and srift_close_session without needing their schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the entry point that precedes joining, but the description never states when to call this versus srift_join_session, nor any prerequisite or follow-up flow. No exclusions or alternative-selection guidance are given.

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.