Skip to main content
Glama
AutomateLab-tech

Citation Intelligence MCP

domain_cited_for_diff

Read-onlyIdempotent

Compare which queries a domain is cited for across two time windows to track gained or lost citations after publishing or migrating content. Uses cache only, with no API spend.

Instructions

Diff cited_for between two time windows for a domain. Returns queries gained (cited now, not before baseline_until) and queries lost (cited before, not since current_since). Cache-only, no API spend. Use to track citation drift over time after publishing or migrating content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain to diff, e.g. 'automatelab.tech'.
engineNoFilter by engine. Omit to include all.
current_sinceNoISO date floor for the 'current' window. Defaults to baseline_until.
baseline_untilYesISO date (or ISO datetime). Baseline window = all cache entries fetched on or before this timestamp.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
lostYesQueries lost (were cited, no longer are).
countsYes
domainYesDomain that was diffed.
gainedYesQueries gained (newly cited) since the baseline.
sourceYes
fetched_atYesUTC ISO-8601 timestamp.
current_sinceYesLower bound of the current window.
engine_filterNoEngine filter applied, if any.
baseline_untilYesUpper bound of the baseline window.
unchanged_queriesYesQueries cited in both windows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuinely useful non-annotation context: 'Cache-only, no API spend' and the precise definition of what 'gained' and 'lost' mean relative to the windows.

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 sentences, front-loaded with the core operation, then output semantics, then the cost/behavior note and usage hint. Every sentence earns its place with no filler.

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?

With an output schema present, return-value detail is not needed, and the description still supplies window semantics, cost behavior, and usage context. Nothing an agent needs to call it correctly is missing.

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 coverage is 100%, so baseline is 3. The description goes beyond the schema by explaining how baseline_until and current_since define the two windows and what membership in each means, adding real semantic value over the field 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?

States a specific verb (diff), resource (cited_for citations), and scope (two time windows for a domain), and names the gained/lost output semantics. An agent can distinguish it from the sibling domain_cited_for point-in-time lookup without opening either 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 an explicit context for use ('track citation drift over time after publishing or migrating content'), which implicitly routes the agent away from domain_cited_for. No explicit when-not condition or named alternative, so it falls 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.