Skip to main content
Glama
SpringDamon

mcp-server-dmdb

by SpringDamon

采样查看表数据

dm_table_sample
Read-onlyIdempotent

Sample rows from a table to preview its data without writing SELECT statements. Handles identifier casing and quotes, returning Markdown or JSON.

Instructions

从指定表取几行样本数据,省去手写 SELECT 的步骤,也不用处理标识符大小写和引号。想快速了解一张表里"数据长什么样"时用这个;需要条件过滤或聚合请用 dm_query。默认只取 5 行,避免把上下文打满。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo采样行数,默认 5
ownerNo模式名,table 未带前缀时使用
tableYes表名,支持 "TABLE" 或 "SCHEMA.TABLE",不区分大小写
offsetNo跳过的行数
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.4/5.0
Behavior4/5

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

The annotations already establish that the tool is read-only, idempotent, and non-destructive. The description adds useful behavioral context: it avoids writing SELECT, handles identifier case/quoting concerns, and caps sampling at 5 rows by default to avoid filling the context.

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 sentences with no filler: purpose comes first, usage guidance follows, and the rationale for the default limit is included. Every sentence earns its place.

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 simple read-only sampling tool with full parameter documentation and safety annotations, the description is nearly complete. It covers purpose, usage boundaries, and behavioral rationale. A small gap is that it does not describe the return format or acknowledge limit/offset semantics, though those are present in the schema.

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 the input schema already fully documents limit, offset, owner, table, and response_format. The description reinforces the default 5-row behavior and the table-oriented nature of the tool, but adds little parameter meaning beyond the schema.

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 action: sampling rows from a specified table to inspect its data. It clearly differentiates this from dm_query by noting that filtering or aggregation belongs to that sibling tool.

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?

The description explicitly says when to use this tool: when you want to quickly understand what data in a table looks like. It also gives an explicit exclusion: for conditional filtering or aggregation, use dm_query.

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