Skip to main content
Glama

搜尋引擎與 AI 爬蟲工具箱

預覽 Google 搜尋結果標題與描述

serp_preview
Read-onlyIdempotent

預覽 Google 搜尋結果標題與描述,估算中文像素寬度與截斷位置。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "title": "<title>"
    },
    "name": "serp_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
titleYes
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered. The description usefully adds that the tool computes Chinese pixel width and truncation position, which is genuinely beyond the annotations, but it says nothing about the shape of the preview output or how the url parameter influences display.

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

Conciseness4/5

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

A single compact sentence with the core capability front-loaded and no filler. It is efficient, though brevity comes at the cost of the guidance dimensions above.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With three undocumented parameters, no output schema, and no explanation of what a preview result contains (truncated strings, width values, pass/fail), the definition is thin for the tool's complexity. A user could call it correctly only by guessing at parameter roles.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning. It mentions the title and description fields only obliquely, and never explains the optional url parameter, why title is required, or typical length limits for each field.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb plus resource (預覽 Google 搜尋結果標題與描述) and adds the distinctive capability of estimating Chinese pixel width and truncation position. However, it never contrasts itself with related siblings such as generate_meta_tags or youtube_seo_check, so an agent must infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use statement, no mention of prerequisites, and no named alternative. The intent (check truncation before publishing) is only implied by the word 預覽, leaving the agent to guess the workflow context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources