Skip to main content
Glama
zhouweico

mcp-yearning

by zhouweico

yearning_list_databases

Read-onlyIdempotent

List databases under a specified data source ID, with an option to hide excluded databases. Use it to identify available databases for SQL auditing and query management.

Instructions

列出指定数据源下的数据库(库)列表。

对应 API:GET /api/v2/fetch/base

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hideNo是否隐藏排除库列表
source_idYes数据源 ID(来自 yearning_list_sources)
response_formatNomarkdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
databasesNo数据库名列表
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds only the API endpoint, which is not a behavioral trait, and does not reveal any additional context such as filtering, pagination, or output details.

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?

The description consists of two brief sentences that front-load the purpose and provide the API mapping. It contains no filler or redundant information.

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 listing tool, the description combined with annotations and schema is sufficient to select and invoke it. The output schema exists, and although the description does not mention the 'hide' option, the schema describes it, so the overall package is fairly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description does not explain any parameters; the schema covers two of three parameters with descriptions, but the response_format parameter lacks definition. The tool description provides no additional 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 clearly states the tool lists databases under a specified data source using the verb '列出' and the resource '数据库(库)'. This distinguishes it from sibling tools like list_sources and 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 Guidelines3/5

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

The description implies usage when one needs to list databases for a given data source, but it does not explicitly contrast with alternatives or state when not to use it. The user must infer the context from the tool's name and sibling tools.

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/zhouweico/mcp-yearning'

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