Skip to main content
Glama

Mencoro

Sample AI mention texts

get_mention_samples
Read-onlyIdempotent

Paginated sample of the raw AI mention texts themselves, for qualitative review and verifying sentiment labels. Use to READ individual mentions. For the aggregate sentiment split use get_sentiment_breakdown; for the brand's own mention counts by type, tone and qualifier use get_mention_mix. Filterable by engine, sentiment, mention type, competitor, country and keyword cluster (queryClusterIds and includeUngroupedQueries; ids from get_available_filters). 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. limit is 1-50 (default 20). Answers questions like "show or export the actual AI mention texts" for a query.

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_mention_samples"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
dateToYes
offsetNo
sortByNorecent
enginesNoallowed values: chatgpt, claude, perplexity, google_ai_overview, google_ai_mode, google_serp, google_shopping
dateFromYes
countriesNoISO-3166 alpha-2 country codes (e.g. "US", "GB", "DE"); a project's configured codes are listed by get_available_filters
projectIdYes
sentimentNo
mentionTypeNo
competitorIdNoUUID of a single competitor to filter to; competitor UUIDs are listed by get_available_filters (competitors[].id). Omit to include all competitors
organizationIdYes
queryClusterIdsNorestrict to these keyword clusters
includeUngroupedQueriesNoSent alone, restricts to tracked queries that belong to no cluster (refused if there are none). Sent with queryClusterIds, adds them to those clusters. Omit both for all tracked queries.

Output Schema

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

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: -[
      -  "samples",
      -  "total"
      -]New value: +[
      +  "samples",
      +  "total",
      +  "asOf"
      +]
  2. Changed2 schema fields changed
    • addedInput schema / properties / includeUngroupedQueries
      Added value: +{
      +  "default": false,
      +  "description": "Sent alone, restricts to tracked queries that belong to no cluster (refused if there are none). Sent with queryClusterIds, adds them to those clusters. Omit both for all tracked queries.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / queryClusterIds
      Added value: +{
      +  "default": [],
      +  "description": "restrict to these keyword clusters",
      +  "items": {
      +    "format": "uuid",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. Changed3 schema fields changed
    • changedInput schema / properties / engines / description
      Previous value: -"allowed values: chatgpt, perplexity, google_ai_overview, google_ai_mode, google_serp, google_shopping"New value: +"allowed values: chatgpt, claude, perplexity, google_ai_overview, google_ai_mode, google_serp, google_shopping"
    • 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"
      +]
    • addedOutput schema / properties / samples / items / properties / citations
      Added value: +{
      +  "description": "Sources the engine cited, in the order it cited them",
      +  "items": {
      +    "description": "A source cited inside one AI answer",
      +    "properties": {
      +      "anchorText": {
      +        "description": "The visible link text, when the engine provided one",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "domain": {
      +        "description": "Host of url. Belongs to the redirector, not the publisher, when unresolved is true",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "position": {
      +        "description": "Place within this answer, starting at 1",
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "publicationDate": {
      +        "description": "Publication date the engine reported, when it provided one",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "snippet": {
      +        "description": "Excerpt the engine showed for this source, when it provided one",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "sourceName": {
      +        "description": "Publisher name the engine reported, when it provided one",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "thumbnailUrl": {
      +        "description": "Preview image the engine showed for this source, when it provided one",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "title": {
      +        "description": "Title of the cited page, when the engine provided one",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "unresolved": {
      +        "description": "True when url still points at a redirector: count the citation, do not attribute the domain",
      +        "type": "boolean"
      +      },
      +      "url": {
      +        "description": "The URL exactly as the engine cited it, redirector included when unresolved is true",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "url",
      +      "position",
      +      "unresolved"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  4. Changed10 schema fields changed
    • addedInput schema / properties / competitorId / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / competitorId / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • addedInput schema / properties / mentionType / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / mentionType / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • addedInput schema / properties / sentiment / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / sentiment / type
      Removed value: -[
      -  "null",
      -  "string"
      -]
    • addedOutput schema / properties / samples / items / properties / competitorId / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / samples / items / properties / competitorId / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedOutput schema / properties / samples / items / properties / mentionPosition / anyOf
      Added value: +[
      +  {
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / samples / items / properties / mentionPosition / type
      Removed value: -[
      -  "integer",
      -  "null"
      -]
  5. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare a safe read (readOnly, idempotent, non-destructive), but the description adds substantial behavior the annotations cannot: the data retention window, the archived-project archive-day rule, how as-of reads count each tracked query through its latest check on or before the day, and that empty checks, inactive queries and deleted queries contribute nothing. It also discloses the time-budget refusal mode and the mitigation, which is exactly the kind of operational behavior an agent needs before choosing filter breadth.

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?

Front-loaded with purpose and sibling routing before the dense as-of paragraph, and every clause carries information. The as-of/retention sentence, however, is a long run-on that mixes several independent rules and would be easier to apply if split or bulleted.

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 a 14-parameter, retention-bounded read tool with an output schema and full annotations, the description covers the hard parts — as-of semantics, archive-day behavior, retention constraint, filter provenance, timeout behavior, and pagination limits. The remaining gap is the undocumented sortBy and offset semantics, which an agent must infer from defaults and enums.

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?

With schema description coverage at only 36% the description must carry the load, and it covers most of it: the filterable dimensions (engine, sentiment, mention type, competitor, country, keyword cluster), the queryClusterIds/includeUngroupedQueries interplay, the provenance of ids via get_available_filters, limit 1-50 with default 20, and the retention/as-of semantics of the date pair including that dateFrom is validated but does not bound the read. It leaves sortBy and offset unexplained in both description and schema, which is a real gap for a 14-parameter tool.

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 and resource ('paginated sample of the raw AI mention texts themselves') and an explicit scope: qualitative review and sentiment-label verification of individual mentions. It also names the two sibling tools it is not (get_sentiment_breakdown for aggregate splits, get_mention_mix for counts by type/tone/qualifier), so an agent can disambiguate without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing: 'Use to READ individual mentions', with named alternatives and the condition that selects each — aggregate sentiment split goes to get_sentiment_breakdown, mention counts by type/tone/qualifier go to get_mention_mix. It also tells the agent where filter ids come from (get_available_filters) and what to do on a time-budget refusal (narrow the range or filters rather than retry).

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.