yuandian_get_api_document

根据接口 id、routeKey 或 MCP toolName 获取元典开放平台 Markdown 接口文档。

Server Yuandian yuandian-mcp-server
Category Read
Risk class Low
Parameters 30 required

What yuandian_get_api_document does on Yuandian

AI agents call yuandian_get_api_document to retrieve information from Yuandian without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
id number 接口 ID
routeKey string 接口 routeKey
toolName string MCP tool 名称,例如 yuandian_rh_enterpriseSearch

Parameters from the server's own tool schema.

Why yuandian_get_api_document needs a policy

This tool retrieves and returns API documentation based on provided identifiers. It is a pure read operation with no side effects, no data modification, no code execution, and no financial impact. The worst-case misuse would be unauthorized access to documentation, which has minimal blast radius.

From the tool's definition Tool name 'yuandian_get_api_document' and description '根据接口 id、routeKey 或 MCP toolName 获取元典开放平台 Markdown 接口文档' (retrieve YuanDian open platform Markdown API documentation by interface id, routeKey, or MCP toolName) indicates a retrieval/query operation that…

Questions about yuandian_get_api_document

What does the yuandian_get_api_document tool do? +

根据接口 id、routeKey 或 MCP toolName 获取元典开放平台 Markdown 接口文档。. It is categorised as a Read tool in the Yuandian MCP Server, which means it retrieves data without modifying state.

What parameters does yuandian_get_api_document accept? +

yuandian_get_api_document accepts 3 parameters: id, routeKey, toolName. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on yuandian_get_api_document? +

Register the Yuandian MCP server in PolicyLayer and add a rule for yuandian_get_api_document: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Yuandian. Nothing to install.

What risk level is yuandian_get_api_document? +

yuandian_get_api_document is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit yuandian_get_api_document? +

Yes. Add a rate_limit block to the yuandian_get_api_document rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block yuandian_get_api_document completely? +

Set action: deny in the PolicyLayer policy for yuandian_get_api_document. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides yuandian_get_api_document? +

yuandian_get_api_document is provided by the Yuandian MCP server (yuandian-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.