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, idempotent live query of Google Autocomplete related keywords and Google Trends daily topics by country (API key or x402; 24h). Pass keywords with geo code (default geo="US", limit=25, offset=0); returns trend records ordered by traffic rank descending. Note: For domain 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
geoNo2-letter ISO country code for localized trends (e.g. "US", "JP", "GB").US
limitNoMaximum keyword trend items to return per call (1 to 25, default 25).
offsetNoZero-based pagination offset (0..10000, default 0). Combine with limit to page through result sets deterministically.
keywordsYesList of 1 to 5 seed keywords to query for related searches and daily trend matches (e.g. ["mcp server", "cloudflare"]).
includeTrendingNowNoWhen true, includes Google Trends Daily RSS trending topics, traffic volume, and news links.
includeRelatedQueriesNoWhen true, returns ranked Google Autocomplete related queries for each keyword.

Output Schema

NameRequiredDescriptionDefault
itemsYesSearch trend records ordered by traffic rank descending with Google Autocomplete related queries and Daily Trends topics.
statsYesExecution telemetry including itemCount, durationMs, and upstream breakdown.
offsetYesZero-based pagination offset applied to the matched record slice.
successYesTrue when the read-only query completed without upstream or validation failure.
streamIdYesUnderlying B2A data stream identifier that fulfilled the query.
toolNameYesExecuted MCP tool name for deterministic audit correlation.
sealStatusYesTAPP Sigstore Rekor cryptographic Merkle seal status of the dataset.
generated_atYesISO-8601 UTC timestamp when this response payload was generated.
sha256DigestYesDeterministic 64-character hex SHA-256 provenance digest of the returned items.
partialResultNoTrue only if a live upstream sub-source returned partial coverage.
returnedCountYesNumber of structured records returned in items for this page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is pre-declared. The description adds genuinely new behavioral context: the access model ('API key or x402'), a 24h window, and that results come back ordered by traffic rank descending. It stops short of explaining rate limits, what happens when a keyword has no matches, or what the x402 payment flow entails.

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?

Two sentences, front-loaded with the read-only/idempotent/live framing and ending with the routing note in the right place. The parenthetical default values duplicate the schema and could be cut, but overall there is little waste.

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?

With an output schema present, the description correctly avoids describing return payloads and instead covers what the schema cannot: data source, geography scoping, the 24h recency window, the auth/payment model, and result ordering. For a read-only query tool with full schema coverage, nothing an agent needs to call it correctly 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%, and all six parameters carry their own defaults and constraints in the schema, so the baseline of 3 applies. The description restates defaults (geo="US", limit=25, offset=0) rather than adding meaning, and it never mentions includeTrendingNow or includeRelatedQueries, the two flags that most change result shape.

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 names a specific verb and resource set — 'live query of Google Autocomplete related keywords and Google Trends daily topics by country' — which is far more precise than the tool name alone. It also explicitly fences off a differently-scoped sibling ('For domain DNS, use query_domain_posture instead'), so an agent can distinguish this from the domain/posture family 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear positive context ('live query... by country', pass seed keywords with a geo code) and one explicit exclusion routing DNS work to query_domain_posture. What it lacks is guidance for the remaining sibling set (list_data_streams, probe_stream_inventory, and the other query_* verticals), so an agent still has to infer whether this is the right pick among non-domain tools.

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.