Skip to main content
Glama

query_scraper_and_serp_statistics

Destructive

输入产品 ID、工具 ID 和时间范围,拿到网页采集与 SERP 采集的成功次数、失败次数、成功率、平均响应时间、P50/P90 响应时间和消耗积分

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "query_scraper_and_serp_statistics"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo查询时间范围结束时间,秒级时间戳;缺失或为 0 时默认为当前时间秒值
startNo查询时间范围开始时间,秒级时间戳;缺失或为 0 时默认为当前日期 00:00:00 减去 7 天的秒值
crawlerIdNo工具 ID;0 表示全部工具
productIdNo产品 ID;0 表示全部产品

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

With no output schema, the description usefully enumerates the exact metrics returned (success/failure counts, success rate, average and P50/P90 latency, credits consumed), which is real information beyond the annotations. It does not cover aggregation semantics, permissions, or cost of the call, and it leaves the destructiveHint/openWorldHint annotations unexplained for what reads as a pure statistics query.

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 that front-loads the inputs and then the outputs; every clause carries information, with no filler or repetition.

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

Completeness4/5

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

For a 4-parameter, no-output-schema aggregation tool, the definition states both the inputs and the full metric list, which is what an agent needs to decide to call it and interpret the result. Remaining gaps (aggregation granularity, response shape) are minor.

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

Parameters4/5

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

Schema description coverage is 100%, so semantics of start/end/productId/crawlerId are already documented, and the description correctly echoes the three inputs it needs. It adds slight framing value by tying inputs to a product/tool/time scope but does not add defaults or format detail beyond the schema.

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?

Specific verb+resource: retrieves web-scraping and SERP-scraping statistics (success/failure counts, success rate, avg/P50/P90 latency, credits consumed) scoped by product ID, tool ID and time range. It is clearly distinguishable from task-level or product-listing siblings, though it never explicitly contrasts itself with query_common_collection_api_statistics or query_scraper_and_serp_tasks.

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

Usage Guidelines3/5

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

Usage is only implied: the description tells you to supply product ID, tool ID and time range to get aggregated metrics, which suggests 'use for stats roll-ups, not task detail'. There is no explicit when-to-use vs. alternatives and no when-not-to-use or prerequisite statement.

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