Glasser
Glasser

数据提供商: DataForSEO

使用 DataForSEO,通过 URL 查看某页面的 SEO 设置情况。

默认输入规模下,每次调用 $0.0005在 60 秒内响应

根据用户提供的URL请求获取一个网页,并分析该页面在自然搜索方面的优化情况:包括状态码、元标题、描述信息、规范URL、标题标签、内部及外部链接的数量,以及图片、脚本和样式表的数量与大小;还会检测标题和描述的长度,是否存在阻碍页面渲染的脚本,以及核心网页性能指标和加载时间,还会评估页面的可读性,并检查是否存在重复或已被弃用的标签。此外,还可以选择进行拼写检查和对结构化数据进行验证。输入一个URL,就会得到一个经过检查的页面;每次调用都会检查一个页面。每次调用发送一次请求,按供应商的价目表计费;空结果集会标记为无结果。

如何调用

第 1 步接入

首次使用时,将提示词粘贴到 Agent 对话中。Skill 会自动安装 CLI 并完成登录。无法使用 shell 的 Agent 可通过 MCP 接入。

接入
set up https://glasser.ai/SKILL.md

Show me how to use the DataForSEO endpoint /v3/on_page/instant_pages on Glasser.

第 2 步尝试一个具体任务

调查网站问题时,可以审阅与目标问题相关的爬取结果。

复制此提示词到你的 Agent,审阅与网站问题相关的爬取结果。

提示词
Use dataforseo:/v3/on_page/instant_pages on Glasser.
Find returned crawl findings relevant to the website problem I describe.

接口结构

json
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1
    },
    "custom_js": {
      "type": "string"
    },
    "enable_xhr": {
      "type": "boolean"
    },
    "check_spell": {
      "type": "boolean"
    },
    "switch_pool": {
      "type": "boolean"
    },
    "browser_preset": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1
    },
    "load_resources": {
      "type": "boolean",
      "description": "Load images, stylesheets and scripts. DataForSEO charges extra per page."
    },
    "store_raw_html": {
      "type": "boolean"
    },
    "accept_language": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1
    },
    "checks_threshold": {
      "type": "array"
    },
    "ip_pool_for_scan": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1
    },
    "custom_user_agent": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1
    },
    "enable_javascript": {
      "type": "boolean",
      "description": "Run the page's scripts. DataForSEO charges extra per page."
    },
    "browser_screen_width": {
      "type": "integer"
    },
    "disable_cookie_popup": {
      "type": "boolean"
    },
    "validate_micromarkup": {
      "type": "boolean"
    },
    "browser_screen_height": {
      "type": "integer"
    },
    "return_despite_timeout": {
      "type": "boolean"
    },
    "enable_browser_rendering": {
      "type": "boolean",
      "description": "Render the page in a full browser (needs enable_javascript and load_resources). DataForSEO charges extra per page."
    },
    "browser_screen_scale_factor": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "enum": [
            "Infinity",
            "-Infinity",
            "NaN"
          ],
          "type": "string"
        }
      ]
    }
  },
  "additionalProperties": false
}

计费说明

默认输入规模更大的输入和付费选项会随数据提供商的用量而改变费用。 没有返回数据时不收费。$0.0005
每次运行的费用上限总费用不会超过此金额。$0.051
数据提供商错误数据提供商未能响应。$0.00
运行超时运行超过时间限制。$0.00
内部错误内部错误导致运行未能完成。$0.00
方法POST版本5数据提供商文档 ↗