Skip to main content
Glama

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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);
        }
      }
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/larasrinath/bls_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server