Skip to main content
Glama

Mencoro

Cited domains and pages

get_cited_sources
Read-onlyIdempotent

The domains (groupBy=domain) or pages (groupBy=page) most cited across a project's current AI answers — the sources the answer engines drew on. Per source: how many times it was cited, how many distinct answers and tracked queries it appeared in, and its average rank within the citation lists. The list is UNFILTERED by ownership: it includes the brand's, competitors' and third-party sources. Only AI answer engines (chatgpt, claude, perplexity, google_ai_overview, google_ai_mode) produce citations. Dates must fall within the data retention window. Read as of dateTo (an archived project's archive day when earlier): each tracked query active that day counts through every pass of its latest check on or before it, and a check that came back empty, a query not active that day or a deleted query contributes nothing; dateFrom is validated but bounds nothing. asOf.date names the day read. A call whose reads run past their time budget is refused; narrow the range or filters instead of retrying as is. Answers questions like "which websites and pages does the AI cite or quote for me versus competitors".

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "organizationId": "<organizationId>",
      "projectId": "<projectId>",
      "dateFrom": "<dateFrom>",
      "dateTo": "<dateTo>"
    },
    "name": "get_cited_sources"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
dateToYes
offsetNo
enginesNoallowed values: chatgpt, claude, perplexity, google_ai_overview, google_ai_mode (only AI engines carry citations)
groupByNo"domain" to roll up by host, "page" to roll up by exact URLdomain
dateFromYes
projectIdYes
organizationIdYes

Output Schema

NameRequiredDescriptionDefault
asOfYesThe day read: dateTo, or the day the project was archived when that is earlier.
totalYes
sourcesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / asOf
      Added value: +{
      +  "description": "The day read: dateTo, or the day the project was archived when that is earlier.",
      +  "properties": {
      +    "date": {
      +      "format": "date",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "date"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "sources",
      -  "total"
      -]New value: +[
      +  "sources",
      +  "total",
      +  "asOf"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / engines / description
      Previous value: -"allowed values: chatgpt, perplexity, google_ai_overview, google_ai_mode (only AI engines carry citations)"New value: +"allowed values: chatgpt, claude, perplexity, google_ai_overview, google_ai_mode (only AI engines carry citations)"
    • changedInput schema / properties / engines / items / enum
      Previous value: -[
      -  "chatgpt",
      -  "perplexity",
      -  "google_ai_overview",
      -  "google_ai_mode",
      -  "google_serp",
      -  "google_shopping"
      -]New value: +[
      +  "chatgpt",
      +  "claude",
      +  "perplexity",
      +  "google_ai_overview",
      +  "google_ai_mode",
      +  "google_serp",
      +  "google_shopping"
      +]
  3. Changed6 schema fields changed
    • addedOutput schema / properties / sources / items / properties / avgPosition / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / sources / items / properties / avgPosition / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / sources / items / properties / domain / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / sources / items / properties / domain / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedOutput schema / properties / sources / items / properties / sampleTitle / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / sources / items / properties / sampleTitle / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
  4. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantial behavior beyond them: the as-of-date read semantics for archived projects, how empty checks/inactive/deleted queries contribute nothing, that dateFrom is validated but non-binding, and the time-budget refusal with the advice to narrow rather than retry. That last point is unusually actionable for an agent.

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?

Dense but every clause earns its place — scope, metric definitions, ownership caveat, engine restriction, retention and as-of semantics, and the failure mode are all load-bearing. Front-loaded with the primary definition and the groupBy switch, with caveats trailing. Semicolon-heavy sentences are still readable.

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?

For an 8-parameter, 4-required analytical read with an output schema, nothing critical is missing: the agent knows what it returns, how dates are interpreted, which engines count, and what to do when a call is refused. Return-format details are rightly deferred to the output schema.

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 only 25%, so the description carries the load and does well on the hard parts: groupBy=domain rolls up by host vs groupBy=page by exact URL, engines are restricted to the five AI engines that carry citations, and the asymmetric dateFrom/dateTo semantics are explained. It says nothing about limit, offset, organizationId, or projectId, which keeps it below a 5.

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 concrete resource and metric: the domains or pages most cited across a project's AI answers, with the groupBy switch spelled out inline. It further pins the scope (per-source citation counts, distinct answers, tracked queries, average rank) so an agent can distinguish this ranked-citation tool from generic project-source or breakdown siblings.

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 clear application context ('which websites and pages does the AI cite or quote for me versus competitors') plus explicit constraints: only AI engines produce citations, dates must be inside the retention window, and the result is unfiltered by ownership (so it already includes competitors). No sibling is named as an alternative, so there's no explicit routing guidance — but the when-to-use signal is unambiguous.

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.