Skip to main content
Glama

get_product_details

Retrieve comprehensive product metadata for any Amazon ASIN, including title, brand, category, dimensions, images, and identifiers.

Instructions

Read catalog metadata for an ASIN: title, brand, category, dimensions, images, and identifiers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asinYesAmazon ASIN.

Implementation Reference

  • Tool definition and input schema for 'get_product_details' - defines the tool with name, description, and input schema requiring 'asin' (string) parameter.
    // --- Catalog ---
    {
      name: "get_product_details",
      description:
        "Read catalog metadata for an ASIN: title, brand, category, dimensions, images, and identifiers.",
      inputSchema: {
        type: "object" as const,
        properties: { asin: { type: "string", description: "Amazon ASIN." } },
        required: ["asin"],
        additionalProperties: false,
      },
    },
  • src/index.ts:241-251 (registration)
    Server instantiation and tool listing registration - the 'tools' array containing all tool definitions is registered via ListToolsRequestSchema handler.
    const server = new Server(
      {
        name: "agentcentral",
        version: VERSION,
      },
      {
        capabilities: { tools: {} },
      },
    )
    
    server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools }))
  • CallToolRequestSchema handler - handles tool invocations. For 'get_product_details', no specific handler exists; it falls through to the default response which returns the HOSTED_NOTICE message. This is an introspection stub that delegates actual execution to a remote server.
    server.setRequestHandler(CallToolRequestSchema, async (request) => {
      const name = request.params.name
      if (name === "agentcentral_setup") {
        return {
          content: [
            {
              type: "text",
              text:
                `Hosted MCP endpoint:\n  ${HOSTED_URL}\n\n` +
                `Setup guide:\n  ${SETUP_URL}\n\n` +
                `Add this to your client config:\n` +
                `{\n  "mcpServers": {\n    "agentcentral": {\n      "url": "${HOSTED_URL}",\n      "headers": { "Authorization": "Bearer ac_live_<YOUR_API_KEY>" }\n    }\n  }\n}`,
            },
          ],
          isError: false,
        }
      }
      return {
        content: [
          {
            type: "text",
            text: HOSTED_NOTICE,
          },
        ],
        isError: false,
      }
    })
Behavior2/5

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

No annotations provided, so description must cover behavioral traits. It implies read-only but doesn't disclose permissions, rate limits, error handling (e.g., invalid ASIN), or data freshness. The description is minimal for a critical catalog lookup.

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?

Single, well-structured sentence. Front-loaded with 'Read catalog metadata' and immediately specifies the resource (ASIN) and examples. Every word contributes meaning.

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

Completeness3/5

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

Without an output schema, the description partially covers return fields. It lists seven examples but omits structure (e.g., nested objects, types). Adequate for a simple lookup but lacks precision for complex parsing.

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?

Input schema covers the single parameter 'asin' with basic description. The tool description adds value by listing the metadata fields returned (title, brand, dimensions, etc.), which helps the agent understand output without an output schema.

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?

Description clearly states 'Read catalog metadata for an ASIN' with specific verb and resource. Lists example fields (title, brand, etc.), distinguishing it from sibling tools like get_orders or get_keyword_performance.

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?

No guidance on when to use versus alternatives. With 20+ sibling tools, the description should indicate contexts for this tool (e.g., retrieving product details) versus others like get_listing_quality or get_current_rank.

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/agentcentral-to/agent-central-mcp'

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