get_all_surveys
Retrieve a list of all Bureau of Labor Statistics surveys with their abbreviations and names to identify available economic data sources.
Instructions
Retrieve a list of all BLS surveys with their abbreviations and names.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/surveys.ts:43-55 (handler)The implementation of the get_all_surveys tool handler, which calls client.getAllSurveys() and formats the output.
server.tool( "get_all_surveys", "Retrieve a list of all BLS surveys with their abbreviations and names.", {}, async () => { try { const data = await client.getAllSurveys(); return { content: [{ type: "text" as const, text: JSON.stringify(data, null, 2) }] }; } catch (error) { return wrapError(error); } } );