Skip to main content
Glama

session_create

Destructive

Create a 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>",
      "body": "<body>"
    },
    "name": "session_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
waitMsNo
backgroundNo
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / body / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "agent": {
      -        "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"
      -      },
      -      "attachments": {
      -        "items": {
      -          "properties": {
      -            "bytes": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "mimeType": {
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "name": {
      -              "maxLength": 255,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "path": {
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "path",
      -            "name",
      -            "bytes"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 10,
      -        "type": "array"
      -      },
      -      "audience": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "kind": {
      -            "const": "specific",
      -            "type": "string"
      -          },
      -          "memberUserIds": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "maxItems": 100,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "kind",
      -          "memberUserIds"
      -        ],
      -        "type": "object"
      -      },
      -      "behavior": {
      -        "default": "steer",
      -        "enum": [
      -          "steer",
      -          "follow_up"
      -        ],
      -        "type": "string"
      -      },
      -      "clientRequestId": {
      -        "format": "uuid",
      -        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -        "type": "string"
      -      },
      -      "cwd": {
      -        "maxLength": 1024,
      -        "minLength": 1,
      -        "pattern": "^[^\\u0000-\\u001f\\u007f]+$",
      -        "type": "string"
      -      },
      -      "dictated": {
      -        "description": "True when the words were transcribed from speech.",
      -        "type": "boolean"
      -      },
      -      "images": {
      -        "items": {
      -          "properties": {
      -            "data": {
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "mimeType": {
      -              "enum": [
      -                "image/png",
      -                "image/jpeg",
      -                "image/webp",
      -                "image/gif"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "data",
      -            "mimeType"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 4,
      -        "type": "array"
      -      },
      -      "mode": {
      -        "properties": {
      -          "name": {
      -            "type": "string"
      -          },
      -          "prompt": {
      -            "type": "string"
      -          },
      -          "states": {
      -            "items": {
      -              "additionalProperties": {},
      -              "propertyNames": {
      -                "type": "string"
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "name",
      -          "prompt",
      -          "states"
      -        ],
      -        "type": "object"
      -      },
      -      "prompt": {
      -        "description": "The words of the input. May be empty when it carries images or attachments.",
      -        "type": "string"
      -      },
      -      "tier": {
      -        "enum": [
      -          "frontier",
      -          "balanced",
      -          "economy",
      -          "openai-frontier",
      -          "openai-max",
      -          "anthropic-frontier",
      -          "anthropic-max",
      -          "anthropic-balanced",
      -          "google-recommended",
      -          "google-balanced"
      -        ],
      -        "type": "string"
      -      },
      -      "title": {
      -        "maxLength": 120,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "prompt",
      -      "clientRequestId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "agentSlug": {
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "onboarding",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "agentSlug"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "agent": {
      +        "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"
      +      },
      +      "attachments": {
      +        "items": {
      +          "properties": {
      +            "bytes": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "mimeType": {
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "name": {
      +              "maxLength": 255,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "path": {
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "path",
      +            "name",
      +            "bytes"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 10,
      +        "type": "array"
      +      },
      +      "audience": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "kind": {
      +            "const": "specific",
      +            "type": "string"
      +          },
      +          "memberUserIds": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "maxItems": 100,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "kind",
      +          "memberUserIds"
      +        ],
      +        "type": "object"
      +      },
      +      "behavior": {
      +        "default": "steer",
      +        "enum": [
      +          "steer",
      +          "follow_up"
      +        ],
      +        "type": "string"
      +      },
      +      "clientRequestId": {
      +        "format": "uuid",
      +        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +        "type": "string"
      +      },
      +      "cwd": {
      +        "maxLength": 1024,
      +        "minLength": 1,
      +        "pattern": "^[^\\u0000-\\u001f\\u007f]+$",
      +        "type": "string"
      +      },
      +      "dictated": {
      +        "description": "True when the words were transcribed from speech.",
      +        "type": "boolean"
      +      },
      +      "images": {
      +        "items": {
      +          "properties": {
      +            "data": {
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "mimeType": {
      +              "enum": [
      +                "image/png",
      +                "image/jpeg",
      +                "image/webp",
      +                "image/gif"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "data",
      +            "mimeType"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 4,
      +        "type": "array"
      +      },
      +      "mode": {
      +        "properties": {
      +          "name": {
      +            "type": "string"
      +          },
      +          "prompt": {
      +            "type": "string"
      +          },
      +          "states": {
      +            "items": {
      +              "additionalProperties": {},
      +              "propertyNames": {
      +                "type": "string"
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "prompt",
      +          "states"
      +        ],
      +        "type": "object"
      +      },
      +      "prompt": {
      +        "description": "The words of the input. May be empty when it carries images or attachments.",
      +        "type": "string"
      +      },
      +      "tier": {
      +        "enum": [
      +          "frontier",
      +          "balanced",
      +          "economy",
      +          "openai-frontier",
      +          "openai-max",
      +          "anthropic-frontier",
      +          "anthropic-max",
      +          "anthropic-balanced",
      +          "google-frontier",
      +          "google-recommended",
      +          "google-balanced"
      +        ],
      +        "type": "string"
      +      },
      +      "title": {
      +        "maxLength": 120,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "prompt",
      +      "clientRequestId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "agentSlug": {
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "onboarding",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "agentSlug"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / body / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "attachments": {
      -        "items": {
      -          "properties": {
      -            "bytes": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "mimeType": {
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "name": {
      -              "maxLength": 255,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "path": {
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "path",
      -            "name",
      -            "bytes"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 10,
      -        "type": "array"
      -      },
      -      "audience": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "kind": {
      -            "const": "specific",
      -            "type": "string"
      -          },
      -          "memberUserIds": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "maxItems": 100,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "kind",
      -          "memberUserIds"
      -        ],
      -        "type": "object"
      -      },
      -      "behavior": {
      -        "default": "steer",
      -        "enum": [
      -          "steer",
      -          "follow_up"
      -        ],
      -        "type": "string"
      -      },
      -      "clientRequestId": {
      -        "format": "uuid",
      -        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -        "type": "string"
      -      },
      -      "cwd": {
      -        "maxLength": 1024,
      -        "minLength": 1,
      -        "pattern": "^[^\\u0000-\\u001f\\u007f]+$",
      -        "type": "string"
      -      },
      -      "dictated": {
      -        "description": "True when the words were transcribed from speech.",
      -        "type": "boolean"
      -      },
      -      "images": {
      -        "items": {
      -          "properties": {
      -            "data": {
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "mimeType": {
      -              "enum": [
      -                "image/png",
      -                "image/jpeg",
      -                "image/webp",
      -                "image/gif"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "data",
      -            "mimeType"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 4,
      -        "type": "array"
      -      },
      -      "mode": {
      -        "properties": {
      -          "name": {
      -            "type": "string"
      -          },
      -          "prompt": {
      -            "type": "string"
      -          },
      -          "states": {
      -            "items": {
      -              "additionalProperties": {},
      -              "propertyNames": {
      -                "type": "string"
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "name",
      -          "prompt",
      -          "states"
      -        ],
      -        "type": "object"
      -      },
      -      "prompt": {
      -        "description": "The words of the input. May be empty when it carries images or attachments.",
      -        "type": "string"
      -      },
      -      "tier": {
      -        "enum": [
      -          "frontier",
      -          "balanced",
      -          "economy",
      -          "openai-frontier",
      -          "openai-max",
      -          "anthropic-frontier",
      -          "anthropic-max",
      -          "anthropic-balanced",
      -          "google-recommended",
      -          "google-balanced"
      -        ],
      -        "type": "string"
      -      },
      -      "title": {
      -        "maxLength": 120,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "prompt",
      -      "clientRequestId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "agentSlug": {
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "onboarding",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "agentSlug"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "agent": {
      +        "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"
      +      },
      +      "attachments": {
      +        "items": {
      +          "properties": {
      +            "bytes": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "mimeType": {
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "name": {
      +              "maxLength": 255,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "path": {
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "path",
      +            "name",
      +            "bytes"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 10,
      +        "type": "array"
      +      },
      +      "audience": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "kind": {
      +            "const": "specific",
      +            "type": "string"
      +          },
      +          "memberUserIds": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "maxItems": 100,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "kind",
      +          "memberUserIds"
      +        ],
      +        "type": "object"
      +      },
      +      "behavior": {
      +        "default": "steer",
      +        "enum": [
      +          "steer",
      +          "follow_up"
      +        ],
      +        "type": "string"
      +      },
      +      "clientRequestId": {
      +        "format": "uuid",
      +        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +        "type": "string"
      +      },
      +      "cwd": {
      +        "maxLength": 1024,
      +        "minLength": 1,
      +        "pattern": "^[^\\u0000-\\u001f\\u007f]+$",
      +        "type": "string"
      +      },
      +      "dictated": {
      +        "description": "True when the words were transcribed from speech.",
      +        "type": "boolean"
      +      },
      +      "images": {
      +        "items": {
      +          "properties": {
      +            "data": {
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "mimeType": {
      +              "enum": [
      +                "image/png",
      +                "image/jpeg",
      +                "image/webp",
      +                "image/gif"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "data",
      +            "mimeType"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 4,
      +        "type": "array"
      +      },
      +      "mode": {
      +        "properties": {
      +          "name": {
      +            "type": "string"
      +          },
      +          "prompt": {
      +            "type": "string"
      +          },
      +          "states": {
      +            "items": {
      +              "additionalProperties": {},
      +              "propertyNames": {
      +                "type": "string"
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "prompt",
      +          "states"
      +        ],
      +        "type": "object"
      +      },
      +      "prompt": {
      +        "description": "The words of the input. May be empty when it carries images or attachments.",
      +        "type": "string"
      +      },
      +      "tier": {
      +        "enum": [
      +          "frontier",
      +          "balanced",
      +          "economy",
      +          "openai-frontier",
      +          "openai-max",
      +          "anthropic-frontier",
      +          "anthropic-max",
      +          "anthropic-balanced",
      +          "google-recommended",
      +          "google-balanced"
      +        ],
      +        "type": "string"
      +      },
      +      "title": {
      +        "maxLength": 120,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "prompt",
      +      "clientRequestId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "agentSlug": {
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "onboarding",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "agentSlug"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / body / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "attachments": {
      -        "items": {
      -          "properties": {
      -            "bytes": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "mimeType": {
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "name": {
      -              "maxLength": 255,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "path": {
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "path",
      -            "name",
      -            "bytes"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 10,
      -        "type": "array"
      -      },
      -      "audience": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "kind": {
      -            "const": "specific",
      -            "type": "string"
      -          },
      -          "memberUserIds": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "maxItems": 100,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "kind",
      -          "memberUserIds"
      -        ],
      -        "type": "object"
      -      },
      -      "behavior": {
      -        "default": "steer",
      -        "enum": [
      -          "steer",
      -          "follow_up"
      -        ],
      -        "type": "string"
      -      },
      -      "clientRequestId": {
      -        "format": "uuid",
      -        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -        "type": "string"
      -      },
      -      "cwd": {
      -        "maxLength": 1024,
      -        "minLength": 1,
      -        "pattern": "^[^\\u0000-\\u001f\\u007f]+$",
      -        "type": "string"
      -      },
      -      "dictated": {
      -        "description": "True when the words were transcribed from speech.",
      -        "type": "boolean"
      -      },
      -      "images": {
      -        "items": {
      -          "properties": {
      -            "data": {
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "mimeType": {
      -              "enum": [
      -                "image/png",
      -                "image/jpeg",
      -                "image/webp",
      -                "image/gif"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "data",
      -            "mimeType"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 4,
      -        "type": "array"
      -      },
      -      "mode": {
      -        "properties": {
      -          "name": {
      -            "type": "string"
      -          },
      -          "prompt": {
      -            "type": "string"
      -          },
      -          "states": {
      -            "items": {
      -              "additionalProperties": {},
      -              "propertyNames": {
      -                "type": "string"
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "name",
      -          "prompt",
      -          "states"
      -        ],
      -        "type": "object"
      -      },
      -      "prompt": {
      -        "description": "The words of the input. May be empty when it carries images or attachments.",
      -        "type": "string"
      -      },
      -      "tier": {
      -        "enum": [
      -          "frontier",
      -          "balanced",
      -          "economy",
      -          "openai-frontier",
      -          "openai-max",
      -          "anthropic-frontier",
      -          "anthropic-max",
      -          "anthropic-balanced",
      -          "google-recommended"
      -        ],
      -        "type": "string"
      -      },
      -      "title": {
      -        "maxLength": 120,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "prompt",
      -      "clientRequestId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "agentSlug": {
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "onboarding",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "agentSlug"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "attachments": {
      +        "items": {
      +          "properties": {
      +            "bytes": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "mimeType": {
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "name": {
      +              "maxLength": 255,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "path": {
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "path",
      +            "name",
      +            "bytes"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 10,
      +        "type": "array"
      +      },
      +      "audience": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "kind": {
      +            "const": "specific",
      +            "type": "string"
      +          },
      +          "memberUserIds": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "maxItems": 100,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "kind",
      +          "memberUserIds"
      +        ],
      +        "type": "object"
      +      },
      +      "behavior": {
      +        "default": "steer",
      +        "enum": [
      +          "steer",
      +          "follow_up"
      +        ],
      +        "type": "string"
      +      },
      +      "clientRequestId": {
      +        "format": "uuid",
      +        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +        "type": "string"
      +      },
      +      "cwd": {
      +        "maxLength": 1024,
      +        "minLength": 1,
      +        "pattern": "^[^\\u0000-\\u001f\\u007f]+$",
      +        "type": "string"
      +      },
      +      "dictated": {
      +        "description": "True when the words were transcribed from speech.",
      +        "type": "boolean"
      +      },
      +      "images": {
      +        "items": {
      +          "properties": {
      +            "data": {
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "mimeType": {
      +              "enum": [
      +                "image/png",
      +                "image/jpeg",
      +                "image/webp",
      +                "image/gif"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "data",
      +            "mimeType"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 4,
      +        "type": "array"
      +      },
      +      "mode": {
      +        "properties": {
      +          "name": {
      +            "type": "string"
      +          },
      +          "prompt": {
      +            "type": "string"
      +          },
      +          "states": {
      +            "items": {
      +              "additionalProperties": {},
      +              "propertyNames": {
      +                "type": "string"
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "prompt",
      +          "states"
      +        ],
      +        "type": "object"
      +      },
      +      "prompt": {
      +        "description": "The words of the input. May be empty when it carries images or attachments.",
      +        "type": "string"
      +      },
      +      "tier": {
      +        "enum": [
      +          "frontier",
      +          "balanced",
      +          "economy",
      +          "openai-frontier",
      +          "openai-max",
      +          "anthropic-frontier",
      +          "anthropic-max",
      +          "anthropic-balanced",
      +          "google-recommended",
      +          "google-balanced"
      +        ],
      +        "type": "string"
      +      },
      +      "title": {
      +        "maxLength": 120,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "prompt",
      +      "clientRequestId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "agentSlug": {
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "onboarding",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "agentSlug"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. First observed

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the description is not required to restate the safety profile. However, it asserts the call waits for the turn to finish while the schema exposes background and waitMs controls, and the description never reconciles this tension or explains what state is created/persisted. That leaves a mutation tool's runtime behavior ambiguous.

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?

A single short sentence with the action front-loaded and no wasted words. It is efficient, though the brevity is partly under-specification rather than tight editing.

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

Completeness1/5

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

For a destructive, open-world mutation with a complex nested body, no output schema, and two mutually exclusive request shapes, one sentence is far from sufficient. An agent cannot determine what a successful call returns, how the blocking wait interacts with background/waitMs, or which body variant to build.

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

Parameters1/5

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

Schema description coverage is 0% for four top-level parameters, and the body is a deeply nested anyOf of two distinct payload shapes (prompt-based vs onboarding). The description mentions none of workspaceSlug, body, waitMs, or background, so it adds no meaning beyond the raw schema.

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 session") and adds the blocking behavior ("wait for the submitted turn to finish"). It does not differentiate from near-name siblings such as session_child_create or agent_session_default_message_create, so an agent cannot tell from the text alone which create-variant applies.

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 guidance on when to use this tool versus the many sibling create/update tools, and no stated preconditions (workspace slug, agent vs cwd exclusivity, onboarding vs prompt body shape). The only usage signal is the implied 'blocking call' behavior.

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