Skip to main content
Glama
Asheng008

unifiles-mcp

by Asheng008

sqlite_get_schema

Retrieve the schema of a SQLite table, mapping field names to their data types, to enable accurate SQL query construction.

Instructions

获取 SQLite 表结构(字段名到字段类型的映射)。

核心工具。LLM 写 SQL 前必须看 Schema。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
db_pathYesSQLite 数据库文件路径(支持相对路径和绝对路径)
table_nameYes表名

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations provided, so description carries full burden. Describes it as a schema retrieval operation; read-only nature is implied but not explicitly stated. No contradictions.

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?

Very concise two-sentence description. Front-loaded with core purpose and critical usage hint. No wasted words.

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?

With 2 well-described parameters and output schema available, the description provides necessary context (core tool, prerequisite). Complete for its purpose, though behavioral transparency could be enhanced.

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% with each parameter having a basic description. The description adds no additional meaning beyond the schema, earning a baseline score.

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?

Clearly states it retrieves SQLite table schema (field name to type mapping). Identifies as a core tool and prerequisite for writing SQL, distinguishing it from sibling tools like sqlite_inspect_database and sqlite_query.

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?

Explicitly states 'LLM must see schema before writing SQL', providing clear context for when to use. Lacks explicit exclusions or alternatives but effectively implies use before queries.

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