Skip to main content
Glama

ADS MCP

Search Terms Report

get_search_terms
Read-only

Get the actual search queries that triggered your ads, with clicks, impressions, cost and conversions. Use this to discover new keyword ideas from real traffic, find what people actually search before buying, and identify queries worth adding as dedicated keywords. date_from and date_to are YYYY-MM-DD. Sorted by clicks descending.

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": {
      "user_intent": "<user_intent>",
      "date_from": "<date_from>",
      "date_to": "<date_to>"
    },
    "name": "get_search_terms"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoOptional. Max search terms to return. Default 500.
date_toYesEnd date YYYY-MM-DD.
date_fromYesStart date YYYY-MM-DD.
campaign_idNoOptional. Filter to one campaign.
customer_idNo
user_intentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this a safe read (readOnlyHint true, destructiveHint false), so the safety profile needs no restating. The description adds one genuinely useful behavioral trait — results are sorted by clicks descending — but says nothing about pagination, how limit interacts with the default, or rate/cost considerations.

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 the core definition before the use cases, and no sentence is pure filler, though the 'what people actually search before buying' clause is more persuasive than informative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter tool with no output schema, listing the returned metrics helps, but the required user_intent parameter and the default/limit behavior are left unexplained. Adequate to call the tool, not adequate to call it correctly in all cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The only parameter guidance, 'date_from and date_to are YYYY-MM-DD', merely repeats the schema's own descriptions. Two optional parameters (limit default 500, campaign_id) and the required customer_id and user_intent parameters get no explanation at all, and user_intent — required yet undocumented in both schema and description — is a real ambiguity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — 'Get the actual search queries that triggered your ads' — and enumerates the returned metrics (clicks, impressions, cost, conversions). It does not distinguish itself by name from plausible siblings like get_keyword_ideas or search_console_top_queries, so an agent could confuse which source of query data to pick.

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 concrete use cases: discovering keyword ideas from real traffic, understanding pre-purchase intent, and finding queries to promote to dedicated keywords. It never states when NOT to use it or points to an alternative retrieval tool, leaving overlap with keyword-idea tools unresolved.

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.