Skip to main content
Glama
CO2T5ZN
by CO2T5ZN

查看接口文档

get_api_doc

Fetch complete API documentation for any Jushuitan endpoint: request URL, parameters, error codes, and examples. Use list_apis or search_apis to find the API first.

Instructions

查看某个接口的完整文档:请求地址、公共参数、请求/返回参数说明、错误码、请求/响应/异常示例。可先用 list_apis 或 search_apis 找到接口。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiYes接口标识:docId、路由(如 /open/shops/query)或接口名称(名称支持模糊匹配,命中多个时会列出候选)
sectionNo只看某一节:overview/urls/common_params/request_params/response_params/errors/request_example/response_example/exception_example,默认全部all
categoryNo可选:限定分类(名称或ID),用于消除重名

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden. It clearly describes a read-only lookup action ('查看') and spells out what the returned document contains. It does not mention permissions or side effects, but for a read-only doc retrieval tool this is adequate.

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 compact, front-loaded with the primary purpose, and every sentence earns its place by describing what the tool returns and how to find the target API.

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?

Given 3 parameters, full schema coverage, and no output schema, the description adequately covers the tool's purpose, result contents, and discovery workflow. It could note multi-match candidate behavior, but that is already in the parameter 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 baseline is 3. The description adds only a loose connection to list_apis/search_apis as a discovery step but does not add parameter-level detail 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 action (查看/view) and the resource (某个接口的完整文档), and enumerates the document sections. It also distinguishes itself from list_apis and search_apis by implying those are for discovery while this one retrieves the full documentation.

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?

It gives clear usage context by telling the agent to '可先用 list_apis 或 search_apis 找到接口', i.e., discover first with siblings then use this tool. It does not explicitly state when not to use it, but the sequencing is strong enough guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.