Skip to main content
Glama
xiaou66

Apifox Filter MCP Server

by xiaou66

获取接口详情

get_api_detail

Fetch complete API documentation for a single endpoint. Provide the endpoint path to retrieve detailed parameters, request body, response, and examples. Optionally specify an HTTP method to filter the results.

Instructions

获取单个接口的完整文档。

使用指引:

  • 已经知道接口路径时,直接传 path 获取详情

  • 先用 search_api 查到候选,再用本工具精确查看参数/请求体/响应/示例

  • method 可选,未提供时返回该 path 下所有方法(如同时存在 GET/POST)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes接口路径,如 /api/users/{id}
methodNoHTTP 方法,可选,不指定则返回所有方法
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses that omitting method returns all methods for the path, and lists the returned content (参数/请求体/响应/示例). However, it doesn't mention errors or auth prerequisites, though the key behavioral nuance of the optional method is covered.

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 concise and structured: a one-sentence purpose followed by three clear bullets. Every sentence adds value, the main purpose is front-loaded, and there is no fluff.

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 tool with 2 params, no output schema, and no annotations, the description covers core functionality, workflow with search_api, and optional method behavior. It could elaborate on response structure beyond listing content types, but it is sufficiently complete for a single-interface retrieval tool.

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 coverage is 100% for both parameters, so baseline is 3. The description restates the optionality of method and the role of path, but adds little beyond schema. The note about using with search_api is more workflow than parameter semantics.

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 retrieves complete documentation for a single API endpoint ('获取单个接口的完整文档'). It distinguishes itself from siblings by positioning it as the precise follow-up to search_api and emphasizing '单个' (single), contrasting with batch_get_apis.

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?

A dedicated '使用指引' section gives explicit when-to-use instructions: direct use when path is known, use after search_api for precise details, and explains the optional method behavior. This clearly delineates the workflow and alternative.

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/xiaou66/apifox-filter-mcp-server'

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