Skip to main content
Glama

Research local keywords

keywords_research

Local keyword research: how many times a month people in one city search for the terms you give, and for the closest related searches, from Google’s own counts. Each answer lists the terms asked first, then up to 50 related ones, most searched first, each with searchesPerMonth (null when too few to count), competition among advertisers (low, medium, high), adClickPrice (what an advertiser pays for one click, in US dollars: a sign of how much the search is worth) and the last 12 months as trend. Use it when choosing topics: give the business’s main products or services in the customer’s words and the city from the brand, then take the strongest terms as topic keywords (topics_add). Each call uses one of the plan’s lookups for the month (Studio 20, Pro 200; usage_get says how many are left under keywords). Lookups are kept: read one again with keywords_list instead of asking twice.

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": {
      "terms": "<terms>",
      "place": "<place>"
    },
    "name": "keywords_research"
  }
}

Input Schema

NameRequiredDescriptionDefault
placeYesThe city the business serves, with its state or country, such as "Austin, Texas" or "Bogotá, Colombia". A state or a whole country works too, with fewer local numbers.
termsYesOne to 10 search terms in the words a customer would type, such as "wedding flowers" or "florist". At most 80 characters and 10 words each, no emoji.
brandIdNoThe brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.
languageNoThe language people search in: en (English) or es (Spanish). English when left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / brandId
      Added value: +{
      +  "description": "The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.",
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the quota mechanic that explains readOnlyHint=false: each call burns one monthly lookup (Studio 20, Pro 200), and usage_get reports remaining lookups under keywords. It also documents return shape, ordering, null handling for searchesPerMonth, and the meaning of competition, adClickPrice and trend, so the agent knows exactly what a call yields and what it costs.

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-loads purpose, then return details, workflow, quota and alternative in a logical order with no filler sentences. It is dense, with long nested parentheticals (e.g. the adClickPrice gloss), which slightly hurts scanability but every clause carries information given there is no output schema.

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 quota-consuming, non-destructive research tool with no output schema, the description covers purpose, return fields, quota cost, sibling alternatives and downstream use. Nothing an agent needs in order to call it correctly or decide not to 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 the baseline is 3. The description reinforces term phrasing ('in the customer's words') and place sourcing ('the city from the brand'), which adds modest guidance, but it says nothing about brandId or language beyond what the schema already states.

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?

Names a specific verb and resource ('Local keyword research') and defines the exact output: monthly search counts per city for given terms plus up to 50 related searches from Google's counts. That is enough for an agent to distinguish it from keywords_list (re-reading stored lookups) and topics_add (acting on results) 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 an explicit when-to-use case ('Use it when choosing topics'), a concrete workflow (supply product/service terms in customer language plus the city from the brand, then promote the strongest terms via topics_add), and an explicit alternative for repeat reads ('read one again with keywords_list instead of asking twice'). Little is left to inference.

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.