get_sales_velocity
Get sales velocity for any ASIN: rolling 30/90-day units sold, days of cover, and sell-through pace to assess product performance.
Instructions
Read sales velocity by ASIN: 7/30/90-day rolling units sold, days of cover, and sell-through pace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:129-133 (registration)Registration of the 'get_sales_velocity' tool in the tools array with its name, description, and inputSchema.
name: "get_sales_velocity", description: "Read sales velocity by ASIN: 7/30/90-day rolling units sold, days of cover, and sell-through pace.", inputSchema: { type: "object", properties: {}, additionalProperties: false }, }, - src/index.ts:253-279 (handler)The CallToolRequestSchema handler which handles all tool invocations. For 'get_sales_velocity' (and all other tools except 'agentcentral_setup'), it returns a generic hosted notice message because this is an introspection stub that doesn't contain local logic.
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, } })