Skip to main content
Glama

sis__CreateVocabulary

Creates a Huawei Cloud SIS hotword vocabulary from supplied terms and language settings, returning the new vocabulary ID for speech recognition use.

Instructions

[SIS] 新建一个热词表,创建成功返回id。每个用户限制创建10个热词表。

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": {
      "contents": "<contents>",
      "language": "<language>",
      "name": "<name>",
      "project_id": "<project_id>"
    },
    "name": "sis__CreateVocabulary"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes热词表名,不可重复。内容限制为字母,数字,下中划线和井号,长度不超过32字节。
contentsYes支持中英混编热词,单个热词只能由英文字母和unicode编码的汉字组成,不能有其他符号,包括空格。
languageYes热词表语言类型。chinese_mandarin
project_idYes来自公有云的Project ID,用于资源隔离。
descriptionNo热词表描述,长度不超过255字节。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the entire behavioral burden. It does disclose two valuable traits beyond the schema — a successful call returns an id, and there is a hard per-user limit of 10 vocabularies — but it says nothing about failure behavior at the quota boundary, permission requirements, or whether duplicate names are rejected (the schema mentions uniqueness, the description does not reinforce it).

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?

Two short sentences, front-loaded with the action and followed by the return value and quota. Nothing is wasted, though the terseness is partly a consequence of under-specification rather than disciplined editing.

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

Completeness4/5

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

The tool is a straightforward create operation and the description covers the action, the return value (id), and the key quota constraint, while the schema covers all parameter detail. The absence of an output schema is mitigated by the explicit mention of the returned id, though error and rejection behavior remains uncovered.

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 each of the five parameters is already documented in the input schema, including name uniqueness, content restrictions, and the language enum. The description adds no parameter-level meaning beyond that, which makes the baseline 3 the correct score.

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 states a concrete verb and resource — 'create a new hotword/vocabulary table' — which is immediately distinguishable from sibling verbs like sis__DeleteVocabulary, sis__UpdateVocabulary, and sis__ShowVocabulary. It does not explicitly name or route to those siblings, so it falls short of a 5, but the purpose 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 Guidelines3/5

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

The only real usage guidance is a quota constraint: each user may create at most 10 hotword tables. That is useful context for deciding whether the call can succeed, but there is no statement of preconditions, no guidance on when to prefer this over updating an existing vocabulary, and no mention of what to do if the limit is already reached.

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