Skip to main content
Glama

STRATA & TrashPan B2A Public Data, 5.86M JP KYB, 44.2k Domains, EDINET, LEI, OFAC & Golf EV MCP

query_search_trends

Read-onlyIdempotent

Read-only live query of Google Autocomplete keywords and Daily Trends by country. Pass keywords with geo (default geo="US", limit=25, offset=0); returns trends ordered by traffic rank. Note: For DNS, use query_domain_posture instead.

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": {
      "keywords": "<keywords>"
    },
    "name": "query_search_trends"
  }
}

Input Schema

NameRequiredDescriptionDefault
geoNoISO country code.US
limitNoMax rows returned.
offsetNoPagination offset.
keywordsYesKeyword string batch.
includeTrendingNowNoInclude daily trends.

Output Schema

NameRequiredDescriptionDefault
itemsNoSearch trend items.
successNoExecution status.
streamIdNoB2A stream slug.
sha256DigestNoSHA-256 hex digest.
returnedCountNoReturned rows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changed
    • changedInput schema / properties / geo / description
      Previous value: -"2-letter ISO country code for localized trends (e.g. \"US\", \"JP\", \"GB\")."New value: +"ISO country code."
    • removedInput schema / properties / includeRelatedQueries
      Removed value: -{
      -  "default": true,
      -  "description": "When true, returns ranked Google Autocomplete related queries for each keyword.",
      -  "type": "boolean"
      -}
    • changedInput schema / properties / includeTrendingNow / description
      Previous value: -"When true, includes Google Trends Daily RSS trending topics, traffic volume, and news links."New value: +"Include daily trends."
    • changedInput schema / properties / keywords / description
      Previous value: -"List of 1 to 5 seed keywords to query for related searches and daily trend matches (e.g. [\"mcp server\", \"cloudflare\"])."New value: +"Keyword string batch."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum keyword trend items to return per call (1 to 25, default 25)."New value: +"Max rows returned."
    • changedInput schema / properties / offset / description
      Previous value: -"Zero-based pagination offset (0..10000, default 0). Combine with limit to page through result sets deterministically."New value: +"Pagination offset."
    • removedOutput schema / properties / generated_at
      Removed value: -{
      -  "description": "ISO-8601 UTC timestamp when this response payload was generated.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / items / description
      Previous value: -"Search trend records ordered by traffic rank descending with Google Autocomplete related queries and Daily Trends topics."New value: +"Search trend items."
    • removedOutput schema / properties / items / items
      Removed value: -{
      -  "type": "object"
      -}
    • removedOutput schema / properties / offset
      Removed value: -{
      -  "description": "Zero-based pagination offset applied to the matched record slice.",
      -  "type": "integer"
      -}
    • removedOutput schema / properties / partialResult
      Removed value: -{
      -  "description": "True only if a live upstream sub-source returned partial coverage.",
      -  "type": "boolean"
      -}
    • changedOutput schema / properties / returnedCount / description
      Previous value: -"Number of structured records returned in items for this page."New value: +"Returned rows."
    • removedOutput schema / properties / sealStatus
      Removed value: -{
      -  "description": "TAPP Sigstore Rekor cryptographic Merkle seal status of the dataset.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / sha256Digest / description
      Previous value: -"Deterministic 64-character hex SHA-256 provenance digest of the returned items."New value: +"SHA-256 hex digest."
    • removedOutput schema / properties / stats
      Removed value: -{
      -  "description": "Execution telemetry including itemCount, durationMs, and upstream breakdown.",
      -  "type": "object"
      -}
    • changedOutput schema / properties / streamId / description
      Previous value: -"Underlying B2A data stream identifier that fulfilled the query."New value: +"B2A stream slug."
    • changedOutput schema / properties / success / description
      Previous value: -"True when the read-only query completed without upstream or validation failure."New value: +"Execution status."
    • removedOutput schema / properties / toolName
      Removed value: -{
      -  "description": "Executed MCP tool name for deterministic audit correlation.",
      -  "type": "string"
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "toolName",
      -  "streamId",
      -  "success",
      -  "offset",
      -  "returnedCount",
      -  "sealStatus",
      -  "sha256Digest",
      -  "generated_at",
      -  "items",
      -  "stats"
      -]
  2. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so 'read-only' largely restates structured data. The one genuine addition is that results come back 'ordered by traffic rank', which is real behavioral context. No mention of rate limits, freshness/volatility of live trends, or what happens at the limit=25 ceiling.

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?

Three compact sentences with the core purpose and invocation summary front-loaded and the sibling routing note placed last. Slight redundancy in repeating schema defaults, but no filler sentences.

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

Completeness4/5

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

Five parameters all documented in schema, an output schema exists so return values need not be explained, and annotations cover the safety profile. The description supplies purpose, invocation shape and sibling routing, leaving only minor gaps around live-data freshness and pagination behavior.

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 every parameter is already documented with defaults, ranges and patterns. The description restates defaults (geo="US", limit=25, offset=0) without adding format or edge-case meaning beyond what the schema provides, so the baseline 3 applies.

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?

States a specific verb and resource ('live query of Google Autocomplete keywords and Daily Trends by country') and explicitly names the sibling it is not, so an agent can route between query_search_trends and query_domain_posture without opening either schema.

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?

The opening sentence plus the closing 'For DNS, use query_domain_posture instead' give a clear usage context and one explicit exclusion. It stops short of a full when/when-not statement (e.g., no guidance on when to prefer this over other query_* data sources beyond the DNS case).

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.