Skip to main content
Glama

kvs__DeleteTable

Deletes a specified KVS table and all its key-value documents, marking the table for deletion while concurrent reads and writes continue.

Instructions

[KVS] 删除指定表及所有kv文档,表标记为删除后,空间不会立刻释放,并发的读写访问仍需继续完成。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "kvs__DeleteTable"
  }
}

Input Schema

NameRequiredDescriptionDefault
store_nameNo仓名,全域唯一,不同租户的仓名不能相同。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does deliver genuinely non-obvious behavior: the table is only marked deleted, storage is not reclaimed immediately, and in-flight concurrent reads/writes must finish. That is exactly the kind of semantic an agent cannot infer from the name. Gaps remain: irreversibility is not stated, idempotency (behavior when the table is absent) is unaddressed, and no permission requirements are given.

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?

One sentence, front-loaded with the destructive action, followed immediately by the timing caveat. No filler, and the most decision-relevant fact (what gets destroyed) comes first. The bracketed "[KVS]" prefix is mildly redundant with the tool name.

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 destructive, irreversible tool with zero annotation coverage and no output schema, the description covers the space-reclamation caveat well but omits the two things an agent most needs: that the deletion cannot be undone and what happens on a non-existent table. Adequate to act on, not complete enough to act on safely.

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% and the single parameter is fully documented there (store name, globally unique across tenants), so the schema does the work. The description adds nothing about store_name — notably it never says whether an empty/absent store_name means a default store, which matters since required-parameter count is 0.

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?

States a specific verb and resource ("删除指定表及所有kv文档") with an explicit blast radius — the table plus every KV document inside it. The resource scope alone distinguishes it from kvs__DeleteKv (single-document deletion), though it never names that sibling to make the contrast explicit.

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?

Usage is implied by the destructive verb rather than stated: there is no guidance on prerequisites (does the table need to be empty? does it need to exist?), no recommendation to call DescribeTable first, and no pointer to the per-document alternative. The closing caveat constrains expectations but does not route the agent between tools.

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