Skip to main content
Glama

Check my brand in AI answers

add_brand
Idempotent

Start measuring a brand: does ChatGPT, Perplexity, Claude or Google AI mention it, and who does AI recommend instead? Give the brand's website (or its app store, Google Maps, YouTube or Instagram link). It reads the site, picks the buyer questions, and starts the first scan across the AI engines. Reading the site takes 1-2 minutes; if it is still running, call again with the same link and it picks up the same run, never a second one. Returns the brand_id; then use get_scan_status. In an agency workspace it prepares a prospect pitch instead (as: "prospect", the default): it reads the site and writes the buyer questions, charging nothing, and returns a draft_id with the pitch scan's credits; start it with start_pitch_scan only after the user agrees. as: "client" sets the brand up as a tracked client (every engine, every day) and needs confirm: true.

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": {
      "link": "<link>"
    },
    "name": "add_brand"
  }
}

Input Schema

NameRequiredDescriptionDefault
asNoAgency workspaces only: prospect (default) prepares a pitch, nothing charged; client sets it up as a tracked client.
linkYesThe brand's website, like acme.com, or its app store, Google Maps, YouTube or Instagram link.
confirmNoAgency workspaces, with as: "client": true only after the user agreed to full client tracking.
locationsNoOptional: the cities or areas where the brand's buyers are, like ["Pune", "Indiranagar, Bengaluru"]. Its buyer questions are then split across them and its numbers shown per location. Leave out for a brand with one location.
descriptionNoOptional: what the brand sells, in a sentence. Only needed when add_brand says it couldn't read the website.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / as
      Added value: +{
      +  "description": "Agency workspaces only: prospect (default) prepares a pitch, nothing charged; client sets it up as a tracked client.",
      +  "enum": [
      +    "prospect",
      +    "client"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "Agency workspaces, with as: \"client\": true only after the user agreed to full client tracking.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / locations
      Added value: +{
      +  "description": "Optional: the cities or areas where the brand's buyers are, like [\"Pune\", \"Indiranagar, Bengaluru\"]. Its buyer questions are then split across them and its numbers shown per location. Leave out for a brand with one location.",
      +  "items": {
      +    "maxLength": 120,
      +    "type": "string"
      +  },
      +  "maxItems": 25,
      +  "type": "array"
      +}
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that the tool reads the site (1-2 minutes), that a repeat call with the same link resumes the same run rather than creating a second one, that prospect mode charges nothing while client mode bills credits, and that confirm: true is mandatory for client tracking. This directly reinforces idempotentHint and destructiveHint=false with concrete meaning.

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 then behavior, and every sentence carries operational content. It is dense with clauses (timing, retry, billing, agency branch) but none are filler, though the agency-mode paragraph is slightly compacted and takes a careful 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?

No output schema exists, and the description compensates by naming the return value (brand_id, or draft_id plus credits in prospect mode) and the required next call. For a mutating, open-world, multi-mode tool with five parameters, nothing an agent needs to invoke it correctly is missing.

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 100%, so the baseline is 3, but the description adds a cross-parameter constraint not expressed in the schema: as: "client" requires confirm: true, and confirm should only be set after user agreement. It also frames link as a fallback-capable input and description as a rescue when the site can't be read, which sharpens parameter intent.

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 specific verb+resource ("Start measuring a brand") and names the exact engines queried, plus what it returns. It is clearly distinguishable from siblings like get_scan_status and list_brands because it is the initiating action rather than a read of an existing brand.

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?

Explicitly routes the agent: call this first, then "use get_scan_status", and in agency workspaces only start the pitch scan with start_pitch_scan "after the user agrees". It also states the prospect-vs-client branch and the confirm gate, so the when/when-not decision is fully spelled out.

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