Skip to main content
Glama

Get citation source

get_citation_source
Read-onlyIdempotent

One cited source. With domain: its citations, models, brands named, trend, and its most influential pages. With source_id: one page's citing prompts, models, brands named, recent snippets, and trend.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoEnd date, YYYY-MM-DD, inclusive; from equal to to is a single day. Defaults to today; a later date is treated as today.
fromNoStart date, YYYY-MM-DD. Defaults to 30 days before to. Windows are at most 180 days and a from after today is refused; a plan with limited history serves only the days it keeps and says so in retention.
brandYesBrand or study: its ID from list_brands, or its name (exact or a unique prefix).
domainNoA domain from list_citations.
source_idNoA page's source_id from list_citations view pages.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
generated_atYesRFC 3339 time the response was made.
schema_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / from / description
      Previous value: -"Start date, YYYY-MM-DD. Defaults to 30 days before to; plan retention may shorten it."New value: +"Start date, YYYY-MM-DD. Defaults to 30 days before to. Windows are at most 180 days and a from after today is refused; a plan with limited history serves only the days it keeps and says so in retention."
    • changedInput schema / properties / to / description
      Previous value: -"End date, YYYY-MM-DD. Defaults to today."New value: +"End date, YYYY-MM-DD, inclusive; from equal to to is a single day. Defaults to today; a later date is treated as today."
  2. Changed6 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / brand / minLength
      Added value: +1
    • addedInput schema / properties / from / format
      Added value: +"date"
    • changedInput schema / properties / source_id / description
      Previous value: -"A page ID from list_citations view pages."New value: +"A page's source_id from list_citations view pages."
    • addedInput schema / properties / to / format
      Added value: +"date"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "brand": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "id": {
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                },
      +                "url": {
      +                  "description": "The brand's website, or empty when none is set.",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "name",
      +                "url"
      +              ],
      +              "type": "object"
      +            },
      +            "brands_named": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "domain": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "citations": {
      +                  "type": "integer"
      +                },
      +                "domain": {
      +                  "description": "Pass to get_citation_source.",
      +                  "type": "string"
      +                },
      +                "gap_competitors": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "latest_cited_at": {
      +                  "type": "string"
      +                },
      +                "models": {
      +                  "description": "Model family keys that cited it.",
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "ownership": {
      +                  "description": "own, competitor, or third_party.",
      +                  "type": "string"
      +                },
      +                "pages": {
      +                  "type": "integer"
      +                },
      +                "prompts": {
      +                  "type": "integer"
      +                },
      +                "source_gap": {
      +                  "description": "Competitors are cited from this domain and the brand is not.",
      +                  "type": "boolean"
      +                },
      +                "source_type": {
      +                  "type": "string"
      +                },
      +                "top_page": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "source_id": {
      +                      "description": "Pass to get_citation_source.",
      +                      "type": "string"
      +                    },
      +                    "title": {
      +                      "type": "string"
      +                    },
      +                    "url": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "source_id",
      +                    "title",
      +                    "url"
      +                  ],
      +                  "type": [
      +                    "null",
      +                    "object"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "domain",
      +                "ownership",
      +                "source_type",
      +                "citations",
      +                "pages",
      +                "prompts",
      +                "models",
      +                "source_gap",
      +                "gap_competitors",
      +                "top_page",
      +                "latest_cited_at"
      +              ],
      +              "type": "object"
      +            },
      +            "period": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "from": {
      +                  "description": "First day, YYYY-MM-DD.",
      +                  "type": "string"
      +                },
      +                "to": {
      +                  "description": "Last day, YYYY-MM-DD.",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "from",
      +                "to"
      +              ],
      +              "type": "object"
      +            },
      +            "top_pages": {
      +              "description": "The domain's most influential cited pages; get_citation_source with a source_id gives a page's prompts and snippets.",
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "brands_named": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "citations": {
      +                    "type": "integer"
      +                  },
      +                  "domain": {
      +                    "type": "string"
      +                  },
      +                  "gap_competitors": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "influence": {
      +                    "description": "0-100: how much the page shapes answers, from citation frequency, recency, model and prompt coverage.",
      +                    "type": "integer"
      +                  },
      +                  "latest_cited_at": {
      +                    "type": "string"
      +                  },
      +                  "models": {
      +                    "type": "integer"
      +                  },
      +                  "ownership": {
      +                    "description": "own, competitor, or third_party.",
      +                    "type": "string"
      +                  },
      +                  "prompts": {
      +                    "type": "integer"
      +                  },
      +                  "source_gap": {
      +                    "type": "boolean"
      +                  },
      +                  "source_id": {
      +                    "description": "Pass to get_citation_source.",
      +                    "type": "string"
      +                  },
      +                  "source_type": {
      +                    "type": "string"
      +                  },
      +                  "title": {
      +                    "type": "string"
      +                  },
      +                  "url": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "source_id",
      +                  "url",
      +                  "title",
      +                  "domain",
      +                  "ownership",
      +                  "source_type",
      +                  "influence",
      +                  "citations",
      +                  "prompts",
      +                  "models",
      +                  "brands_named",
      +                  "source_gap",
      +                  "gap_competitors",
      +                  "latest_cited_at"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "trend": {
      +              "description": "Days with citations.",
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "citations": {
      +                    "type": "integer"
      +                  },
      +                  "date": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "date",
      +                  "citations"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "brand",
      +            "period",
      +            "domain",
      +            "brands_named",
      +            "top_pages",
      +            "trend"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "brand": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "id": {
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                },
      +                "url": {
      +                  "description": "The brand's website, or empty when none is set.",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "name",
      +                "url"
      +              ],
      +              "type": "object"
      +            },
      +            "brands_named": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "models": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "page": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "brands_named": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "citations": {
      +                  "type": "integer"
      +                },
      +                "domain": {
      +                  "type": "string"
      +                },
      +                "gap_competitors": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "influence": {
      +                  "description": "0-100: how much the page shapes answers, from citation frequency, recency, model and prompt coverage.",
      +                  "type": "integer"
      +                },
      +                "latest_cited_at": {
      +                  "type": "string"
      +                },
      +                "models": {
      +                  "type": "integer"
      +                },
      +                "ownership": {
      +                  "description": "own, competitor, or third_party.",
      +                  "type": "string"
      +                },
      +                "prompts": {
      +                  "type": "integer"
      +                },
      +                "source_gap": {
      +                  "type": "boolean"
      +                },
      +                "source_id": {
      +                  "description": "Pass to get_citation_source.",
      +                  "type": "string"
      +                },
      +                "source_type": {
      +                  "type": "string"
      +                },
      +                "title": {
      +                  "type": "string"
      +                },
      +                "url": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "source_id",
      +                "url",
      +                "title",
      +                "domain",
      +                "ownership",
      +                "source_type",
      +                "influence",
      +                "citations",
      +                "prompts",
      +                "models",
      +                "brands_named",
      +                "source_gap",
      +                "gap_competitors",
      +                "latest_cited_at"
      +              ],
      +              "type": "object"
      +            },
      +            "period": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "from": {
      +                  "description": "First day, YYYY-MM-DD.",
      +                  "type": "string"
      +                },
      +                "to": {
      +                  "description": "Last day, YYYY-MM-DD.",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "from",
      +                "to"
      +              ],
      +              "type": "object"
      +            },
      +            "prompts": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "citations": {
      +                    "type": "integer"
      +                  },
      +                  "id": {
      +                    "type": "string"
      +                  },
      +                  "latest_cited_at": {
      +                    "type": "string"
      +                  },
      +                  "segment": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "id": {
      +                        "type": "string"
      +                      },
      +                      "name": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "id",
      +                      "name"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "text": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "text",
      +                  "segment",
      +                  "citations",
      +                  "latest_cited_at"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "snippets": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "answer_id": {
      +                    "type": "string"
      +                  },
      +                  "captured_at": {
      +                    "type": "string"
      +                  },
      +                  "excerpt": {
      +                    "type": "string"
      +                  },
      +                  "model": {
      +                    "type": "string"
      +                  },
      +                  "prompt_id": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "answer_id",
      +                  "prompt_id",
      +                  "model",
      +                  "excerpt",
      +                  "captured_at"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "trend": {
      +              "description": "Days with citations.",
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "citations": {
      +                    "type": "integer"
      +                  },
      +                  "date": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "date",
      +                  "citations"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "brand",
      +            "period",
      +            "page",
      +            "prompts",
      +            "models",
      +            "brands_named",
      +            "snippets",
      +            "trend"
      +          ],
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "generated_at": {
      +      "description": "RFC 3339 time the response was made.",
      +      "type": "string"
      +    },
      +    "schema_version": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "schema_version",
      +    "generated_at",
      +    "data"
      +  ],
      +  "type": "object"
      +}
  3. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this as a read-only, idempotent, non-destructive, open-world lookup, so the safety profile is covered. The description adds useful behavioral context about what each mode yields (citations, models, brands named, snippets, trend), but says nothing about retention limits, rate limits, or permission requirements beyond that.

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 tight sentences, zero filler, with the dual-mode structure front-loaded in the first clause. The clipped noun-phrase opener ('One cited source') is slightly less readable than a full verb phrase but is efficient.

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?

With annotations covering the safety profile and an output schema covering return structure, the description's job is limited to distinguishing the two lookup modes, which it does. Date-window behavior and the required brand come from the schema, so nothing critical is missing.

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%, so domain, source_id, brand, from, and to are all documented in the schema itself (including where domain and source_id come from: list_citations). The description's domain-vs-source_id contrast is largely a restatement of the schema's own hints, so baseline 3 applies.

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?

The description names a specific resource (a cited source) and clearly splits its behavior into two lookup modes — by domain and by source_id — with what each returns. It stops short of using an explicit verb like 'retrieve', but the resource and mode distinction make it differentiable from the sibling list_citations.

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?

It implies usage through the mode split (domain → domain-level rollup, source_id → single page detail), which tells the agent how to choose between the two parameter paths. However, it never states when to use this tool over list_citations, nor that brand is required, so the guidance is only implied.

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