Skip to main content
Glama

Seller Labs Amazon MCP

search_context_files

Search documentation for Amazon selling concepts, definitions, calculations, table schemas, and READY-TO-USE QUERY PATTERNS.

IMPORTANT: This tool contains a cookbook with 31+ tested, ready-to-use SQL queries for common seller questions. ALWAYS search this BEFORE writing SQL for common questions like:

  • "What's my profit?" / "Show me profitable products"

  • "What's my ACoS?" / "Show me campaign performance"

  • "How much inventory do I have?" / "Which products are low on stock?"

  • "Show me best selling products" / "Which products have high returns?"

Use this tool to:

  1. Find READY-TO-USE QUERY PATTERNS (highest priority - search first!)

  2. Learn metric definitions and calculations

  3. Understand table schemas and column names

  4. Get formula references (ACoS, ROAS, Profit Margin, etc.)

WORKFLOW for data questions: Example: "Show me my 5 most profitable products" → Search: "most profitable products" → Get ready-to-use query from cookbook → Adapt query with user's venue_id → Execute

DO NOT skip searching for common seller questions - the cookbook has optimized, tested queries!

Available: 31+ query patterns, database schemas, formulas, Amazon selling concepts.

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": {
      "searchQuery": "<searchQuery>"
    },
    "name": "search_context_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxResultsNoMaximum number of results to return (default: 3)
searchQueryYesSearch query or keywords to find relevant Amazon selling information

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the corpus contents and the intended downstream workflow, which is genuinely useful, but says nothing about result shape, ranking or relevance behavior, pagination, or what happens when maxResults is omitted beyond the schema's stated default. Solid on content, thin on how the tool actually behaves when invoked.

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?

Well front-loaded: the cookbook and the priority statement come first, then task categories, then a concrete worked example. However, the same instruction is repeated three times ("ALWAYS search this BEFORE", "highest priority - search first!", "DO NOT skip searching"), and the bold/caps formatting inflates a two-paragraph concept into a long block without adding information.

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?

For a two-parameter retrieval tool with no output schema and no annotations, the definition covers what an agent most needs: what is searchable, why it matters, and how the result should be used downstream. Missing are only secondary details such as how many results to expect or what a hit looks like, which is acceptable given there is no output schema to contradict.

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 both searchQuery and maxResults are already documented, and the schema states the default of 3 for maxResults. The description compensates slightly by supplying example query strings such as "most profitable products" and "campaign performance," which hints at useful query phrasing, but adds no syntax, matching, or result-count guidance beyond that.

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?

Uses a specific verb ("Search") with a clearly bounded resource: documentation covering concepts, definitions, calculations, table schemas, and ready-to-use query patterns. The enumerated content types and the "cookbook with 31+ tested queries" line let an agent distinguish this retrieval tool from the adjacent access tools (get_context_document, list_context_topics).

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

Usage Guidelines5/5

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

Explicitly states when to use it: ALWAYS before writing SQL for common seller questions, with four concrete trigger examples (profit, ACoS, inventory, best sellers) and a step-by-step workflow ending in execute_sql. The one exclusion worth flagging is that it never says when NOT to search (for example, for pure schema lookups, which get_table_info may cover), but the positive routing is unambiguous.

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