Skip to main content
Glama
amazonbusiness

Amazon Business Integrations MCP Server

Official

search-documentation

Find Amazon Business API documentation using natural language queries. Search across API schemas, authentication guides, implementation examples, and troubleshooting resources to get relevant documentation snippets for integration development.

Instructions

Search through documentation using a natural language query.

This tool provides semantic search capabilities across the entire API documentation corpus. It analyzes your query and returns the most relevant documentation chunks based on semantic similarity.

The results include document snippets with relevance scores and document references that can be used with the read-documentation tool to fetch complete documents. Document snippets can also contain documentReference: and if the referenced document is relevant to the user's query, you should use read_documentation tool with as documentReference.

DOCUMENTATION PATH SELECTION: Select the most specific documentation path that matches your query intent to filter the search radius:

├── API Swagger Models/ - API schemas, data structures, request/response formats, field definitions, and models for building applications and generating code ├── OAuth/ - Essential authentication and authorization documentation covering tokens, login processes, credentials, access control, and security implementation. OAuth authentication is a prerequisite for all Amazon Business API implementations. ├── Ordering API/ - Order placement, creation, purchasing, and buying operations ├── Product Search API/ - Product searching, catalog browsing, item discovery, and product details ├── Reconciliation API/ - Purchase data reconciliation, transaction matching, and financial records management ├── Reporting API/ - Order history, tracking information, payment details, and analytics reports ├── User Management API/ - User account management and user operations ├── Document API/ - Invoice generation, receipts, and document reports ├── Application Management API/ - Client secrets, application management, and secret rotation ├── Guides and FAQs/ - Step-by-step tutorials, implementation guides, frequently asked questions, best practices, getting started resources, and practical examples

Helpful Hints:

  1. If you are searching for code generation/building applications → API Swagger Model

  2. If you are searching for specific API → Use that API documentation path to narrow down the search radius

  3. If your query matches more than one documentation path, you can search across all the matching documentation paths

  4. If you are looking for guidance/examples → Guides and FAQs

  5. If uncertain → Use the most relevant API documentation path based on the core functionality described

  6. If nothing is relevant, search across all the documentation paths. DO NOT provide any documentation path

HIGHLY RECOMMENDED: Start by reading the following documents (using read-documentation tool) when interacting with this server:

  1. Getting started guide : "Guides and FAQs/amazon-business-apis-getting-started-guide.md"

  2. To understand authentication requirements: "OAuth/oauth-instructions.md"

Common use cases:

  • Finding API details by describing functionality ("how to search products")

  • Searching for specific parameters, field definitions or data models

  • Locating code examples and implementation guidance

  • Discovering endpoint requirements and constraints

Note: When you are implementing or building application, ALWAYS search for the swagger model, code snippets and any specific instructions given for generating code. Verify that Amazon Business API OAuth is implemented before implementing any APIs. It is recommended to understand and avoid common pitfalls, by using read-documentation tool with reference "Guides and FAQs/common-pitfalls.md"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesNatural language search query to find relevant documentation (e.g., "How to search for products", "What are the parameters for the searchProducts endpoint")
maxResultsNoMaximum number of results to return (default: 5)
documentationPathNoList of documentation paths to search (e.g. API Swagger Models, OAuth, Ordering API, Product Search API)
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes the tool's behavior: semantic search returning relevant documentation chunks with relevance scores and document references, explains how to handle referenced documents, and provides important implementation guidance (e.g., OAuth prerequisites, recommended starting documents). It doesn't mention rate limits or authentication requirements beyond OAuth, but covers most behavioral aspects well.

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

Conciseness3/5

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

The description is comprehensive but verbose, with multiple sections (DOCUMENTATION PATH SELECTION, Helpful Hints, Common use cases, Note) that could be more streamlined. While all content is relevant, it could be more front-loaded and concise. Some redundancy exists in explaining the relationship with read-documentation tool.

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?

Given the tool's complexity (semantic search across documentation corpus with path filtering) and no output schema, the description provides substantial context: explains result format (snippets with relevance scores and references), relationship to sibling tool, implementation guidance, and extensive usage rules. It lacks explicit information about output structure details, but covers most aspects needed for effective use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds significant value beyond the schema by explaining the semantics of documentationPath parameter through the detailed documentation path tree and helpful hints that guide parameter selection. It provides context about how to choose appropriate paths based on query intent, which goes beyond the schema's basic description.

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 clearly states the tool's purpose: 'Search through documentation using a natural language query' and 'provides semantic search capabilities across the entire API documentation corpus.' It specifically distinguishes from its sibling tool 'read-documentation' by explaining that search-documentation returns snippets while read-documentation fetches complete documents.

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?

The description provides extensive guidance on when to use this tool vs alternatives, including explicit rules for documentation path selection (e.g., 'If you are searching for code generation/building applications → API Swagger Model'), when to use the sibling read-documentation tool, and common use cases. It also specifies when NOT to provide a documentation path ('If nothing is relevant, search across all the documentation paths. DO NOT provide any documentation path').

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/amazonbusiness/ab-integrations-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server