Skip to main content
Glama

cbs__PostRequests

Submits a question to a Huawei Cloud CBS Q&A bot and returns the matching knowledge points ranked by score, with optional domain and threshold filters.

Instructions

[CBS] 问答服务的输入为用户提问,输出是与输入最匹配的Top N(默认为top5)个知识点,知识点按得分从高到低排序。

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>",
      "question": "<question>"
    },
    "name": "cbs__PostRequests"
  }
}

Input Schema

NameRequiredDescriptionDefault
extendsNo扩展参数项。
user_idNo用户id,在日志中用于标识不通用户,可以为任意String
qabot_idYesqabot编号,UUID格式,如:303a0a00-c88a-43e3-aa2f-d5b8b9832b02。
questionYes用户输入
project_idYes来自公有云的Project ID,用于资源隔离。
session_idNo会话标识符,UUID格式。如:c04e6f7b-61d7-4a2d-a0c8-f9ecd2f62359。
chat_enableNo默认false
operate_typeNo调用接口时候传入,用以标记的问答的行为,默认为0,最终会展示在问答日志里。 0 用户输入 1 单击热点问题 3 单击推荐问题 4 单击问题提示
threshold_enableNotrue:启动内部阈值 返回经过阈值处理之后的答案。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and falls short. It states the output ordering and default size, but a POST operation that writes to a Q&A log (per the operate_type parameter) is not disclosed here as having side effects, nor are auth/project-scoping requirements or failure modes mentioned.

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?

One clean sentence that front-loads the input/output contract with no filler or redundancy. It is efficient, though it is arguably too terse for a nine-parameter tool rather than over-written.

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?

For a tool with nine parameters, a nested 'extends' object, and no output schema, one sentence about the response being top-N knowledge points is not enough. Nothing explains the shape of returned knowledge points, how domains filtering interacts with project_id/qabot_id scoping, or how session_id and chat_enable affect behavior.

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 coverage is 100%, so every one of the nine parameters is already documented in the schema. The description's only parameter-adjacent content is the 'top5 default', which merely restates the schema's default for the top field, so it adds no meaning beyond the structured data; the baseline 3 applies.

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

Purpose3/5

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

The description explains the service contract (user question in, top-N matching knowledge points out, sorted by score), which gives a workable sense of purpose even though the tool name 'PostRequests' is opaque. However, it never frames the operation as an explicit verb+resource (e.g. 'submit a question to the qabot'), and it does not distinguish itself from the sibling cbs__ExecuteQaChat, which appears similarly Q&A-oriented.

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 when-to-use, when-not-to-use, or prerequisite guidance at all. An agent gets no signal about how this differs from cbs__ExecuteQaChat or cbs__CreateSession, nor about whether a session must exist first despite session_id being an optional parameter.

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