google-search-console-mcp-server
Version:
Model Context Protocol server for Google Search Console API - integrate with Claude Code and Claude Desktop
67 lines • 1.79 kB
TypeScript
/**
* Compare Periods Tool
* Compare search performance between two time periods
*/
import { OAuth2Client } from '../types/index.js';
export declare const name = "compare_periods";
export declare const description = "Compare search performance metrics between two time periods (e.g., this week vs last week)";
export declare const inputSchema: {
type: string;
properties: {
siteUrl: {
type: string;
description: string;
};
currentStartDate: {
type: string;
description: string;
};
currentEndDate: {
type: string;
description: string;
};
previousStartDate: {
type: string;
description: string;
};
previousEndDate: {
type: string;
description: string;
};
dimensions: {
type: string;
items: {
type: string;
enum: string[];
};
description: string;
};
rowLimit: {
type: string;
description: string;
default: number;
};
};
required: string[];
};
interface ComparePeriodRequest {
siteUrl: string;
currentStartDate: string;
currentEndDate: string;
previousStartDate: string;
previousEndDate: string;
dimensions?: string[];
rowLimit?: number;
}
/**
* Handler for comparing performance between two periods
* Retrieves data for both periods and calculates change percentages
*/
export declare function handler(args: ComparePeriodRequest, authClient: OAuth2Client): Promise<{
content: {
type: string;
text: string;
}[];
}>;
export {};
//# sourceMappingURL=compare-periods.d.ts.map