Skip to main content
Glama
Asheng008

unifiles-mcp

by Asheng008

sqlite_inspect_database

Inspect SQLite database structure to list all tables, their schemas, and optional row previews for informed querying.

Instructions

检查 SQLite 数据库结构。

返回包含所有表名称、表结构和前几行数据预览的摘要信息。 在决定查询哪个表之前,请先使用此工具。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
db_pathYesSQLite 数据库文件路径(支持相对路径和绝对路径)
include_previewNo是否包含数据预览(默认 False,避免数据量大时性能问题)
preview_rowsNo如果 include_preview=True,每个表预览的行数(默认 3 行)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description carries full burden. It discloses that the tool returns summary info and can include a preview, but does not mention error handling or authentication needs. The performance note is helpful, but more detail could be added.

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 three sentences, front-loaded with the core purpose, and each sentence contributes meaning. No wasted words.

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

Completeness5/5

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

Given the tool's simplicity, the presence of an output schema, and the clear usage guidance, the description is complete. It covers what the tool does, when to use it, and key parameter considerations.

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 description coverage is 100%, so baseline is 3. The description reiterates the preview and performance aspects but adds little beyond the parameter descriptions themselves.

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 inspects SQLite database structure, returning table names, structures, and optional data preview. It explicitly advises using this tool before querying, distinguishing it from siblings like sqlite_query and sqlite_get_schema.

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 description gives a direct usage hint: 'Before deciding which table to query, please use this tool.' It also mentions performance considerations for the preview parameter. While it doesn't explicitly exclude other tools, the context is clear.

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/Asheng008/unifiles-mcp'

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