Skip to main content
Glama

Mencoro

Answer map

get_answer_map
Read-onlyIdempotent

What each tracked query's latest AI answer says, query by query and engine by engine: one row per query text and country (an AI query has no city), one cell per AI engine it is tracked on, grouped by keyword cluster. Read as of dateTo (an archived project's archive day when earlier): each tracked query active on an AI engine that day stands on its latest check on or before it; a paused query, a query not active that day and a deleted query have no cell; dateFrom is validated but bounds nothing. A cell is answered (its AI response ids, readable with list_ai_responses, and the brands the answer names: own brand and competitors, each once at its best position), no_answer (the check came back with nothing to capture) or unchecked (not checked yet on the engine it runs on). While the checks run_checks started still run, and dateTo is on or after the day they were requested, a cell with an item in them takes its state from get_check_batch_items instead: queued (waiting or being asked), answered, no_answer, failed, or not_admitted with its cause; openRun says when they were requested. Filter cells by statuses and by namedBrand ("own" or a competitor id from get_available_filters); a row left without cells is left out. Each group gives its row count and, per engine, its cells by state and by brand named; totals give the same for the whole map. A query in several clusters shows in each (under queryClusterIds, only in the clusters asked for); queries in no cluster come last, in the group whose queryCluster is null. Pages hold whole groups while their rows fit in limit (1-200, default 50), at least one group; pass nextOffset back as offset. A group with more rows than limit comes alone with its first limit rows (queries shorter than queryCount; its counts stay whole) and the next page starts at the next group: read its other rows with the same filters plus group set to its queryCluster.id ("ungrouped" for the null group) and offset set to the rows already shown; the response then holds that group alone and offset and nextOffset count its rows. A call whose reads run past their time budget is refused; narrow the range or filters instead of retrying as is. Answers "which queries name us on ChatGPT", "where does a competitor show up instead of us", "which answers name no brand".

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

Input Schema

NameRequiredDescriptionDefault
groupNoread on a group cut on an earlier page: its queryCluster.id, or "ungrouped" for the group whose queryCluster is null; send the same filters, and offset counts the group's rows
limitNothe most rows a page holds, in whole groups; a larger group comes alone, cut to this many rows
dateToYes
offsetNothe groups before the page; with group, that group's rows before the page
searchNokeep the queries whose text contains it, in any case; at most 255 characters
enginesNoallowed values: chatgpt, claude, perplexity, google_ai_overview, google_ai_mode; omit for every AI engine
dateFromYes
statusesNokeep the cells in any of these states: queued, answered, no_answer, failed, not_admitted, unchecked; omit for every cell
countriesNoISO-3166 alpha-2 country codes (e.g. "US", "GB", "DE"); a project's configured codes are listed by get_available_filters
projectIdYes
namedBrandNokeep the answered cells naming this brand: "own" for the project's brand, or a competitor UUID from get_available_filters (competitors[].id)
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
asOfYes
limitYes
groupsYes
offsetYes
totalsYesThe whole map under the filters, a row once whatever its groups; the same on every page, with group too.
enginesYesThe engines with a cell in the map, in engine order.
openRunYesThe running checks the cells' states come from; null when none does.
nextOffsetYesIn groups or, with group, in its rows; null on the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only cover the safety profile (readOnly, idempotent, non-destructive); the description adds substantial behavior beyond them: as-of dateTo semantics, paused/deleted queries yielding no cell, the three-way answered/no_answer/unchecked cell states, the parallel queued/failed/not_admitted states for running checks, and a time-budget refusal mode. Pagination edge behavior — a group larger than limit coming alone with truncated rows and whole counts — is disclosed in detail.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Information-dense but delivered as one unbroken paragraph of several hundred words mixing core layout, filter behavior, pagination edge cases, and error handling. Nearly every sentence earns its place given the tool's complexity, but the lack of any structure or grouping makes the pagination rules, in particular, easy to miss on a first read.

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 a 14-parameter, group/cell-structured read tool the description covers what an agent needs: the row/cell/group model, the totals, the state vocabulary, filter interactions, paging quirks and the refusal condition. Even though an output schema exists, it explains the response shape enough that an agent can plan pagination correctly.

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 71% schema coverage the schema already documents most parameters, but the description adds meaning the schema cannot: dateFrom is "validated but bounds nothing" while dateTo is the read as-of point, and filter semantics (namedBrand accepting "own" or a competitor UUID, rows left cell-less being dropped, ungrouped queries appearing last with a null queryCluster) are explained. The group/offset interaction for continuing a cut group is spelled out beyond the schema's own wording.

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?

Opens with a concrete verb+resource statement: what each tracked query's latest AI answer says, laid out as one row per query text and country, one cell per engine, grouped by cluster. The three closing example questions ("which queries name us on ChatGPT", "where does a competitor show up instead of us") pin down the exact analytical use, distinguishing it from siblings like get_cited_sources or get_mention_mix.

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 explicit routing: read a cell's responses with list_ai_responses, take in-flight state from get_check_batch_items once run_checks has started, get brand ids and country codes from get_available_filters. It also states a remedy for a refused call (narrow the range or filters, don't retry). It does not explicitly exclude any sibling tool, which keeps it below a 5.

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.