Skip to main content
Glama
SpringDamon

mcp-server-dmdb

by SpringDamon

按关键字搜索表和列

dm_search_objects
Read-onlyIdempotent

Find database fields by entering any keyword, matching table names, column names, and column comments (including Chinese), then returns owning table, column type, and comment.

Instructions

按关键字跨表搜索:表名、列名、列注释三处任一命中即返回,同时给出所属表、列类型和注释。适合"哪个表里有手机号字段""跟退款相关的列在哪"这类探索。中文注释也能搜(例如搜"订单")。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo返回行数,默认 50
ownerNo限定模式名,不传则搜索全部可访问模式
offsetNo跳过的行数
keywordYes搜索关键字,会同时匹配表名、列名和列注释,不区分大小写
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.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint). The description adds useful behavioral context beyond those: matching spans three attributes, results include owner table/type/comment, and Chinese comments are searchable. No contradiction with 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?

Two compact sentences in Chinese, front-loaded with the search scope and immediately followed by practical examples. Zero fluff; every word contributes to understanding the tool's purpose and usage.

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?

For a read-only search tool with full schema coverage and safety annotations, the description adequately covers behavior, return fields, and usage scenarios. Pagination and offset/limit are documented in parameters, and since there is no output schema, the returned fields are stated. 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?

Schema description coverage is 100%, so parameters are fully documented in the schema. The description's mention of keyword matching across three attributes duplicates the schema's keyword parameter description, adding minimal new semantic value beyond what the schema already provides.

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 states a specific verb (跨表搜索) and resource (tables and columns), and specifies the matching criteria (表名、列名、列注释) and return contents (所属表、列类型、注释). This fully distinguishes it from siblings like dm_list_tables (table listing) and dm_describe_table (single-table detail) without ambiguity.

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?

Concrete example queries ('哪个表里有手机号字段', '跟退款相关的列在哪') clearly signal the exploration/discovery use case, and the '跨表搜索' phrase implies cross-schema scoping. However, it does not explicitly name alternatives or exclusion criteria, so it lacks the top-tier explicit routing.

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