Skip to main content
Glama
SpringDamon

mcp-server-dmdb

by SpringDamon

列出达梦中的表

dm_list_tables
Read-onlyIdempotent

Lists tables in a DM8 schema by name keyword, returning row counts, tablespace, and comments. Use it to discover which tables exist or locate tables related to a topic.

Instructions

按模式名和表名关键字列出达梦 DM8 中的表,附带行数统计、所在表空间和表注释。用于"这个库里有哪些表""我要找订单相关的表"这类探索。注意 NUM_ROWS 来自统计信息,本库多数表未收集统计信息因而为 NULL;需要准确行数请用 dm_table_count 做精确 COUNT。标识符不区分大小写,传 order 或 ORDER 都可以。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo返回行数,默认 50
ownerNo模式名(schema),例如 HR、SALES。不传则列出当前用户可访问的全部模式下的表
offsetNo跳过的行数,用于翻页
patternNo表名模糊匹配关键字,不区分大小写,例如 ORDER 会匹配 data_order_main
response_formatNo输出格式markdown

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.3

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already mark the tool read-only and idempotent. The description adds useful behavior beyond annotations: NUM_ROWS is from statistics and may be NULL, and identifiers are case-insensitive. No contradictions with the annotations.

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?

Three compact sentences each earn their place: what the tool returns, when to use it and the count caveat, and the case-insensitivity note. Information is front-loaded and no filler is present.

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?

For a read-only list tool with no required params and no output schema, the description covers the return shape (row count, tablespace, comment), the main data-quality caveat, and the alternative for exact counts. Remaining defaults and format are already documented in the schema.

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?

Schema coverage is 100%, so baseline is 3. The description adds context beyond schema by illustrating pattern matching ('ORDER matches data_order_main') and confirming case-insensitive identifiers, which helps the agent use owner/pattern correctly.

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?

Description states a specific action (list tables in DM8 by schema/name keyword) and the exact payload (row-count statistics, tablespace, comments). It clearly positions the tool as an exploration helper, which differentiates it from sibling tools like dm_describe_table or dm_table_count.

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

Usage Guidelines5/5

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

Gives explicit usage scenarios ('which tables are in this library', 'find order-related tables') and an explicit alternative: use dm_table_count when accurate row counts are required. This satisfies the when/when-not/alternatives criterion.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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

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