@speakai/mcp-server 1.42.0 → 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 +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
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,
|
|
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
|
|
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
|
|
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.
|
|
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",
|