Skip to main content
Glama

frs__DeleteFaceSet

Deletes a specified face set and all faces it contains for a given Huawei Cloud project, removing the entire set from the service.

Instructions

[FRS] 删除人脸库以及其中所有的人脸。

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": {
      "face_set_name": "<face_set_name>",
      "project_id": "<project_id>"
    },
    "name": "frs__DeleteFaceSet"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID,获取方法请参见[获取项目ID/账号租户名/AK/SK](https://support.huaweicloud.com/api-face/face_02_0056.html)。
face_set_nameYes人脸库名称。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It does disclose the key destructive consequence - the entire face set plus every contained face is removed - which is genuinely valuable. However, it says nothing about irreversibility, required permissions, failure modes (nonexistent set), or whether the operation is atomic, so a mutation tool of this severity remains under-described.

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 tightly worded sentence with the destructive scope front-loaded and no filler. It is arguably undersized for a destructive operation, but nothing in it is wasted.

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?

For a two-parameter deletion tool with a fully documented schema and no output schema, the description conveys the essential fact an agent needs: this removes the whole face set and all its faces. What is missing is irreversibility and permission context, not core semantics.

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 both project_id and face_set_name documented in the schema, so the baseline is 3. The description adds no meaning about how face_set_name is used or what happens on mismatch, but no compensation is required given the complete 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 states a specific verb (delete) and resource (face set) and adds the critical scope detail that all faces inside are deleted too. That scope note distinguishes it from per-face siblings such as DeleteFaceByFaceId and BatchDeleteFaces, though no sibling is named explicitly.

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 versus the per-face deletion tools or ShowFaceSet, and no stated preconditions (e.g., whether the set must be empty, or whether the caller must own it). The agent must infer the destructive use case from the verb alone.

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