Skip to main content
Glama

frs__DeleteFaceByExternalImageId

Deletes a face from a specified face set by matching its external_image_id, enabling removal of image-linked face records using the project ID and face set name.

Instructions

[FRS] 根据external_image_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": {
      "external_image_id": "<external_image_id>",
      "face_set_name": "<face_set_name>",
      "project_id": "<project_id>"
    },
    "name": "frs__DeleteFaceByExternalImageId"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID,获取方法请参见[获取项目ID/账号租户名/AK/SK](https://support.huaweicloud.com/api-face/face_02_0056.html)。
face_set_nameYes人脸库名称。
external_image_idYesexternal_image_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 provided, so the description carries the full behavioral burden. It states the deletion but not whether it is irreversible, what permissions are required, whether it removes all matching faces in the face set or a single one, or what a missing-ID outcome looks like — significant gaps for a destructive operation.

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 prefix tag and the key identifier front-loaded; nothing is redundant. Its brevity edges into under-specification, but the sentence itself is efficient and well-ordered.

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 mutation tool with three required parameters, no annotations, and no output schema, the definition is too thin — it omits face-set scoping behavior, error cases, and any indication of the effect of deletion. The schema covers the inputs, but the behavioral picture an agent needs is missing.

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 project_id, face_set_name, and external_image_id are already documented in the schema. The description adds only the linking of external_image_id to the delete target, which is a marginal but real clarification beyond the schema's tautological 'external_image_id' entry.

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 names a specific verb (delete) and resource (face) and identifies the lookup key (external_image_id), which implicitly separates it from the sibling frs__DeleteFaceByFaceId that deletes by face_id. It stops short of explicitly naming or contrasting that sibling, so it is clear but not fully differentiating.

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 over frs__DeleteFaceByFaceId, no prerequisites (such as the face having been added to the face set), and no mention of what happens if the external_image_id does not exist. The agent must infer all routing from the parameter names.

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