Skip to main content
Glama

kvs__CreateTable

Create a table with a unique name inside a specified KVS store, defining primary key and local/global secondary index templates. The store is created automatically if it does not exist.

Instructions

[KVS] 在指定仓内创建表,表名在仓内唯一;创建表时,指定主键模板及本地二级索引模板及全局二级索引模板。创建表时,如果仓不存在,将会自动创建仓。

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__CreateTable"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose two useful behavioral traits: the table name is unique within the store, and a missing store is created automatically as a side effect. It omits permissions, failure modes, and any statement about whether the creation is reversible, and it describes primary-key and index-template inputs that this tool's schema does not expose.

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?

Compact, front-loaded, and free of filler; the creation action comes first and the auto-create caveat follows. The only cost is that the middle clause enumerates template parameters the schema does not have.

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 single-parameter, annotation-free tool with no output schema, the description is adequate: it covers scope and the auto-create side effect. It leaves the agent unsure whether key and index templates are required inputs that are missing from the schema.

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

Parameters2/5

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

Schema coverage is 100% and the single store_name parameter is already fully documented in the schema, so the description adds no meaning there. Worse, it spends most of its text on primary-key, local-secondary-index, and global-secondary-index templates that are not present among the tool's parameters, which can mislead the agent about what it must supply.

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: create a table inside a specified store, with table-name uniqueness scoped to the store. It is clearly distinguishable from sibling write tools such as kvs__PutKv or kvs__DeleteTable, though it does not explicitly name an alternative.

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 is given, and no error or conflict conditions are described (for example what happens when a table with the same name already exists). The one implicit routing hint is that the store is auto-created if it does not exist, which tells the agent it need not call a store-creation tool first.

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