Skip to main content
Glama
meilSop
by meilSop

获取 YApi 接口详情

get_api_detail

Retrieve complete YApi interface details by ID, including request information and response structure.

Instructions

根据接口 ID 获取 YApi 接口详情,包含请求信息、响应结构等完整内容。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes接口 ID
Behavior3/5

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

With no annotations, the description carries the transparency burden. It discloses that the result includes request information and response structure, but does not explicitly state that this is a read-only operation or address permissions, errors, or other behavioral traits.

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 a single, focused sentence that states the key information upfront without unnecessary words or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple single-parameter getter, the description includes some output details (request info, response structure) but lacks complete return value explanation or disambiguation from similar sibling tools. Given no output schema, the description could be more thorough.

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 schema already provides 100% coverage for the single 'id' parameter with its description. The description only reinforces that the ID is used for lookup, adding no new semantic details beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it retrieves YApi interface details by interface ID, specifying the resource and action. However, it does not distinguish itself from the sibling tool 'yapi_get_interface_detail', which appears to serve the same purpose.

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 usage is implied: one should use this tool when they have an interface ID and need its details. There is no explicit guidance on when not to use it or mention of alternative tools, leaving differentiation to the agent.

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/meilSop/mcp-yapi-server'

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