Skip to main content
Glama
AutomateLab-tech

Citation Intelligence MCP

citations_freshness

Read-onlyIdempotent

Score cited pages for recency and return a 0-100 freshness rating with per-URL buckets, revealing where AI cites old content so you can publish fresher sources.

Instructions

Score how recent the pages cited for a query are. Calls check_citations, then collects dateModified for each cited URL, returns a 0-100 recency_score (halflife=365d) plus per-URL freshness bucket (fresh/current/stale/ancient/unknown). Surfaces queries where AI cites old content - opportunity to ship fresher.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query whose cited URLs to score for freshness.
engineNoAI engine to query for the citation set.auto
max_resultsNoHow many cited URLs to inspect.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
queryYesThe query whose citations were scored.
engineYesEngine used.
bucketsYesFreshness bucket distribution.
per_urlYesPer-URL freshness details.
fetched_atYesUTC ISO-8601 timestamp.
recency_scoreYes0-100 average recency weight across cited URLs (halflife=365d).
average_days_oldYesMean age in days across URLs with a detectable dateModified.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld, non-destructive), so the bar is lower, yet the description adds real value: it discloses the multi-step behavior (calls check_citations, then collects dateModified per URL), the scoring model (0-100, halflife=365d), and the bucket taxonomy (fresh/current/stale/ancient/unknown). It does not mention latency or cost of querying an AI engine, which is the main remaining gap.

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

Conciseness5/5

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

Three compact sentences, front-loaded with the action and scoring outcome, followed by the workflow and the motivation for using it. No filler and no repetition of schema fields.

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

Completeness5/5

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

An output schema exists, so return-value enumeration is not required, and the description still summarizes the headline outputs (score plus per-URL buckets). Combined with the annotations covering side-effect semantics and 100% schema coverage for inputs, an agent has everything needed to invoke this correctly.

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

Parameters3/5

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

Schema description coverage is 100% and the engine enum plus max_results bounds are fully documented in the schema, so the baseline is 3. The description adds no parameter-level detail beyond what the schema already carries (e.g., no guidance on picking an engine or tuning max_results).

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?

Names a specific verb (Score) and resource (recency of pages cited for a query), and distinguishes itself from neighbors: it delegates citation fetching to check_citations and its output is a freshness score, not a citation list. An agent can separate it from citations_check, citations_trend, and citations_provenance without opening a schema.

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?

Gives a clear context for use ('Surfaces queries where AI cites old content - opportunity to ship fresher'), which tells the agent when this tool is the right pick. It does not name alternative tools or state exclusions, so it stops short of explicit when-not guidance.

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