Skip to main content
Glama

Score brand share in AI answers

score_answer_share
Read-onlyIdempotent

Call this whenever a user pastes one or more answers from ChatGPT, Perplexity, Google AI Mode, Claude or another AI assistant and asks whether the answers named or linked their brand, what share they got, which rivals or sites the answers chose instead, or what to do about it. Pass the brand, its domain, rival names and every answer in answers (each with its prompt, engine and source links). Returns mention share and citation share (such as 0 of 3), split by engine and for buyer prompts (prompts that do not name the brand), how often each rival is named, the sites cited instead and a short fix list. Fixed rules: a repeated prompt is not a mention, and a link counts only if it goes to the brand domain. It scores pasted text only and never queries an AI engine.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
brandYesThe brand or product name to look for, such as Acme CRM.
linksNoThe source links the engine showed with the answer. URLs written in the answer text are read too.
answerNoOne answer to score. Use answers instead for several prompts.
domainNoThe brand's website, such as acme.com. A link to it counts as a citation. An apex domain counts its subdomains.
engineNoWhich engine gave the answer, such as chatgpt, openai-web-search, perplexity, google-ai-mode, claude. Used to split the share by engine.
promptNoThe question that was asked. Its words are removed from the answer before matching, so an engine that repeats the question does not count as naming you.
aliasesNoOther names that count as the brand, such as Acme or AcmeCRM.
answersNoSeveral answers to score together (at most 50), for a share across prompts and engines.
competitorsNoRivals to count in the same answers, each with a name and optionally a domain.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
allYes
brandYes
buyerYes
domainYes
methodYes
answersYes
summaryYes
by_engineYes
next_stepYes
competitorsYes
top_sourcesYes
recommendationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses the return shape (mention share, citation share, per-engine and buyer-prompt splits, rival counts, cited sites, fix list) and the two fixed matching rules (a repeated prompt is not a mention; a link counts only if it resolves to the brand domain). This is exactly the behavioral context annotations cannot carry.

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?

It is front-loaded with the call trigger, then what it returns, then the fixed rules and the exclusion, so no sentence is wasted. The density is high and it reads as one long paragraph rather than clearly segmented blocks, which slightly hurts scannability but not substance.

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 9-parameter, single-required-field tool with an output schema and full annotation coverage, the description supplies everything an agent needs: trigger conditions, input framing, matching rules, and scope limits. Return-value detail is redundant given the output schema but harmless.

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 description coverage is 100%, so the baseline is 3, but the description adds cross-parameter meaning by framing how inputs fit together ('pass the brand, its domain, rival names and every answer in answers, each with its prompt, engine and source links') and by tying the prompt-matching rule to why the prompt field matters. It stops short of documenting the aliases/competitor domain semantics, which remain schema-only.

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?

The description opens with a precise trigger and a specific verb+resource: scoring whether pasted AI answers named or linked a brand, and computing the brand's share. It clearly separates this from the sibling tools (feedback replies/submission), which are unrelated to share scoring, so an agent can route to it without opening the 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?

It gives explicit when-to-use conditions (user pastes answers from ChatGPT/Perplexity/Google AI Mode/Claude and asks about naming, share, rivals, or remediation) and an explicit exclusion ('scores pasted text only and never queries an AI engine'), which tells the agent this is not a fetch/discovery tool.

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.