Skip to main content
Glama
327100395

mcp-mysql-apifox

by 327100395

import_openapi

Import OpenAPI data into Apifox to generate API documentation. Specify input as JSON string, file path, or directory.

Instructions

导入OpenAPI数据到Apifox,在用户明确生成api文档时使用,使用前读取规则或用户指定的项目ID和API密钥,可导入json字符串/包含json文档的目录/json文件

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesJSON 格式 OpenAPI 数据字符串,或接口文档json文件绝对路径(示例"file#[路径]"),或包含json文件的目录绝对路径(示例"dir#[路径]")。注意路径可能有盘符
apiKeyYesApifox API密钥
projectIdYesApifox项目ID
Behavior2/5

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

No annotations are provided, and the description does not disclose behavioral traits such as whether import is additive or destructive, rate limits, or required permissions. The description only states it imports data, leaving ambiguity.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence that front-loads the purpose but mixes conditions (prerequisite, input types) without clear structure. It is somewhat concise but could be better organized.

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?

There is no output schema, and the description does not explain return values or side effects. It covers input types adequately given the schema's richness, but lacks details on what happens after import (e.g., success indication, error handling).

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

Parameters4/5

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

The schema covers 100% of parameters, and the description adds meaning by explaining the 'input' parameter's prefixes ('file#' and 'dir#') and noting that paths may include drive letters. This adds value beyond the schema's basic descriptions.

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 imports OpenAPI data into Apifox for generating API documentation. It specifies the input formats (JSON string, directory, file) and distinguishes from sibling tools that focus on downloading or executing queries.

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 mentions when to use it (when the user explicitly generates API docs) and prerequisites (project ID and API key). However, it does not explicitly exclude cases or compare with sibling tools like download_apis.

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/327100395/mcp-mysql-apifox'

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