Skip to main content
Glama
sshwsfc
by sshwsfc

create_table

Create a new data table by providing a complete schema definition including fields, types, and form configuration.

Instructions

创建新的数据表,需要提供完整的表结构定义(schema)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes表ID,唯一标识(必填)
titleYes表标题/显示名称(必填)
showFieldNo显示字段,用于列表展示的默认字段
formschemaNo表单模式配置(可选)
schemaYes表结构定义(必填),包含字段定义、表单配置等完整结构。示例: { "form": ["name", "id", "online"], "key": "modelProperties", "listFields": ["name", "id", "online"], "name": "modelProperties", "properties": { "name": { "type": "string", "key": "name", "title": "名称", "fieldType": "input", "listFields": true, "createShow": true, "editShow": true, "need": true }, "online": { "type": "boolean", "key": "online", "title": "在线", "fieldType": "boolean", "listFields": true, "createShow": false, "editShow": false, "disabled": true } }, "required": ["name"], "title": "模型属性", "type": "object" }
Behavior2/5

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

With no annotations, the description carries the burden but only mentions that a complete schema is required. It does not disclose behaviors like validation errors, idempotency, or side effects (e.g., whether existing tables with the same ID are overwritten).

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 a single concise sentence, which is efficient and to the point. However, it lacks structural elements like bullet points or clearly separated sections, which would improve readability.

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

Completeness2/5

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

Given the tool creates a new table and has no output schema, the description should clarify return values or confirm success. It also fails to relate to sibling tools like 'update_table' or 'delete_table'. The description is minimal and leaves significant gaps.

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 schema descriptions are detailed with examples. The tool description adds no significant meaning beyond what the schema already provides, resulting in a baseline score of 3.

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 clearly states 'create a new data table' with the requirement for a complete schema, making the purpose specific. However, it does not explicitly differentiate from siblings like 'create_record' or 'update_table', which would earn a 5.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives, such as prerequisites or contexts where create_table is appropriate. The description simply states the action without usage context.

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/sshwsfc/mcp-server'

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