Skip to main content
Glama

pls_batch_update_anchors

pls_batch_update_anchors
Destructive

Update multiple anchors' properties (status, IP, model, map ID) with a single request. Requires '确认' confirmation. Supports up to 500 anchors.

Instructions

【🔧 管理】批量更新基站信息,包括状态、IP、型号等。

参数:

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

  • anchors: 基站更新列表(必填),每项含:

    • code: 基站编码(必填)

    • ip: 基站 IP(可选)

    • model: 基站型号(可选)

    • mapId: 地图ID(可选)

    • status: 状态(可选)0-在线, 1-离线

返回: 成功更新的基站数量

提示: 只更新提供的字段,未提供的字段保持不变。最多支持 500 条。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
anchorsYes基站列表
confirmYes⚠️ 写操作需二次确认,必须传 "确认"
Behavior4/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false. The description adds key behavioral details: partial updates ('只更新提供的字段'), maximum batch size (500), return value (success count), and the two-step confirmation mechanism via the 'confirm' parameter. No contradictions.

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?

The description is well-structured with a purpose header, bulleted parameter list, and a tip. It is slightly verbose with emoji, but every sentence adds value. There is some redundancy with schema descriptions, but it remains clear and easy to parse.

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?

Given the tool's complexity (batch update with nested array), the description covers the return value, partial update behavior, and maximum items. It does not explain error handling or partial-failure scenarios, but for a typical batch update, this is acceptable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, baseline 3. The description adds value by restating parameter meanings in natural language, clarifying the confirm constant, status enum, and the partial-update semantics. It also explains the required 'code' field within each anchor object.

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?

The description clearly states '批量更新基站信息' (batch update anchor information) using a specific verb ('batch_update') and resource ('anchors'), distinguishing it from sibling tools like pls_create_anchor, pls_update_anchor, and pls_delete_anchor.

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 description implies usage for batch updating anchor fields (status, IP, model) but does not explicitly state when to prefer this over single-update tools (pls_update_anchor) or provide when-not-to-use guidance. No alternatives are 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