Skip to main content
Glama

query_history

Read-onlyIdempotent

Retrieve historical time-series observations for a brand or domain to track trends across sampling periods; compare values only within the same series.

Instructions

查某个品牌/域名在历史观测中的时序(多次采样的轨迹)。

数据来自本工作室按周期采样的记录(写入走 CLI,服务本身只读)。
**只在同一 series(同一题集/同一口径)内纵向比较**,不同 series 的值不可直接比大小。

Args:
    identity: 品牌名或域名,如 "合尘猫" / "savantcat.cn"
    kind: 观测类型,留空取全部。常用:mention_rate(提及率) / citation_rate(引用率) /
          visibility_score(可见度分) / rank(排名) / robots_policy / llms_txt
    series: 题集/口径标识,留空取全部
    limit: 每条 series 最多返回的最新点数

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNo
limitNo
seriesNo
identityYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds real behavioral context beyond that: reads are against CLI-written periodic samples, the service itself is read-only, and cross-series comparisons are invalid. It still omits pagination/return-shape behavior, so not a 5.

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?

It is front-loaded with the purpose and the critical series-comparison caveat, then lists the args efficiently. The parenthetical provenance note and the Args block are slightly verbose but each carries usable information, so nothing is egregiously wasted.

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 read-only query with an output schema available, the description covers purpose, constraints, and every parameter, so an agent has enough to call it correctly. Return value structure is left to the output schema, which is acceptable, though default/format details are not restated.

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

Parameters5/5

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

Schema description coverage is 0%, yet the description documents all four parameters: identity with concrete examples, kind with an enumeration of common values and a blank-means-all rule, series as the cohort/definition identifier, and limit as the max newest points per series (clarifying it is per-series, not global). This fully compensates for the empty schema descriptions.

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

Purpose5/5

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

The description states a specific verb+resource: retrieve the time series (trajectory of repeated samples) of a brand/domain in historical observations. It also bounds the scope by clarifying the data comes from periodically sampled records rather than live probing, which separates it from live-probe siblings like probe_source_pool.

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

Usage Guidelines4/5

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

It gives a clear usage rule — compare only within the same series, never compare values across series — and tells the caller that empty kind/series returns everything. It does not explicitly name a sibling tool or say when a different tool (e.g., diff_observations) should be used instead, so it stops short of a 5.

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