@usethrottle/mcp 0.4.4 → 0.5.1
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 +7 -0
- package/dist/contract-index.json +1 -1
- package/dist/docs-index.json +1 -1
- package/dist/lib.cjs +1276 -895
- package/dist/lib.cjs.map +1 -1
- package/dist/lib.d.cts +1 -1
- package/dist/lib.d.ts +1 -1
- package/dist/lib.js +1276 -895
- package/dist/lib.js.map +1 -1
- package/dist/mcp.js +750 -145
- package/dist/mcp.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -86,6 +86,13 @@ The hosted server at `mcp.usethrottle.dev` registers no write tools at all.
|
|
|
86
86
|
The library entry re-exports `@usethrottle/money` as `money` and `formatMoney`
|
|
87
87
|
by name, plus the `CurrencyCode` and `MoneyValue` types.
|
|
88
88
|
|
|
89
|
+
Money values in tool results are `{ amount, currency, display }`. The analytics
|
|
90
|
+
tools return amounts per currency in `byCurrency` (main currency first) and never
|
|
91
|
+
sum across currencies; the server instructions tell the agent to report each
|
|
92
|
+
currency separately. Main-only scalars are dropped from MCP results (`deltaPct`,
|
|
93
|
+
a fixed discount's value, `minOrder`, `payments.usdAmountMinor`, a fixed quote
|
|
94
|
+
deposit value): read them from `byCurrency` or `amounts`.
|
|
95
|
+
|
|
89
96
|
## Options
|
|
90
97
|
|
|
91
98
|
| Flag | Default |
|