Skip to main content
Glama
zhouweico

mcp-yearning

by zhouweico

yearning_table_fields

Read-onlyIdempotent

Retrieve table structure for a specified database and table, listing field type, nullability, key, default value, comment, and index information.

Instructions

查看表结构:字段列表(类型/可空/键/默认值/注释)与索引信息。

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableYes表名
databaseYes库名
source_idYes数据源 ID
response_formatNomarkdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, providing the safety profile. The description adds value by specifying the exact return content (field attributes and index info) and the underlying API endpoint, which goes beyond 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?

The description is two concise sentences, front-loaded with the core purpose, and includes a useful API reference without any wasted words. It is well-structured for quick scanning.

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 introspection tool, the description covers the main functionality and return value. It lacks explicit error scenarios, authorization requirements, or interaction with other tools, but these are not critical given the annotations and schema. The presence of an output schema (response_format) further reduces the need to detail return formats.

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 75% (3 of 4 parameters described), so the schema already handles most parameter semantics. The tool description does not add any extra meaning to the parameters, such as how to find or format source_id, database, or table. Thus the baseline of 3 is appropriate.

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's purpose: viewing table structure, specifically field lists with type, nullable, key, default, comment, and index information. This distinguishes it from sibling tools like yearning_list_tables, which list tables rather than their fields.

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?

Usage context is implied by the description (inspect table schema when needed), but there is no explicit guidance on when to use this tool versus alternatives, nor any exclusions or prerequisites. The context signals and sibling names suggest differentiation, but the description itself does not spell it out.

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