Skip to main content
Glama

sessions_create

Starts a new project session from a prompt, runs one headless turn, and returns a resume line to continue it; optionally records prior sessions it replaces.

Instructions

Start a new session in this project whose first message is prompt (text you wrote, for example from sessions you read). It runs one headless turn now.

made_from lists the sessions it replaces; only those can later go to sessions_trash. Open it with the returned resume line.

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": {
      "prompt": "<prompt>"
    },
    "name": "sessions_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
promptYes
made_fromNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the two most surprising behaviors: the tool immediately executes a model turn (a side effect that costs time/tokens), and `made_from` gating determines what can later be trashed. It leaves out permission requirements, latency, failure behavior, and whether the call blocks until the turn finishes.

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-loaded with the primary action and its immediate effect, then the `made_from` constraint, then the opening instruction. Slightly wordy parenthetical ('text you wrote, for example from sessions you read') but no sentence is disposable.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A three-parameter mutation-style tool with no annotations and no output schema needs more: `tags` is unexplained and the return value is only alluded to via 'the returned `resume` line' without saying what else the response contains. The critical behaviors are covered, but not the full picture.

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 0%, so the description must compensate. It explains `prompt` ('text you wrote') and gives `made_from` meaningful semantics ('sessions it replaces' plus trash eligibility), but the third parameter `tags` is never mentioned, leaving an undocumented input for an agent to guess at.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('start a new session in this project') and adds the key qualifier that it 'runs one headless turn now', which separates it from the read/list/rename siblings. It never names an alternative explicitly, so differentiation is by implication rather than declaration.

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?

Provides real usage context for `made_from`: it lists the sessions being replaced and only those become eligible for `sessions_trash` later, which is actionable guidance. However there is no stated condition for when to create a session versus working through existing siblings, and no exclusions or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.