Skip to main content
Glama

pls_delete_area

pls_delete_area
Destructive

Delete area entities permanently from the PLS system. Provide confirmation and a list of area IDs.

Instructions

【🔧 管理】删除区域实体。

参数:

  • confirm: 二次确认(必填),必须传 "确认"

  • ids: ID数组(必填),要删除的实体ID列表

  • 根据实体类型传入对应字段

返回: {success: true/false, entity: 实体名称, action: 操作类型}

提示: 删除不可撤销!

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo区域ID(更新/删除时必填,长整型以字符串传入)
idsYes要删除的实体ID列表(长整型以字符串传入)
nameNo区域名称
mapIdNo所属地图ID
confirmYes⚠️ 写操作需二次确认,必须传 "确认"
areaTypeNo区域类型: 0-普通, 1-禁区, 2-安全区, 3-集合区
areaRuleIdNo关联算法规则ID
Behavior4/5

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

Description adds '删除不可撤销!' (deletion irreversible) and explains confirm parameter for safety, beyond annotations which already mark as destructive and not read-only.

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?

Description is concise with bullet points, but the line '根据实体类型传入对应字段' is vague and could be more specific.

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

Completeness3/5

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

Covers purpose, confirm, ids, return format, and warning. However, it doesn't specify which fields correspond to entity types, leaving some ambiguity for a destructive operation without output schema.

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 description adds limited value. However, it does clarify confirm must be '确认' and hints at entity-type-specific fields, but the hint is vague.

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

Purpose5/5

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

Description explicitly states '删除区域实体' (delete area entity), with clear verb and resource. It distinguishes from siblings like pls_create_area and pls_update_area.

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?

No explicit when-to-use or when-not-to-use guidance. While deletion is distinct from siblings, prerequisites (e.g., entity not in use) are not mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sweet-dog-cyber/pls-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server