Skip to main content
Glama

Site Insights by KKV Labs

Compare sites

compare_sites
Read-onlyIdempotent

Ranks several or all switched on sites by one metric (clicks, impressions, ctr, position, sessions, users, key_events, ai_sessions) with change against a comparison period. Counts as one tool call.

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": "compare_sites"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNotrue returns Google's response exactly as Google sent it, unchanged.
sitesNoSites to compare. Default: every switched on site.
metricNoDefault clicks.
periodNoDate range. Default last_28_days. Named ranges end when the data is complete.
compareNoWhat to compare with. Default previous_period (same length, right before).
sort_byNo
end_dateNoCustom end date YYYY-MM-DD.
start_dateNoCustom start date YYYY-MM-DD. Overrides period.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, closed-world and non-destructive behavior, so the bar is lower. The description adds the quota-relevant note that the call counts once and confirms change is reported against a comparison period, but says nothing about ordering of results, limits, or what 'switched on' implies for site selection.

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?

Two compact sentences with the core action front-loaded and no filler. The metric list duplicates the schema enum, which is mildly redundant but aids scanning.

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 an 8-parameter, zero-required, read-only reporting tool with no output schema, the definition covers scope, metric choice, and comparison behavior adequately. Gaps remain around sort_by semantics and the shape/order of the returned ranking, which the agent must infer.

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 88%, so the baseline is 3; the description mainly restates the metric enum and the comparison-period concept already documented in the schema. It adds no guidance for the undocumented sort_by parameter (value vs change vs change_pct) or the period/start_date precedence.

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?

States a specific verb and resource ('ranks ... switched on sites by one metric') and enumerates the supported metrics, so an agent knows exactly what is produced. It does not, however, distinguish itself from close siblings such as all_sites_summary or list_sites.

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?

Implied usage is clear from 'ranks several or all switched on sites', and 'Counts as one tool call' gives a useful cost hint for budget-aware planning. There is no explicit when-to-use/when-not guidance or named alternative for a single-site breakdown.

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