@cyanheads/usaspending-mcp-server 0.4.2 → 0.4.4
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/AGENTS.md +428 -0
- package/CLAUDE.md +46 -19
- package/Dockerfile +10 -1
- package/README.md +118 -189
- package/changelog/0.4.x/0.4.3.md +33 -0
- package/changelog/0.4.x/0.4.4.md +31 -0
- package/changelog/template.md +9 -26
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/mcp-server/tools/definitions/autocomplete-filters.tool.d.ts +2 -0
- package/dist/mcp-server/tools/definitions/autocomplete-filters.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/autocomplete-filters.tool.js +4 -2
- package/dist/mcp-server/tools/definitions/autocomplete-filters.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/dates.d.ts +95 -0
- package/dist/mcp-server/tools/definitions/dates.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/dates.js +145 -0
- package/dist/mcp-server/tools/definitions/dates.js.map +1 -0
- package/dist/mcp-server/tools/definitions/disaster-spending.tool.d.ts +10 -1
- package/dist/mcp-server/tools/definitions/disaster-spending.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/disaster-spending.tool.js +95 -14
- package/dist/mcp-server/tools/definitions/disaster-spending.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/filters.d.ts +11 -2
- package/dist/mcp-server/tools/definitions/filters.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/filters.js +12 -5
- package/dist/mcp-server/tools/definitions/filters.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-agency.tool.d.ts +3 -1
- package/dist/mcp-server/tools/definitions/get-agency.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-agency.tool.js +7 -21
- package/dist/mcp-server/tools/definitions/get-agency.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-award-federal-accounts.tool.d.ts +2 -0
- package/dist/mcp-server/tools/definitions/get-award-federal-accounts.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-award-federal-accounts.tool.js +2 -0
- package/dist/mcp-server/tools/definitions/get-award-federal-accounts.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-award-subawards.tool.d.ts +2 -0
- package/dist/mcp-server/tools/definitions/get-award-subawards.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-award-subawards.tool.js +2 -0
- package/dist/mcp-server/tools/definitions/get-award-subawards.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-award-transactions.tool.d.ts +2 -0
- package/dist/mcp-server/tools/definitions/get-award-transactions.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-award-transactions.tool.js +2 -0
- package/dist/mcp-server/tools/definitions/get-award-transactions.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-award.tool.d.ts +2 -0
- package/dist/mcp-server/tools/definitions/get-award.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-award.tool.js +3 -5
- package/dist/mcp-server/tools/definitions/get-award.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-federal-account-breakdown.tool.d.ts +2 -0
- package/dist/mcp-server/tools/definitions/get-federal-account-breakdown.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-federal-account-breakdown.tool.js +2 -0
- package/dist/mcp-server/tools/definitions/get-federal-account-breakdown.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-federal-account.tool.d.ts +2 -0
- package/dist/mcp-server/tools/definitions/get-federal-account.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-federal-account.tool.js +3 -5
- package/dist/mcp-server/tools/definitions/get-federal-account.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-idv-awards.tool.d.ts +2 -0
- package/dist/mcp-server/tools/definitions/get-idv-awards.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-idv-awards.tool.js +2 -0
- package/dist/mcp-server/tools/definitions/get-idv-awards.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-recipient.tool.d.ts +2 -0
- package/dist/mcp-server/tools/definitions/get-recipient.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-recipient.tool.js +3 -5
- package/dist/mcp-server/tools/definitions/get-recipient.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/index.d.ts +118 -13
- package/dist/mcp-server/tools/definitions/index.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/list-agencies.tool.d.ts +2 -0
- package/dist/mcp-server/tools/definitions/list-agencies.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/list-agencies.tool.js +2 -0
- package/dist/mcp-server/tools/definitions/list-agencies.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/search-awards.tool.d.ts +33 -5
- package/dist/mcp-server/tools/definitions/search-awards.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/search-awards.tool.js +215 -60
- package/dist/mcp-server/tools/definitions/search-awards.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/search-federal-accounts.tool.d.ts +2 -0
- package/dist/mcp-server/tools/definitions/search-federal-accounts.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/search-federal-accounts.tool.js +2 -0
- package/dist/mcp-server/tools/definitions/search-federal-accounts.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/search-recipients.tool.d.ts +2 -0
- package/dist/mcp-server/tools/definitions/search-recipients.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/search-recipients.tool.js +2 -0
- package/dist/mcp-server/tools/definitions/search-recipients.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/spending-by-category.tool.d.ts +16 -2
- package/dist/mcp-server/tools/definitions/spending-by-category.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/spending-by-category.tool.js +46 -12
- package/dist/mcp-server/tools/definitions/spending-by-category.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/spending-by-geography.tool.d.ts +16 -2
- package/dist/mcp-server/tools/definitions/spending-by-geography.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/spending-by-geography.tool.js +51 -19
- package/dist/mcp-server/tools/definitions/spending-by-geography.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/spending-over-time.tool.d.ts +16 -2
- package/dist/mcp-server/tools/definitions/spending-over-time.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/spending-over-time.tool.js +46 -12
- package/dist/mcp-server/tools/definitions/spending-over-time.tool.js.map +1 -1
- package/dist/services/usaspending/types.d.ts +28 -2
- package/dist/services/usaspending/types.d.ts.map +1 -1
- package/dist/services/usaspending/usaspending-service.d.ts +10 -14
- package/dist/services/usaspending/usaspending-service.d.ts.map +1 -1
- package/dist/services/usaspending/usaspending-service.js +110 -4
- package/dist/services/usaspending/usaspending-service.js.map +1 -1
- package/package.json +12 -10
- package/server.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-recipient.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-recipient.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAC,2BAA2B,EAAE;IAChE,KAAK,EAAE,uBAAuB;IAC9B,WAAW,EACT,icAAic;IACnc,WAAW,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE;IAE/E,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,YAAY,EAAE,C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AC,cAAc,EAAE,EAAE,CACpG,CAAC;QACN,CAAC;QACD,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACpD,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -47,12 +47,14 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
47
47
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ServiceUnavailable;
|
|
48
48
|
readonly when: "USAspending.gov API is unreachable or returns an error.";
|
|
49
49
|
readonly retryable: true;
|
|
50
|
+
readonly thrownBy: "service";
|
|
50
51
|
readonly recovery: "The API may be temporarily down. Retry the request after a few seconds.";
|
|
51
52
|
}, {
|
|
52
53
|
readonly reason: "api_timeout";
|
|
53
54
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.Timeout;
|
|
54
55
|
readonly when: "USAspending.gov did not respond before the request deadline elapsed.";
|
|
55
56
|
readonly retryable: true;
|
|
57
|
+
readonly thrownBy: "service";
|
|
56
58
|
readonly recovery: "Retry the request; this listing is one fixed payload with nothing to narrow.";
|
|
57
59
|
}], {
|
|
58
60
|
readonly agency_count: import("zod").ZodNumber;
|
|
@@ -87,12 +89,14 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
87
89
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ServiceUnavailable;
|
|
88
90
|
readonly when: "USAspending.gov API is unreachable or returns an error.";
|
|
89
91
|
readonly retryable: true;
|
|
92
|
+
readonly thrownBy: "service";
|
|
90
93
|
readonly recovery: "The API may be temporarily down. Retry the request after a few seconds.";
|
|
91
94
|
}, {
|
|
92
95
|
readonly reason: "api_timeout";
|
|
93
96
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.Timeout;
|
|
94
97
|
readonly when: "USAspending.gov did not respond before the request deadline elapsed.";
|
|
95
98
|
readonly retryable: true;
|
|
99
|
+
readonly thrownBy: "service";
|
|
96
100
|
readonly recovery: "Retry with a longer search_text and a smaller limit to shrink the match set.";
|
|
97
101
|
}], {
|
|
98
102
|
readonly lookup_type: import("zod").ZodString;
|
|
@@ -107,9 +111,10 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
107
111
|
agency_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
108
112
|
recipient_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
109
113
|
naics_codes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
114
|
+
assistance_listings: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
110
115
|
time_period: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
111
|
-
start_date: import("zod").ZodString
|
|
112
|
-
end_date: import("zod").ZodString
|
|
116
|
+
start_date: import("zod").ZodPreprocess<import("zod").ZodUnion<readonly [import("zod").ZodLiteral<"">, import("zod").ZodString]>, unknown>;
|
|
117
|
+
end_date: import("zod").ZodPreprocess<import("zod").ZodUnion<readonly [import("zod").ZodLiteral<"">, import("zod").ZodString]>, unknown>;
|
|
113
118
|
}, import("zod/v4/core").$strip>>;
|
|
114
119
|
location_filter: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
115
120
|
country: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -117,12 +122,15 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
117
122
|
county: import("zod").ZodOptional<import("zod").ZodString>;
|
|
118
123
|
city: import("zod").ZodOptional<import("zod").ZodString>;
|
|
119
124
|
}, import("zod/v4/core").$strip>>;
|
|
120
|
-
sort: import("zod").
|
|
125
|
+
sort: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
121
126
|
"Award Amount": "Award Amount";
|
|
122
127
|
"Awarding Agency": "Awarding Agency";
|
|
123
128
|
"End Date": "End Date";
|
|
129
|
+
"Issued Date": "Issued Date";
|
|
130
|
+
"Loan Value": "Loan Value";
|
|
124
131
|
"Recipient Name": "Recipient Name";
|
|
125
132
|
"Start Date": "Start Date";
|
|
133
|
+
"Subsidy Cost": "Subsidy Cost";
|
|
126
134
|
"Total Outlays": "Total Outlays";
|
|
127
135
|
}>>;
|
|
128
136
|
order: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
@@ -139,8 +147,8 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
139
147
|
agency_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
140
148
|
recipient_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
141
149
|
naics_codes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
142
|
-
time_period_start: import("zod").ZodOptional<import("zod").ZodString
|
|
143
|
-
time_period_end: import("zod").ZodOptional<import("zod").ZodString
|
|
150
|
+
time_period_start: import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodUnion<readonly [import("zod").ZodLiteral<"">, import("zod").ZodString]>, unknown>>;
|
|
151
|
+
time_period_end: import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodUnion<readonly [import("zod").ZodLiteral<"">, import("zod").ZodString]>, unknown>>;
|
|
144
152
|
}, import("zod/v4/core").$strip>>;
|
|
145
153
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
146
154
|
results: import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -149,6 +157,9 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
149
157
|
recipient_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
150
158
|
award_amount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
151
159
|
total_outlays: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
160
|
+
loan_value: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
161
|
+
subsidy_cost: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
162
|
+
issued_date: import("zod").ZodOptional<import("zod").ZodString>;
|
|
152
163
|
awarding_agency: import("zod").ZodOptional<import("zod").ZodString>;
|
|
153
164
|
awarding_sub_agency: import("zod").ZodOptional<import("zod").ZodString>;
|
|
154
165
|
agency_slug: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -175,12 +186,14 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
175
186
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ServiceUnavailable;
|
|
176
187
|
readonly when: "USAspending.gov API is unreachable or returns an error.";
|
|
177
188
|
readonly retryable: true;
|
|
189
|
+
readonly thrownBy: "service";
|
|
178
190
|
readonly recovery: "The API may be temporarily down. Retry the request after a few seconds.";
|
|
179
191
|
}, {
|
|
180
192
|
readonly reason: "api_timeout";
|
|
181
193
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.Timeout;
|
|
182
194
|
readonly when: "USAspending.gov did not respond before the request deadline elapsed.";
|
|
183
195
|
readonly retryable: true;
|
|
196
|
+
readonly thrownBy: "service";
|
|
184
197
|
readonly recovery: "Narrow the search — a shorter time_period, fewer award_type_codes, or a smaller limit — then retry.";
|
|
185
198
|
}, {
|
|
186
199
|
readonly reason: "pagination_limit_exceeded";
|
|
@@ -194,6 +207,24 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
194
207
|
readonly when: "The resolved start date precedes the 2007-10-01 earliest date this endpoint can search.";
|
|
195
208
|
readonly retryable: false;
|
|
196
209
|
readonly recovery: "Re-request with a start date of 2007-10-01 or later. For award data back to 2000-10-01, use the Custom Award Download feature on usaspending.gov or the bulk_download API endpoints.";
|
|
210
|
+
}, {
|
|
211
|
+
readonly reason: "date_range_inverted";
|
|
212
|
+
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ValidationError;
|
|
213
|
+
readonly when: "Both ends of the date range were supplied and the start date falls after the end date.";
|
|
214
|
+
readonly retryable: false;
|
|
215
|
+
readonly recovery: "Swap the two dates so the start date is on or before the end date, then retry.";
|
|
216
|
+
}, {
|
|
217
|
+
readonly reason: "unsupported_sort";
|
|
218
|
+
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ValidationError;
|
|
219
|
+
readonly when: "The sort value is not one the award type group supports.";
|
|
220
|
+
readonly retryable: false;
|
|
221
|
+
readonly recovery: "Re-request with one of the sorts the error lists for this award type group, or omit sort to use the group default (Loan Value for loans, Award Amount otherwise).";
|
|
222
|
+
}, {
|
|
223
|
+
readonly reason: "assistance_listings_type_mismatch";
|
|
224
|
+
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ValidationError;
|
|
225
|
+
readonly when: "assistance_listings was given while the award type codes include contract or IDV codes, or were left at the contract default.";
|
|
226
|
+
readonly retryable: false;
|
|
227
|
+
readonly recovery: "Set award_type_codes to one assistance group — grants 02/03/04/05/F001/F002, direct payments 06/10/F006/F007, loans 07/08/F003/F004, or other assistance 09/11/-1/F005/F008/F009/F010 — alongside assistance_listings.";
|
|
197
228
|
}], {
|
|
198
229
|
readonly page: import("zod").ZodNumber;
|
|
199
230
|
readonly has_next: import("zod").ZodBoolean;
|
|
@@ -204,6 +235,7 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
204
235
|
readonly applied_keyword: import("zod").ZodOptional<import("zod").ZodString>;
|
|
205
236
|
readonly applied_agency_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
206
237
|
readonly applied_naics_codes: import("zod").ZodOptional<import("zod").ZodString>;
|
|
238
|
+
readonly applied_assistance_listings: import("zod").ZodOptional<import("zod").ZodString>;
|
|
207
239
|
readonly applied_time_period_start: import("zod").ZodOptional<import("zod").ZodString>;
|
|
208
240
|
readonly applied_time_period_end: import("zod").ZodOptional<import("zod").ZodString>;
|
|
209
241
|
readonly notice: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -288,12 +320,14 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
288
320
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ServiceUnavailable;
|
|
289
321
|
readonly when: "USAspending.gov API is unreachable or returns an error.";
|
|
290
322
|
readonly retryable: true;
|
|
323
|
+
readonly thrownBy: "service";
|
|
291
324
|
readonly recovery: "The API may be temporarily down. Retry the request after a few seconds.";
|
|
292
325
|
}, {
|
|
293
326
|
readonly reason: "api_timeout";
|
|
294
327
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.Timeout;
|
|
295
328
|
readonly when: "USAspending.gov did not respond before the request deadline elapsed.";
|
|
296
329
|
readonly retryable: true;
|
|
330
|
+
readonly thrownBy: "service";
|
|
297
331
|
readonly recovery: "Retry the request; award detail is a single record, so there is nothing to narrow.";
|
|
298
332
|
}], undefined>, import("@cyanheads/mcp-ts-core").ToolDefinition<import("zod").ZodObject<{
|
|
299
333
|
award_id: import("zod").ZodString;
|
|
@@ -334,12 +368,14 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
334
368
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ServiceUnavailable;
|
|
335
369
|
readonly when: "USAspending.gov API is unreachable or returns an error.";
|
|
336
370
|
readonly retryable: true;
|
|
371
|
+
readonly thrownBy: "service";
|
|
337
372
|
readonly recovery: "The API may be temporarily down. Retry the request after a few seconds.";
|
|
338
373
|
}, {
|
|
339
374
|
readonly reason: "api_timeout";
|
|
340
375
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.Timeout;
|
|
341
376
|
readonly when: "USAspending.gov did not respond before the request deadline elapsed.";
|
|
342
377
|
readonly retryable: true;
|
|
378
|
+
readonly thrownBy: "service";
|
|
343
379
|
readonly recovery: "Retry with a smaller limit so the upstream assembles a lighter page.";
|
|
344
380
|
}], {
|
|
345
381
|
readonly queried_award_id: import("zod").ZodString;
|
|
@@ -389,12 +425,14 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
389
425
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ServiceUnavailable;
|
|
390
426
|
readonly when: "USAspending.gov API is unreachable or returns an error.";
|
|
391
427
|
readonly retryable: true;
|
|
428
|
+
readonly thrownBy: "service";
|
|
392
429
|
readonly recovery: "The API may be temporarily down. Retry the request after a few seconds.";
|
|
393
430
|
}, {
|
|
394
431
|
readonly reason: "api_timeout";
|
|
395
432
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.Timeout;
|
|
396
433
|
readonly when: "USAspending.gov did not respond before the request deadline elapsed.";
|
|
397
434
|
readonly retryable: true;
|
|
435
|
+
readonly thrownBy: "service";
|
|
398
436
|
readonly recovery: "Retry with a smaller limit so the upstream assembles a lighter page.";
|
|
399
437
|
}], {
|
|
400
438
|
readonly prime_award_id: import("zod").ZodString;
|
|
@@ -430,12 +468,14 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
430
468
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ServiceUnavailable;
|
|
431
469
|
readonly when: "USAspending.gov API is unreachable or returns an error.";
|
|
432
470
|
readonly retryable: true;
|
|
471
|
+
readonly thrownBy: "service";
|
|
433
472
|
readonly recovery: "The API may be temporarily down. Retry the request after a few seconds.";
|
|
434
473
|
}, {
|
|
435
474
|
readonly reason: "api_timeout";
|
|
436
475
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.Timeout;
|
|
437
476
|
readonly when: "USAspending.gov did not respond before the request deadline elapsed.";
|
|
438
477
|
readonly retryable: true;
|
|
478
|
+
readonly thrownBy: "service";
|
|
439
479
|
readonly recovery: "Retry with a smaller limit so the upstream assembles a lighter page.";
|
|
440
480
|
}], {
|
|
441
481
|
readonly totalCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -481,12 +521,14 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
481
521
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ServiceUnavailable;
|
|
482
522
|
readonly when: "USAspending.gov API is unreachable or returns an error.";
|
|
483
523
|
readonly retryable: true;
|
|
524
|
+
readonly thrownBy: "service";
|
|
484
525
|
readonly recovery: "The API may be temporarily down. Retry the request after a few seconds.";
|
|
485
526
|
}, {
|
|
486
527
|
readonly reason: "api_timeout";
|
|
487
528
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.Timeout;
|
|
488
529
|
readonly when: "USAspending.gov did not respond before the request deadline elapsed.";
|
|
489
530
|
readonly retryable: true;
|
|
531
|
+
readonly thrownBy: "service";
|
|
490
532
|
readonly recovery: "Retry with a smaller limit so the upstream assembles a lighter page.";
|
|
491
533
|
}], {
|
|
492
534
|
readonly parent_award_id: import("zod").ZodString;
|
|
@@ -527,12 +569,14 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
527
569
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ServiceUnavailable;
|
|
528
570
|
readonly when: "USAspending.gov API is unreachable or returns an error.";
|
|
529
571
|
readonly retryable: true;
|
|
572
|
+
readonly thrownBy: "service";
|
|
530
573
|
readonly recovery: "The API may be temporarily down. Retry the request after a few seconds.";
|
|
531
574
|
}, {
|
|
532
575
|
readonly reason: "api_timeout";
|
|
533
576
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.Timeout;
|
|
534
577
|
readonly when: "USAspending.gov did not respond before the request deadline elapsed.";
|
|
535
578
|
readonly retryable: true;
|
|
579
|
+
readonly thrownBy: "service";
|
|
536
580
|
readonly recovery: "Retry with a more specific keyword and a smaller limit to lighten the query.";
|
|
537
581
|
}], {
|
|
538
582
|
readonly recipient_count: import("zod").ZodNumber;
|
|
@@ -583,12 +627,14 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
583
627
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ServiceUnavailable;
|
|
584
628
|
readonly when: "USAspending.gov API is unreachable or returns an error.";
|
|
585
629
|
readonly retryable: true;
|
|
630
|
+
readonly thrownBy: "service";
|
|
586
631
|
readonly recovery: "The API may be temporarily down. Retry the request after a few seconds.";
|
|
587
632
|
}, {
|
|
588
633
|
readonly reason: "api_timeout";
|
|
589
634
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.Timeout;
|
|
590
635
|
readonly when: "USAspending.gov did not respond before the request deadline elapsed.";
|
|
591
636
|
readonly retryable: true;
|
|
637
|
+
readonly thrownBy: "service";
|
|
592
638
|
readonly recovery: "Retry with a single fiscal_year set to scope the profile to one year.";
|
|
593
639
|
}], undefined>, import("@cyanheads/mcp-ts-core").ToolDefinition<import("zod").ZodObject<{
|
|
594
640
|
toptier_code: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -633,18 +679,20 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
633
679
|
readonly reason: "missing_input";
|
|
634
680
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ValidationError;
|
|
635
681
|
readonly when: "Neither toptier_code nor agency_slug was provided.";
|
|
636
|
-
readonly recovery: "Provide either a toptier_code (e.g., 097) or agency_slug (e.g., department-of-defense).";
|
|
682
|
+
readonly recovery: "Provide either a toptier_code (e.g., 097) or agency_slug (e.g., department-of-defense) — usaspending_list_agencies lists both.";
|
|
637
683
|
}, {
|
|
638
684
|
readonly reason: "api_unavailable";
|
|
639
685
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ServiceUnavailable;
|
|
640
686
|
readonly when: "USAspending.gov API is unreachable or returns an error.";
|
|
641
687
|
readonly retryable: true;
|
|
688
|
+
readonly thrownBy: "service";
|
|
642
689
|
readonly recovery: "The API may be temporarily down. Retry the request after a few seconds.";
|
|
643
690
|
}, {
|
|
644
691
|
readonly reason: "api_timeout";
|
|
645
692
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.Timeout;
|
|
646
693
|
readonly when: "USAspending.gov did not respond before the request deadline elapsed.";
|
|
647
694
|
readonly retryable: true;
|
|
695
|
+
readonly thrownBy: "service";
|
|
648
696
|
readonly recovery: "Retry the request; the sub-agency page is the slow part, so request one page.";
|
|
649
697
|
}], {
|
|
650
698
|
readonly sub_agency_page: import("zod").ZodNumber;
|
|
@@ -667,8 +715,8 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
667
715
|
agency_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
668
716
|
recipient_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
669
717
|
naics_codes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
670
|
-
time_period_start: import("zod").ZodOptional<import("zod").ZodString
|
|
671
|
-
time_period_end: import("zod").ZodOptional<import("zod").ZodString
|
|
718
|
+
time_period_start: import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodUnion<readonly [import("zod").ZodLiteral<"">, import("zod").ZodString]>, unknown>>;
|
|
719
|
+
time_period_end: import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodUnion<readonly [import("zod").ZodLiteral<"">, import("zod").ZodString]>, unknown>>;
|
|
672
720
|
}, import("zod/v4/core").$strip>>;
|
|
673
721
|
limit: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
674
722
|
subawards: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
@@ -690,13 +738,27 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
690
738
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ServiceUnavailable;
|
|
691
739
|
readonly when: "USAspending.gov API is unreachable or returns an error.";
|
|
692
740
|
readonly retryable: true;
|
|
741
|
+
readonly thrownBy: "service";
|
|
693
742
|
readonly recovery: "The API may be temporarily down. Retry the request after a few seconds.";
|
|
694
743
|
}, {
|
|
695
744
|
readonly reason: "api_timeout";
|
|
696
745
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.Timeout;
|
|
697
746
|
readonly when: "USAspending.gov did not respond before the request deadline elapsed.";
|
|
698
747
|
readonly retryable: true;
|
|
748
|
+
readonly thrownBy: "service";
|
|
699
749
|
readonly recovery: "Narrow the filters — a shorter time_period or a coarser geo_layer — then retry the aggregation.";
|
|
750
|
+
}, {
|
|
751
|
+
readonly reason: "date_range_inverted";
|
|
752
|
+
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ValidationError;
|
|
753
|
+
readonly when: "Both filters.time_period_start and filters.time_period_end were supplied and the start falls after the end.";
|
|
754
|
+
readonly retryable: false;
|
|
755
|
+
readonly recovery: "Swap the two dates so the start date is on or before the end date, then retry.";
|
|
756
|
+
}, {
|
|
757
|
+
readonly reason: "date_before_earliest";
|
|
758
|
+
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ValidationError;
|
|
759
|
+
readonly when: "The resolved start date precedes the 2007-10-01 earliest date this endpoint can search.";
|
|
760
|
+
readonly retryable: false;
|
|
761
|
+
readonly recovery: "Re-request with a start date of 2007-10-01 or later. For award data back to 2000-10-01, use the Custom Award Download feature on usaspending.gov or the bulk_download API endpoints.";
|
|
700
762
|
}], {
|
|
701
763
|
readonly applied_scope: import("zod").ZodString;
|
|
702
764
|
readonly applied_geo_layer: import("zod").ZodString;
|
|
@@ -730,8 +792,8 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
730
792
|
agency_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
731
793
|
recipient_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
732
794
|
naics_codes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
733
|
-
time_period_start: import("zod").ZodOptional<import("zod").ZodString
|
|
734
|
-
time_period_end: import("zod").ZodOptional<import("zod").ZodString
|
|
795
|
+
time_period_start: import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodUnion<readonly [import("zod").ZodLiteral<"">, import("zod").ZodString]>, unknown>>;
|
|
796
|
+
time_period_end: import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodUnion<readonly [import("zod").ZodLiteral<"">, import("zod").ZodString]>, unknown>>;
|
|
735
797
|
}, import("zod/v4/core").$strip>>;
|
|
736
798
|
limit: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
737
799
|
page: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
@@ -754,13 +816,27 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
754
816
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ServiceUnavailable;
|
|
755
817
|
readonly when: "USAspending.gov API is unreachable or returns an error.";
|
|
756
818
|
readonly retryable: true;
|
|
819
|
+
readonly thrownBy: "service";
|
|
757
820
|
readonly recovery: "The API may be temporarily down. Retry the request after a few seconds.";
|
|
758
821
|
}, {
|
|
759
822
|
readonly reason: "api_timeout";
|
|
760
823
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.Timeout;
|
|
761
824
|
readonly when: "USAspending.gov did not respond before the request deadline elapsed.";
|
|
762
825
|
readonly retryable: true;
|
|
826
|
+
readonly thrownBy: "service";
|
|
763
827
|
readonly recovery: "Narrow the query — a shorter time_period in filters, or a smaller limit — then retry.";
|
|
828
|
+
}, {
|
|
829
|
+
readonly reason: "date_range_inverted";
|
|
830
|
+
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ValidationError;
|
|
831
|
+
readonly when: "Both filters.time_period_start and filters.time_period_end were supplied and the start falls after the end.";
|
|
832
|
+
readonly retryable: false;
|
|
833
|
+
readonly recovery: "Swap the two dates so the start date is on or before the end date, then retry.";
|
|
834
|
+
}, {
|
|
835
|
+
readonly reason: "date_before_earliest";
|
|
836
|
+
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ValidationError;
|
|
837
|
+
readonly when: "The resolved start date precedes the 2007-10-01 earliest date this endpoint can search.";
|
|
838
|
+
readonly retryable: false;
|
|
839
|
+
readonly recovery: "Re-request with a start date of 2007-10-01 or later. For award data back to 2000-10-01, use the Custom Award Download feature on usaspending.gov or the bulk_download API endpoints.";
|
|
764
840
|
}], {
|
|
765
841
|
readonly totalCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
766
842
|
readonly page: import("zod").ZodNumber;
|
|
@@ -783,8 +859,8 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
783
859
|
agency_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
784
860
|
recipient_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
785
861
|
naics_codes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
786
|
-
time_period_start: import("zod").ZodOptional<import("zod").ZodString
|
|
787
|
-
time_period_end: import("zod").ZodOptional<import("zod").ZodString
|
|
862
|
+
time_period_start: import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodUnion<readonly [import("zod").ZodLiteral<"">, import("zod").ZodString]>, unknown>>;
|
|
863
|
+
time_period_end: import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodUnion<readonly [import("zod").ZodLiteral<"">, import("zod").ZodString]>, unknown>>;
|
|
788
864
|
}, import("zod/v4/core").$strip>>;
|
|
789
865
|
subawards: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
790
866
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -809,13 +885,27 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
809
885
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ServiceUnavailable;
|
|
810
886
|
readonly when: "USAspending.gov API is unreachable or returns an error.";
|
|
811
887
|
readonly retryable: true;
|
|
888
|
+
readonly thrownBy: "service";
|
|
812
889
|
readonly recovery: "The API may be temporarily down. Retry the request after a few seconds.";
|
|
813
890
|
}, {
|
|
814
891
|
readonly reason: "api_timeout";
|
|
815
892
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.Timeout;
|
|
816
893
|
readonly when: "USAspending.gov did not respond before the request deadline elapsed.";
|
|
817
894
|
readonly retryable: true;
|
|
895
|
+
readonly thrownBy: "service";
|
|
818
896
|
readonly recovery: "Narrow the filters — a shorter time_period or a coarser group — then retry the aggregation.";
|
|
897
|
+
}, {
|
|
898
|
+
readonly reason: "date_range_inverted";
|
|
899
|
+
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ValidationError;
|
|
900
|
+
readonly when: "Both filters.time_period_start and filters.time_period_end were supplied and the start falls after the end.";
|
|
901
|
+
readonly retryable: false;
|
|
902
|
+
readonly recovery: "Swap the two dates so the start date is on or before the end date, then retry.";
|
|
903
|
+
}, {
|
|
904
|
+
readonly reason: "date_before_earliest";
|
|
905
|
+
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ValidationError;
|
|
906
|
+
readonly when: "The resolved start date precedes the 2007-10-01 earliest date this endpoint can search.";
|
|
907
|
+
readonly retryable: false;
|
|
908
|
+
readonly recovery: "Re-request with a start date of 2007-10-01 or later. For award data back to 2000-10-01, use the Custom Award Download feature on usaspending.gov or the bulk_download API endpoints.";
|
|
819
909
|
}], {
|
|
820
910
|
readonly time_group: import("zod").ZodString;
|
|
821
911
|
readonly period_count: import("zod").ZodNumber;
|
|
@@ -865,12 +955,19 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
865
955
|
public_law: import("zod").ZodOptional<import("zod").ZodString>;
|
|
866
956
|
}, import("zod/v4/core").$strip>>>;
|
|
867
957
|
}, import("zod/v4/core").$strip>>;
|
|
958
|
+
totals: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
959
|
+
obligation: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
960
|
+
outlay: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
961
|
+
total_budgetary_resources: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
962
|
+
award_count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
963
|
+
}, import("zod/v4/core").$strip>>;
|
|
868
964
|
results: import("zod").ZodArray<import("zod").ZodObject<{
|
|
869
965
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
870
966
|
code: import("zod").ZodOptional<import("zod").ZodString>;
|
|
871
967
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
872
968
|
obligation: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
873
969
|
outlay: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
970
|
+
total_budgetary_resources: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
874
971
|
award_count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
875
972
|
face_value_of_loan: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
876
973
|
shape_code: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -890,13 +987,15 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
890
987
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ServiceUnavailable;
|
|
891
988
|
readonly when: "USAspending.gov API is unreachable or returns an error.";
|
|
892
989
|
readonly retryable: true;
|
|
990
|
+
readonly thrownBy: "service";
|
|
893
991
|
readonly recovery: "The API may be temporarily down. Retry the request after a few seconds.";
|
|
894
992
|
}, {
|
|
895
993
|
readonly reason: "api_timeout";
|
|
896
994
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.Timeout;
|
|
897
995
|
readonly when: "USAspending.gov did not respond before the request deadline elapsed.";
|
|
898
996
|
readonly retryable: true;
|
|
899
|
-
readonly
|
|
997
|
+
readonly thrownBy: "service";
|
|
998
|
+
readonly recovery: "By dimension — agency, cfda, recipient: pass fewer filters.def_codes or a smaller limit, then retry. geography: pass fewer filters.def_codes, then retry. overview: the upstream endpoint can run past the request budget on its own, so retry later, or call dimension \"agency\" with filters.def_codes (e.g. [\"L\", \"M\", \"N\", \"O\", \"P\"] for COVID-19), spending_type \"total\", and limit 100 for per-agency obligations and outlays plus overall totals.";
|
|
900
999
|
}], {
|
|
901
1000
|
readonly applied_dimension: import("zod").ZodString;
|
|
902
1001
|
readonly totalCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -936,12 +1035,14 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
936
1035
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ServiceUnavailable;
|
|
937
1036
|
readonly when: "USAspending.gov API is unreachable or returns an error.";
|
|
938
1037
|
readonly retryable: true;
|
|
1038
|
+
readonly thrownBy: "service";
|
|
939
1039
|
readonly recovery: "The API may be temporarily down. Retry the request after a few seconds.";
|
|
940
1040
|
}, {
|
|
941
1041
|
readonly reason: "api_timeout";
|
|
942
1042
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.Timeout;
|
|
943
1043
|
readonly when: "USAspending.gov did not respond before the request deadline elapsed.";
|
|
944
1044
|
readonly retryable: true;
|
|
1045
|
+
readonly thrownBy: "service";
|
|
945
1046
|
readonly recovery: "Retry the request; account detail is a single record, so there is nothing to narrow.";
|
|
946
1047
|
}], undefined>, import("@cyanheads/mcp-ts-core").ToolDefinition<import("zod").ZodObject<{
|
|
947
1048
|
account_code: import("zod").ZodString;
|
|
@@ -972,12 +1073,14 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
972
1073
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ServiceUnavailable;
|
|
973
1074
|
readonly when: "USAspending.gov API is unreachable or returns an error.";
|
|
974
1075
|
readonly retryable: true;
|
|
1076
|
+
readonly thrownBy: "service";
|
|
975
1077
|
readonly recovery: "The API may be temporarily down. Retry the request after a few seconds.";
|
|
976
1078
|
}, {
|
|
977
1079
|
readonly reason: "api_timeout";
|
|
978
1080
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.Timeout;
|
|
979
1081
|
readonly when: "USAspending.gov did not respond before the request deadline elapsed.";
|
|
980
1082
|
readonly retryable: true;
|
|
1083
|
+
readonly thrownBy: "service";
|
|
981
1084
|
readonly recovery: "Retry with a smaller limit so the upstream assembles a lighter page.";
|
|
982
1085
|
}], {
|
|
983
1086
|
readonly applied_dimension: import("zod").ZodString;
|
|
@@ -1020,12 +1123,14 @@ export declare const allToolDefinitions: readonly [import("@cyanheads/mcp-ts-cor
|
|
|
1020
1123
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.ServiceUnavailable;
|
|
1021
1124
|
readonly when: "USAspending.gov API is unreachable or returns an error.";
|
|
1022
1125
|
readonly retryable: true;
|
|
1126
|
+
readonly thrownBy: "service";
|
|
1023
1127
|
readonly recovery: "The API may be temporarily down. Retry the request after a few seconds.";
|
|
1024
1128
|
}, {
|
|
1025
1129
|
readonly reason: "api_timeout";
|
|
1026
1130
|
readonly code: import("@cyanheads/mcp-ts-core/errors").JsonRpcErrorCode.Timeout;
|
|
1027
1131
|
readonly when: "USAspending.gov did not respond before the request deadline elapsed.";
|
|
1028
1132
|
readonly retryable: true;
|
|
1133
|
+
readonly thrownBy: "service";
|
|
1029
1134
|
readonly recovery: "Retry with an agency_identifier set and a smaller limit to lighten the query.";
|
|
1030
1135
|
}], {
|
|
1031
1136
|
readonly totalCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/index.ts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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmBrB,CAAC"}
|
|
@@ -31,12 +31,14 @@ export declare const listAgenciesTool: import("@cyanheads/mcp-ts-core").ToolDefi
|
|
|
31
31
|
readonly code: JsonRpcErrorCode.ServiceUnavailable;
|
|
32
32
|
readonly when: "USAspending.gov API is unreachable or returns an error.";
|
|
33
33
|
readonly retryable: true;
|
|
34
|
+
readonly thrownBy: "service";
|
|
34
35
|
readonly recovery: "The API may be temporarily down. Retry the request after a few seconds.";
|
|
35
36
|
}, {
|
|
36
37
|
readonly reason: "api_timeout";
|
|
37
38
|
readonly code: JsonRpcErrorCode.Timeout;
|
|
38
39
|
readonly when: "USAspending.gov did not respond before the request deadline elapsed.";
|
|
39
40
|
readonly retryable: true;
|
|
41
|
+
readonly thrownBy: "service";
|
|
40
42
|
readonly recovery: "Retry the request; this listing is one fixed payload with nothing to narrow.";
|
|
41
43
|
}], {
|
|
42
44
|
readonly agency_count: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-agencies.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/list-agencies.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAIjE,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"list-agencies.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/list-agencies.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAIjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmH3B,CAAC"}
|
|
@@ -57,6 +57,7 @@ export const listAgenciesTool = tool('usaspending_list_agencies', {
|
|
|
57
57
|
code: JsonRpcErrorCode.ServiceUnavailable,
|
|
58
58
|
when: 'USAspending.gov API is unreachable or returns an error.',
|
|
59
59
|
retryable: true,
|
|
60
|
+
thrownBy: 'service',
|
|
60
61
|
recovery: 'The API may be temporarily down. Retry the request after a few seconds.',
|
|
61
62
|
},
|
|
62
63
|
{
|
|
@@ -64,6 +65,7 @@ export const listAgenciesTool = tool('usaspending_list_agencies', {
|
|
|
64
65
|
code: JsonRpcErrorCode.Timeout,
|
|
65
66
|
when: 'USAspending.gov did not respond before the request deadline elapsed.',
|
|
66
67
|
retryable: true,
|
|
68
|
+
thrownBy: 'service',
|
|
67
69
|
recovery: 'Retry the request; this listing is one fixed payload with nothing to narrow.',
|
|
68
70
|
},
|
|
69
71
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-agencies.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/list-agencies.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAC,2BAA2B,EAAE;IAChE,KAAK,EAAE,uBAAuB;IAC9B,WAAW,EACT,0UAA0U;IAC5U,WAAW,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE;IAE/E,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,IAAI,EAAE,CAAC;aACJ,IAAI,CAAC,CAAC,aAAa,EAAE,yBAAyB,EAAE,kBAAkB,EAAE,eAAe,CAAC,CAAC;aACrF,OAAO,CAAC,aAAa,CAAC;aACtB,QAAQ,CACP,qGAAqG,CACtG;QACH,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,6BAA6B,CAAC;KACtF,CAAC;IAEF,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,OAAO,EAAE,CAAC;aACP,KA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AC;QACJ,CAAC;QACD,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACpD,CAAC;CACF,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-agencies.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/list-agencies.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAC,2BAA2B,EAAE;IAChE,KAAK,EAAE,uBAAuB;IAC9B,WAAW,EACT,0UAA0U;IAC5U,WAAW,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE;IAE/E,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,IAAI,EAAE,CAAC;aACJ,IAAI,CAAC,CAAC,aAAa,EAAE,yBAAyB,EAAE,kBAAkB,EAAE,eAAe,CAAC,CAAC;aACrF,OAAO,CAAC,aAAa,CAAC;aACtB,QAAQ,CACP,qGAAqG,CACtG;QACH,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,6BAA6B,CAAC;KACtF,CAAC;IAEF,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,OAAO,EAAE,CAAC;aACP,KAAK,CACJ,CAAC;aACE,MAAM,CAAC;YACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,Q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