Skip to main content
Glama

Amazon Seller MCP Server — AgentXray

Search term history (Brand Analytics)

get_search_term_history
Read-onlyIdempotent

Search frequency rank of Brand Analytics search terms week by week (1 = most searched), with this seller's own click share and conversion share on the term in each week they appear in its top three. Pass search_term for one term (substring match), or omit it for the terms where the seller appears. Use it for 'is demand for this keyword growing', 'am I gaining share on this term'.

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": "get_search_term_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
weeksNoWeeks back, 2-26 (default 8).
accountNoSeller id of the client account (agencies with several accounts on this marketplace).
search_termNoOptional text to match.
marketplace_idNoMarketplace (inferred when only one is connected).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile needs no restating. The description adds genuinely new behavior: search_term is a substring match, omitting it changes the result set to terms where the seller appears, and share data only exists for weeks where the term is in the seller's top three — a real data-availability caveat. It does not mention pagination or row limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: what is returned first, then calling convention, then query intents. No filler and the most important scoping detail is front-loaded.

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?

There is no output schema, and the description adequately characterizes the returned fields (rank, click share, conversion share) and the coverage caveat. For a four-optional-parameter read-only analytics tool with annotation coverage, the remaining gap (row shape, week boundaries) is minor.

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 coverage is 100%, so all four parameters are already documented and the baseline is 3. The description adds a little beyond the schema by specifying substring match semantics for search_term and the effect of omitting it, but says nothing about weeks (range/default), account, or marketplace_id.

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 resource and metric: Brand Analytics search frequency rank week by week, plus the seller's click share and conversion share on the term. The 'in each week they appear in its top three' clause ties it to a distinct data source, separating it from ad-side siblings like get_ads_search_terms and get_ads_search_term_verdicts.

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 explicit usage contexts ('is demand for this keyword growing', 'am I gaining share on this term') and states the two calling modes: pass search_term for one term, or omit it for the terms where the seller appears. It stops short of naming alternatives or exclusions (e.g. when to prefer get_brand_search_terms or the ads search-term 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.

Resources