@speakai/mcp-server 1.42.1 → 1.42.2

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/README.md CHANGED
@@ -754,7 +754,7 @@ A test run sends each enabled scenario's scripted user messages to the agent as
754
754
 
755
755
  | Tool | Description |
756
756
  |---|---|
757
- | `get_billing_status` | Plan, remaining credits, renewal or trial end, pending payment, and upgrade or top-up checkout links (checkout links only for people who can manage billing) |
757
+ | `get_billing_status` | Plan, remaining credits, renewal or trial end, and whether a payment is pending |
758
758
 
759
759
  </details>
760
760
 
@@ -1041,7 +1041,7 @@ All tool errors follow this structure:
1041
1041
  | `404` | Resource not found |
1042
1042
  | `429` | Rate limit exceeded |
1043
1043
 
1044
- When the account cannot pay for the work, the tool error leads with the API's `userMessage`, followed by a `Continue here: <checkoutUrl>` line when there is one. `structuredContent.data` carries the full reply: `reason` (`OUT_OF_CREDITS`, `TRIAL_ENDED`, `PAYMENT_METHOD_REQUIRED`, `PLAN_FEATURE` or `PENDING_PAYMENT`; left out for public visitors), `billing` (`plan`: `free_trial`, `pay_as_you_go`, `pro` or `custom`; `creditsRemaining`, `creditsNeeded`, `trialEndsAt`, `canManageBilling`), `options` (`pro` carries only `id`, `recommended` and `url`, with no price; `top_up` carries `id`, `recommended`, `amount`, `currency`, `credits`, `autoReload` and `url`) and `agentNotes`. `checkoutUrl` is left out when the person cannot manage billing. Show the message to the user and retry only after they confirm. Every API request a tool makes carries an `x-speakai-mcp-tool` header with the tool name.
1044
+ When the account cannot cover the work, the tool error leads with the API's `userMessage`: why the call was refused and where plans are described. `structuredContent.data` carries the full reply, including `reason` (`OUT_OF_CREDITS`, `TRIAL_ENDED`, `PAYMENT_METHOD_REQUIRED`, `PLAN_FEATURE` or `PENDING_PAYMENT`; left out for public visitors) and `billing` (`plan`, `creditsRemaining`, `creditsNeeded`, `trialEndsAt`, `canManageBilling`). Show the message to the user and retry only after they confirm. Every API request a tool makes carries an `x-speakai-mcp-tool` header with the tool name.
1045
1045
 
1046
1046
  ### Development
1047
1047
 
package/dist/index.js CHANGED
@@ -13050,7 +13050,7 @@ function register23(server, client) {
13050
13050
  registerSpeakTool(
13051
13051
  server,
13052
13052
  "get_billing_status",
13053
- "Show the account's billing status: plan (free_trial, pay_as_you_go, pro or custom), creditsRemaining, renewsAt, trialEndsAt, pendingPayment, canManageBilling and manageUrl, plus options: 'pro' has only id, recommended and a checkout url (no price), and 'top_up' has id, recommended, amount, currency, credits, autoReload and a checkout url. checkoutUrl links to the recommended option and is left out when the current user cannot manage billing; then ask them to contact whoever manages billing on the account. Read-only and free to call. Use it to warn the user before an upload, analysis or chat would run past the remaining credits, or after a tool reports that the account is out of credits. Pro gives more hours of transcription for the money than adding credit. Share the links with the user and let them decide; never complete a purchase for them. Retry a blocked tool only after the user confirms they added credit or started Pro.",
13053
+ "Show the account's billing status: plan (free_trial, pay_as_you_go, pro or custom), creditsRemaining, renewsAt, trialEndsAt, pendingPayment and canManageBilling. Read-only and free to call. Use it to tell the user before an upload, analysis or chat would run past the remaining credits, or after a tool reports that the account cannot cover the work. Retry a blocked tool only after the user confirms their account has credits.",
13054
13054
  {},
13055
13055
  {
13056
13056
  title: "Get Billing Status",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@speakai/mcp-server",
3
- "version": "1.42.1",
3
+ "version": "1.42.2",
4
4
  "mcpName": "io.github.speakai/mcp-server",
5
5
  "description": "Official Speak AI MCP Server — capture meetings, search thousands of recordings, run async voice and video surveys, create clips, and automate workflows from your AI assistant.",
6
6
  "homepage": "https://docs.speakai.co/mcp",