BuyAPI
v0.7.1Vendor intelligence for AI coding agents choosing developer tools and stacks.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
vendors.resolve
Finds BuyAPI vendor IDs for a user question. Category is optional; provide it when known. Use this for vendor discovery before vendors.details, or when the user asks which provider in a category fits their constraints. Do not use this for local coding/debugging/docs questions unless they involve choosing a software vendor or tool. If the category is outside BuyAPI's corpus, the tool returns an explicit "not in corpus yet" result instead of inventing vendors.
| Parameter | Type | Description |
|---|---|---|
query * | string | The user's question or task context for relevance ranking |
category | string | Optional category: database, auth, hosting, payments, email |
vendors.details
Retrieves detailed vendor information including pricing, features, limits, gotchas, comparisons, and source provenance. Call vendors.resolve first unless the user already provided a BuyAPI vendor ID like /database/supabase.
| Parameter | Type | Description |
|---|---|---|
vendorId * | string | BuyAPI vendor ID, e.g. /database/supabase |
query | string | Specific question to focus the response on |
vendors.evidence
Returns recent BuyAPI evidence rows for a vendor, category, stack, or comparison. Use this when the user asks why BuyAPI believes something, what sources support a vendor page, or what recent human/source signals exist.
| Parameter | Type | Description |
|---|---|---|
subjectId * | string | Subject ID, e.g. /database/supabase or database |
subjectType * | string | Evidence subject type |
limit | number | Maximum rows to return |
stacks.findSimilar
Finds public stack profiles related to a vendor or recent curated stack examples. Use this when the user asks who uses a tool, what similar builders use, or wants examples of real stack combinations.
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum stacks to return |
vendorId | string | Optional BuyAPI vendor ID, e.g. /database/convex |
vendors.compare
Compares two or more BuyAPI vendors for a specific workload or decision. Use this for head-to-head questions like "Convex vs Supabase vs Neon for a realtime SaaS" or "Stripe vs Paddle for a marketplace".
| Parameter | Type | Description |
|---|---|---|
query * | string | The user's decision context |
vendorIds * | array | BuyAPI vendor IDs, e.g. ['/database/convex', '/database/neon'] |
workload | object | Explicit workload assumptions for deterministic cost estimates. Missing fields become assumptions, not fabricated precision. |
vendors.estimateCost
Produces deterministic monthly cost estimates from BuyAPI pricing data and explicit workload inputs. Use this when the user asks for cost math. Missing workload fields are returned as assumptions or unknowns instead of being hallucinated.
| Parameter | Type | Description |
|---|---|---|
workload * | object | Explicit workload assumptions for deterministic cost estimates. Missing fields become assumptions, not fabricated precision. |
category | string | Optional category to estimate across the current corpus |
vendorIds | array | Optional vendor IDs to estimate directly |
stacks.recommend
Recommends a complete stack from BuyAPI's corpus with a structured decision matrix, cost estimate, assumptions, unknowns, alternatives, and sources. Use this when the user is starting a project or asks for a complete stack choice. Do not use this for local coding/debugging/docs questions that do not involve software or vendor selection. Do not call vendors.resolve first; this tool handles retrieval and ranking.
| Parameter | Type | Description |
|---|---|---|
projectDescription * | string | What the user is building |
constraints | string | Budget, scale, existing tools, team size, compliance needs |
stackContext | array | Optional existing stack context from a repo scan or saved private stack. Pass derived tool metadata only, not source code. |
stackFacts | object | Optional derived stack facts such as languages, frameworks, runtimes, package managers, test tools, and dev workflow. Do not pass source code or secrets. |
workload | object | Explicit workload assumptions for deterministic cost estimates. Missing fields become assumptions, not fabricated precision. |