Skip to main content
Glama

sis__UpdateVocabulary

Updates an existing SIS hot word vocabulary by ID with new name, language, description, and word contents, returning the vocabulary ID on success.

Instructions

[SIS] 更新一个热词表,更新成功返回id。

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>",
      "vocabulary_id": "<vocabulary_id>"
    },
    "name": "sis__UpdateVocabulary"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It states only that success returns an id — it says nothing about whether this is a full replacement (all five parameters are required, suggesting it is) or a partial patch, whether unspecified fields stay or are cleared, uniqueness constraints on the new name, or permission/resource-isolation implications of project_id.

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 outcome front-loaded and no filler. Its terseness is a deficit in coverage rather than a structural flaw, so conciseness itself is good.

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 six-parameter destructive mutation with no annotations and no output schema, the description is thin. It does cover the return value (an id), which matters because no output schema exists, but it omits replace-vs-merge semantics, error/conflict behavior on duplicate names, and any permission context — all of which an agent needs before overwriting a vocabulary.

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%, with per-field descriptions covering name format, contents constraints, language enum and path-scoped ids, so the schema does the heavy lifting. The description adds no parameter meaning beyond that, which is the baseline 3 case; notably it does not clarify that all five required fields must be resupplied on every update.

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 uses a specific verb + resource ('更新一个热词表' / update a hotword vocabulary), which clearly separates it from CreateVocabulary, DeleteVocabulary and ShowVocabulary by name. It stops short of explicitly stating how it differs from those siblings, but the mutation intent 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 Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance: no mention of prerequisites (e.g., the vocabulary must already exist), no note that CreateVocabulary should be used for new lists, and no exclusions. The agent must infer invocation conditions entirely from the tool name.

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