Skip to main content
Glama

落地整理提案

apply_consolidation

Atomically apply user-approved consolidation: update, delete, disable, archive, or create entries. All operations commit together or not at all.

Instructions

原子地执行用户已确认的整理操作清单。仅限用户主导的管理场景。op: update(带 fields)/ delete / disable / archive(可带 note 注明去向)/ create(带 fields)。Atomically apply user-approved consolidation operations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.6/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 of behavioral disclosure. It does disclose atomicity ('原子地'/'Atomically') and enumerates the operation types (update/delete/disable/archive/create), which is meaningful. But it does not disclose the consequences of destructive ops (e.g., whether delete is irreversible or archive is restorable), error handling on partial failure, or response behavior—significant gaps for a mutation tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact but redundant: the first Chinese clause ('原子地执行用户已确认的整理操作清单') and the final English sentence ('Atomically apply user-approved consolidation operations') convey the same message twice, which wastes space. The op-semantics clause earns its place, but the bilingual duplication could be trimmed to a single canonical sentence.

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?

For a batch mutation tool with five operation types, no output schema, and no annotations, the description covers purpose, atomicity, and op semantics but omits what happens on success or failure—particularly since the atomic guarantee makes rollback behavior relevant. A note on return values or error semantics would substantially improve completeness, though the essential usage contract is present.

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 0%, so the description must compensate, and it does meaningfully. 'op: update(带 fields)/ delete / disable / archive(可带 note 注明去向)/ create(带 fields)' maps each op enum value to its associated parameters, clarifying that update and create require fields and archive accepts a note for destination. The id parameter and the structure of fields are left unexplained, but the op-to-parameter mapping adds real value beyond the bare 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 and resource: 'Atomically apply user-approved consolidation operations' / '原子地执行用户已确认的整理操作清单' (atomically execute the user-confirmed consolidation operations list). The 'user-approved' qualifier hints at a distinction from the sibling start_consolidation, but it never names the sibling explicitly, so the differentiation is implicit rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The phrase '仅限用户主导的管理场景' (only for user-led management scenarios) plus '用户已确认' (user-confirmed) provides clear context about when the tool is appropriate: after the user has approved the operations. However, it does not explicitly name alternatives such as start_consolidation or state when-not-to-use conditions beyond the 'user-led only' constraint.

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