Skip to content

Commit 561caff

Browse files
authored
fix(financial-datasets-mcp-server) Improve charge Event descriptions (#62)
1 parent 24c05be commit 561caff

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

financial-datasets-mcp-server/.actor/pay_per_event.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,52 +6,52 @@
66
},
77
"get-income-statements": {
88
"eventTitle": "Get income statements",
9-
"eventDescription": "Fee for retrieving company income statements using the get_income_statements tool.",
9+
"eventDescription": "Fee for getting income statements for a company.",
1010
"eventPriceUsd": 0.01
1111
},
1212
"get-balance-sheets": {
1313
"eventTitle": "Get balance sheets",
14-
"eventDescription": "Fee for retrieving company balance sheets using the get_balance_sheets tool.",
14+
"eventDescription": "Fee for getting balance sheets for a company.",
1515
"eventPriceUsd": 0.01
1616
},
1717
"get-cash-flow-statements": {
1818
"eventTitle": "Get cash flow statements",
19-
"eventDescription": "Fee for retrieving company cash flow statements using the get_cash_flow_statements tool.",
19+
"eventDescription": "Fee for getting cash flow statements for a company.",
2020
"eventPriceUsd": 0.01
2121
},
2222
"get-current-stock-price": {
2323
"eventTitle": "Get current stock price",
24-
"eventDescription": "Fee for retrieving current stock price using the get_current_stock_price tool.",
25-
"eventPriceUsd": 0.005
24+
"eventDescription": "Fee for getting the current / latest price of a company.",
25+
"eventPriceUsd": 0.01
2626
},
2727
"get-historical-stock-prices": {
2828
"eventTitle": "Get historical stock prices",
29-
"eventDescription": "Fee for retrieving historical stock prices using the get_historical_stock_prices tool.",
29+
"eventDescription": "Fee for getting historical stock prices for a company.",
3030
"eventPriceUsd": 0.01
3131
},
3232
"get-company-news": {
3333
"eventTitle": "Get company news",
34-
"eventDescription": "Fee for retrieving company news using the get_company_news tool.",
35-
"eventPriceUsd": 0.005
34+
"eventDescription": "Fee for getting news for a company.",
35+
"eventPriceUsd": 0.01
3636
},
3737
"get-available-crypto-tickers": {
3838
"eventTitle": "Get available crypto tickers",
39-
"eventDescription": "Fee for retrieving available crypto tickers using the get_available_crypto_tickers tool.",
39+
"eventDescription": "Fee for getting all available crypto tickers.",
4040
"eventPriceUsd": 0.001
4141
},
4242
"get-crypto-prices": {
4343
"eventTitle": "Get crypto prices",
44-
"eventDescription": "Fee for retrieving crypto prices using the get_crypto_prices tool.",
45-
"eventPriceUsd": 0.005
44+
"eventDescription": "Fee for getting current prices for a crypto currency.",
45+
"eventPriceUsd": 0.01
4646
},
4747
"get-historical-crypto-prices": {
4848
"eventTitle": "Get historical crypto prices",
49-
"eventDescription": "Fee for retrieving historical crypto prices using the get_historical_crypto_prices tool.",
49+
"eventDescription": "Fee for getting historical prices for a crypto currency.",
5050
"eventPriceUsd": 0.01
5151
},
5252
"get-current-crypto-price": {
5353
"eventTitle": "Get current crypto price",
54-
"eventDescription": "Fee for retrieving current crypto price using the get_current_crypto_price tool.",
55-
"eventPriceUsd": 0.005
54+
"eventDescription": "Fee for getting the current / latest price of a crypto currency.",
55+
"eventPriceUsd": 0.01
5656
}
5757
}

financial-datasets-mcp-server/src/mcp_gateway.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ async def _list_tools(_: Any) -> types.ServerResult:
151151
authorized_tools.append(tool) # noqa: PERF401
152152
tools.tools = authorized_tools
153153

154-
await charge_mcp_operation(actor_charge_function, ChargeEvents.TOOL_LIST.value)
155154
return types.ServerResult(tools)
156155

157156
app.request_handlers[types.ListToolsRequest] = _list_tools

0 commit comments

Comments
 (0)