Skip to main content
Glama

cbs__CreateSession

Creates a Q&A session for an existing CBS bot to initiate interactive question answering; new users should use the Q&A bot API instead.

Instructions

[CBS] 问答会话API由开启会话、处理会话、关闭会话三个接口组成。用户可通过调用该接口创建会话。该接口仅支持老用户,新用户请优先使用问答机器人API接口进行调用。

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": {
      "project_id": "<project_id>",
      "qabot_id": "<qabot_id>"
    },
    "name": "cbs__CreateSession"
  }
}

Input Schema

NameRequiredDescriptionDefault
qabot_idYes机器人标识符。
project_idYes来自公有云的Project ID,用于资源隔离。获取方式请参见获取项目编码。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does add real context beyond the schema: the create/process/close lifecycle and a user-type access restriction. However, it never states what the call returns (presumably a session identifier needed for the later steps), whether sessions expire, or any side effects or permission requirements.

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?

Three short sentences that lead with the API-family context and then the specific action. The middle sentence ('用户可通过调用该接口创建会话') largely restates the title and could be dropped, but overall it is tight and front-loaded.

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?

For a two-parameter creation tool with no output schema and no annotations, the description covers the action and the access restriction but omits the return value and any session lifetime behavior. An agent can invoke it, but cannot confidently chain it into the follow-up process/close calls without guessing.

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 project_id (resource isolation) and qabot_id are already documented in the schema. The description adds no further meaning about either parameter, so the baseline of 3 applies.

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 ('创建会话' / create a session) and places it within a three-interface family (open, process, close). It does not name the concrete sibling tools such as cbs__ExecuteSession or cbs__DeleteSession, so the agent must infer which of them continues the lifecycle, but the core action is unambiguous.

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 an explicit eligibility rule: only existing/old users may call this, and new users should use the Q&A bot API instead. That is a genuine when-not condition plus a redirect. The alternative is described generically rather than by tool name, and there is no guidance on sequencing with the process/close interfaces beyond the family overview.

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

Deploy Server

Other Tools