Skip to main content
Glama
SpringDamon

mcp-server-dmdb

by SpringDamon

列出可访问的数据库模式

dm_list_schemas
Read-onlyIdempotent

Lists all schemas accessible to the current user in DM8, helping identify table ownership and available schemas. Uses ALL_USERS, falling back to SYSOBJECTS if needed.

Instructions

列出当前连接用户在达梦 DM8 中可访问的全部模式(schema/用户)。不确定某个表属于哪个 schema、或想确认库里有哪些业务库时调用。主查询走 ALL_USERS;若权限不足会退回 SYSOBJECTS 按 TYPE$='SCH' 查询。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
response_formatNo输出格式:markdown 便于阅读,json 便于程序处理markdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYes
schemasYes

Schema Changelog

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

  1. First observedv1.0.3

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare read-only and idempotent behavior. The description adds valuable implementation details beyond annotations: it queries ALL_USERS and falls back to SYSOBJECTS with TYPE$='SCH' if permissions are insufficient. This gives the agent useful expectations about behavior and failure modes.

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 concise sentences deliver action, usage context, and fallback behavior without redundancy. The purpose is front-loaded, and every sentence contributes meaningful information.

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 simple zero-required-parameter list tool, the description covers purpose, use cases, data source, and permission fallback. An output schema exists, and annotations are rich, so nothing essential is missing for correct invocation.

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?

The only parameter, response_format, is fully described in the schema with enum values and a clear description. Schema coverage is 100%, so the description does not need to compensate. It adds no additional parameter meaning, matching the baseline.

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 verb and resource: list all schemas/users accessible to the current connection user. It also names concrete invocation scenarios, distinguishing it from sibling table-oriented tools like dm_list_tables.

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?

Provides clear when-to-use guidance: when unsure which schema a table belongs to, or when confirming available business schemas. It does not explicitly name alternative sibling tools or state when not to use it, but the context is clear enough.

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