Skip to main content
Glama

AI get trends

ai_get_trends
Read-only

Trend analysis for campaigns or ads. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ai_get_trends"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
extraNo
user_idNo
platformNo
client_idNo
entity_idNo
user_emailNo
entity_typeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered by structured data. The description adds two genuinely useful behavioral facts: omitted client_id resolves to the active brand, and 'extra' is an open passthrough for any field the app accepts. It says nothing about aggregation windows, cost of a large query, or what 'trend' resolves to, so it stops short of rich disclosure.

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 short sentences, front-loaded with purpose and then the two parameter notes, with no filler. The density is efficient; the only cost is that brevity shades into under-specification rather than crispness.

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

Completeness2/5

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

An output schema exists, so return values needn't be spelled out. Against 8 undocumented params and a read-only analytics tool with meaningful scoping choices (entity type/id, platform, date range), the description leaves too much unknown to call this reliably, especially the entity targeting it advertises.

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?

Schema description coverage is 0% across 8 parameters, so the description carries the full burden and only accounts for 2 of them (client_id, extra). Critical targeting params — entity_type, entity_id, platform, days, user_id, user_email — get no explanation, leaving the agent unable to tell how to scope to a campaign versus an ad as the purpose sentence implies.

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

Purpose3/5

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

It states a resource ("trend analysis") and a target ("campaigns or ads"), which is clearer than a tautology, but it never says which metrics, dimensions, or time windows the trends cover. Nothing in the text distinguishes it from google_ads_get_trends, seo_intel_get_search_trends, or workspace_get_overall_trends, so an agent must open schemas or guess.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no prerequisites, and no named alternative despite several trend-shaped siblings. The only contextual hint is that client_id defaults to the active brand, which is about parameter defaulting rather than tool selection.

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.