Skip to main content
Glama

yeepay_yop_link_detail

Retrieve detailed content from Yeepay's YOP platform subpages or external links by providing the URL for comprehensive information extraction.

Instructions

通过此工具,获取易宝支付开放平台(YOP)的各个子页面或者外部链接的详细内容,内容中包含链接时可以调用工具yeepay_yop_link_detail进一步获取其详细内容

Args: url: str - 易宝支付开放平台(YOP)的子页面的URL地址

Returns: str: 易宝支付开放平台(YOP)的各个子页面的详细内容

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes

Implementation Reference

  • The handler function for the 'yeepay_yop_link_detail' tool. It is decorated with @mcp.tool(), which registers it as an MCP tool. The function downloads content from the provided URL (absolute or relative to Yeepay YOP platform base URL) using HttpUtils.download_content, handling exceptions by returning an error message.
    @mcp.tool() def yeepay_yop_link_detail(url: str) -> str: """ 通过此工具,获取易宝支付开放平台(YOP)的各个子页面或者外部链接的详细内容,内容中包含链接时可以调用工具yeepay_yop_link_detail进一步获取其详细内容 Args: url: str - 易宝支付开放平台(YOP)的子页面的URL地址 Returns: str: 易宝支付开放平台(YOP)的各个子页面的详细内容 """ try: if url.startswith("http"): return HttpUtils.download_content(url) url = ("https://open.yeepay.com/" + url).replace("//", "/") return HttpUtils.download_content(url) except (ValueError, TypeError, ConnectionError): return "HTTP请求失败, url: " + url
  • The @mcp.tool() decorator registers the yeepay_yop_link_detail function as a tool in the FastMCP server.
    @mcp.tool()
  • The function signature and docstring define the input schema (url: str) and output (str), used by FastMCP for tool schema.
    def yeepay_yop_link_detail(url: str) -> str: """ 通过此工具,获取易宝支付开放平台(YOP)的各个子页面或者外部链接的详细内容,内容中包含链接时可以调用工具yeepay_yop_link_detail进一步获取其详细内容 Args: url: str - 易宝支付开放平台(YOP)的子页面的URL地址 Returns: str: 易宝支付开放平台(YOP)的各个子页面的详细内容 """

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/yop-platform/yop-mcp'

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