Skip to main content
Glama
wxhzhwxhzh

DrissionPageMCP

by wxhzhwxhzh

save_dict_to_sqlite

Save dictionary, list of dictionaries, or JSON string data into a SQLite database table, with configurable database path and table name.

Instructions

将字典或JSON字符串保存到SQLite数据库中。

参数: data (dict or list of dict or str): 字典、列表字典,或JSON字符串。 db_path (str): SQLite 数据库文件路径。 table_name (str): 要创建的表名。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
db_pathNodata.db
table_nameNomy_table
Behavior2/5

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

With no annotations, the description must carry the full behavioral burden. It only says data is saved to SQLite, but does not disclose whether tables are overwritten or appended, how list data is inserted, error behavior, or any side effects. This is insufficient for a write operation.

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

Conciseness5/5

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

The description is concise and well-structured, with a clear parameter list that is easily scannable. Every line earns its place and there is no redundant text.

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?

The tool is relatively simple, and the description provides essential info: what data can be passed, database path, and table name. It implies table creation via '要创建的表名'. However, it leaves out details about return values or insertion behavior for multiple records, which are minor gaps given the tool's simplicity.

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?

The description adds meaningful parameter explanations beyond the schema, which only lists types and defaults. It clarifies that 'data' accepts a dict, list of dicts, or JSON string, and explains 'db_path' and 'table_name' clearly. This compensates for the 0% schema description coverage.

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 the tool's function: saving a dictionary or JSON string to a SQLite database. It specifies the action (save), the resource (dict/JSON to SQLite), and is distinct from all sibling browser automation tools.

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 given on when to use this tool versus alternatives, though there are no similar siblings. It also fails to mention prerequisites, such as the need for a valid database path or how existing tables are handled.

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/wxhzhwxhzh/DrissionPageMCP'

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