Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
inspect_api_docsA

在用户已明确要求查询、调试、搜索、列出或分析接口文档后,检查 doc.html、Knife4j hash 深链接或 Swagger JSON 地址。不要因为消息中只有 URL 就调用;孤立 URL 应先询问用户意图。调用后实时验证 hash 中的分组、分类和 operationId,返回候选项与 nextAction。nextAction 为 get_api_detail 时,应直接使用已验证的 group/path/method 调用 get_api_by_path。

list_api_categoriesA

实时读取指定 docsUrl,列出分类及接口数量。回答用户时必须明确保留返回中的 sourceNotice。不会调用业务 API,也不会缓存地址。

get_api_categoryA

按精确分类名实时查询接口。summary 返回摘要,full 返回请求和递归响应 schema。回答用户时必须明确保留 sourceNotice。

get_api_by_pathA

按精确路径和可选 HTTP Method 实时查询完整接口文档,返回递归 schemaTree 和 flatFields。回答用户时必须明确保留 sourceNotice。

search_apisA

在指定实时 Swagger 文档中搜索路径、摘要、描述、分类和 operationId。回答用户时必须明确保留 sourceNotice。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/qipeijun/swagger-docs-mcp'

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