Skip to main content
Glama

session_child_create

Destructive

Create a child session and wait for the submitted turn to finish

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": {
      "workspaceSlug": "<workspaceSlug>",
      "sessionId": "<sessionId>",
      "body": "<body>"
    },
    "name": "session_child_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
waitMsNo
sessionIdYes
backgroundNo
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / body / properties / tier / enum
      Previous value: -[
      -  "frontier",
      -  "balanced",
      -  "economy",
      -  "openai-frontier",
      -  "openai-max",
      -  "anthropic-frontier",
      -  "anthropic-max",
      -  "anthropic-balanced",
      -  "google-recommended",
      -  "google-balanced"
      -]New value: +[
      +  "frontier",
      +  "balanced",
      +  "economy",
      +  "openai-frontier",
      +  "openai-max",
      +  "anthropic-frontier",
      +  "anthropic-max",
      +  "anthropic-balanced",
      +  "google-frontier",
      +  "google-recommended",
      +  "google-balanced"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / body / properties / agent
      Added value: +{
      +  "description": "The agent that owns the session, by slug; `root` is the workspace agent. The session runs in the agent's folder. Not with cwd.",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / body / properties / tier / enum
      Previous value: -[
      -  "frontier",
      -  "balanced",
      -  "economy",
      -  "openai-frontier",
      -  "openai-max",
      -  "anthropic-frontier",
      -  "anthropic-max",
      -  "anthropic-balanced",
      -  "google-recommended"
      -]New value: +[
      +  "frontier",
      +  "balanced",
      +  "economy",
      +  "openai-frontier",
      +  "openai-max",
      +  "anthropic-frontier",
      +  "anthropic-max",
      +  "anthropic-balanced",
      +  "google-recommended",
      +  "google-balanced"
      +]
  4. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the safety profile is partly covered. The description adds the important behavioral trait that the call blocks until the submitted turn finishes, but it does not explain what the child session is, what side effects or permissions are involved, or how waitMs and background alter the blocking behavior.

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?

The description is a single front-loaded sentence with no wasted wording. Its brevity is efficient, though for a tool this complex it edges toward under-specification rather than true conciseness.

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

Completeness2/5

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

Given a destructive, open-world tool with five parameters, nested objects, and no output schema, one sentence is not enough. The agent is left without the parent/child relationship, timeout semantics, background behavior, or what happens to the created session after the turn completes.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across five parameters, including a nested body object with prompt, clientRequestId, agent, cwd, tier, and other fields. The description mentions 'submitted turn' but adds essentially no meaning about any parameter, including the important waitMs/background controls that affect whether the tool actually waits.

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?

The description gives a specific verb and resource ('Create a child session') plus a scope qualifier ('wait for the submitted turn to finish'), so the agent knows this is a synchronous child-session creation tool. It does not distinguish this from sibling tools like session_create or session_message_create, leaving the 'child' relationship implicit.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no exclusions, and no mention of alternatives such as session_create. The phrase about waiting implies synchronous usage, but it does not tell the agent when to prefer a non-waiting or background path.

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