@usethrottle/mcp 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mcp.js CHANGED
@@ -637,7 +637,7 @@ var ACTIONS = [
637
637
  {
638
638
  id: "search_customers",
639
639
  title: "Search customers",
640
- description: "Find customers by name, email or external id, or list them by creation date. Over an OAuth connection (ChatGPT, Claude) text search is not available \u2014 list by date instead \u2014 because every field it could match is withheld there.",
640
+ description: "Find customers by name, company, email or external id, or list them by creation date. Over an OAuth connection (ChatGPT, Claude) text search is not available \u2014 list by date instead \u2014 because every field it could match is withheld there.",
641
641
  kind: "read",
642
642
  scopes: ["customers:read"],
643
643
  input: [
@@ -1560,7 +1560,7 @@ var ACTIONS = [
1560
1560
  {
1561
1561
  id: "create_checkout_link",
1562
1562
  title: "Create a checkout link",
1563
- description: "Build a cart from line items and return a hosted checkout URL the buyer can pay at. Prices are in minor units (2500 = $25.00).",
1563
+ description: "Build a cart from line items and return a hosted checkout URL the buyer can pay at. Prices are integers in the minor units of the cart currency (2500 = 25.00 in a two-decimal currency).",
1564
1564
  kind: "write",
1565
1565
  scopes: ["carts:write", "cart_items:write", "checkout_sessions:write"],
1566
1566
  input: [
@@ -3242,7 +3242,7 @@ var OAUTH_PROJECTIONS = {
3242
3242
  };
3243
3243
 
3244
3244
  // src/server.ts
3245
- var VERSION = true ? "0.4.2" : "0.0.0-dev";
3245
+ var VERSION = true ? "0.4.3" : "0.0.0-dev";
3246
3246
  function registerableActions(policy) {
3247
3247
  const isProduction = policy.identity.environment.providerEnvironment === "production";
3248
3248
  return actionsForChannel("mcp").filter((action) => {
@@ -3271,7 +3271,7 @@ function buildInstructions(identity, actions, policy) {
3271
3271
  '- The application can vary per call: pass "applicationId" on a read or analytics tool to reach a different application in this workspace, and call list_applications to see which ones this connection can reach. Omitting applicationId uses the application this connection was authorized for.',
3272
3272
  "- Every analytics result covers exactly ONE application and names it in `application`. Say which application a figure describes. If the user asks about their business as a whole and this connection reaches more than one application, do not answer from the default alone \u2014 call list_applications, then query each and add them up, or ask which application they mean.",
3273
3273
  '- List tools return { data, pagination }. When pagination.hasMore is true, pass pagination.cursor back as "cursor" rather than raising "limit".',
3274
- "- Amounts are integer minor units (2500 = $25.00).",
3274
+ "- Amounts are integer minor units of the record's currency (2500 = 25.00 in a two-decimal currency; JPY has none, KWD has three).",
3275
3275
  "- Throttle rejects snake_case on public request bodies. Before writing integration code, confirm shapes with describe_endpoint and check bodies with validate_payload instead of guessing field names.",
3276
3276
  "- API errors come back as text with a stable code. On insufficient_scopes, tell the user which scope to add \u2014 do not retry.",
3277
3277
  "- Analytics results may mark a section `omitted`. That means UNKNOWN, never zero. When `grantable` is false the data cannot be read over this connection at all \u2014 say so rather than reporting an absence."