Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BEA_API_KEYYesAPI key for BEA national-accounts tables (required)
BLS_API_KEYNoAPI key for BLS (optional, raises query limits)
FRED_API_KEYNoAPI key for FRED (optional, enables official API instead of public CSV path)
FISCUS_DATA_DIRNoDirectory path to relocate the cache (optional)
FISCUS_EXTRA_CATALOGNoPath to extra catalog YAML file(s) or directory (optional)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
find_seriesA

Search the curated catalog. Call this before guessing any series or dataset id.

    Curated results include units, history start, access needs, supported fetch tool,
    and caveat count so the next call can select the right concept. When the catalog has
    no match, uncurated candidates from the source's own search are returned under
    uncurated_upstream. BEA inventory candidates intentionally omit reviewed history,
    units, and verified_on. For keyless discovery across the Z.1 package data dictionary,
    pass family="z1".
    
get_seriesA

Fetch a cataloged series (FRED, BEA, BLS, OFR, NY Fed, TreasuryDirect families).

    Prefer ids from find_series. Uncataloged FRED and BLS series are also served as
    fred.<SERIES_ID> / bls.<SERIES_ID>. Their source unit metadata is labeled when
    available; otherwise annualization is explicitly unknown. These passthroughs carry
    interpretation warnings instead of curated review. Returns a compact preview,
    binding caveats, provenance, and an artifact descriptor. Read full bytes through
    fiscus-cache://artifact/<cache_key>. Set refresh only for a new source retrieval.
    For a FRED/ALFRED snapshot, set vintage_as_of to a closed past ISO date; start and
    end remain observation-date bounds, and FRED_API_KEY is required. Vintage failures
    distinguish an unset key, a rejected credential, no ALFRED history, a request before
    the first ALFRED vintage, and a source identifier that does not exist. A failed BOGZ1
    identifier is not auto-corrected because its two-letter prefix encodes the concept.
    
bea_nipa_tableA

Fetch a complete BEA NIPA table for an explicit inclusive year range.

    table_id is BEA's canonical TableName (for example T10106). frequency must be
    A, Q, or M and must be advertised for that table in BEA's source inventory.
    The route is NIPA-only, sends an explicit Year list rather than Year=X, and
    returns source-observed metric labels plus per-line coverage. Uncurated tables
    omit reviewed units, history, and verified_on claims; exact curated pairs add
    a separate catalog overlay. BEA_API_KEY is required for a source retrieval.
    
fiscaldata_queryC

Query a curated Treasury FiscalData dataset selected from find_series.

    Use official FiscalData query keys such as fields, filter, sort, and page[size].
    Narrow large requests with a filter instead of raising max_pages indiscriminately.
    
get_fileA

Download a curated file artifact selected from find_series.

    Serves sources published as direct files (workbooks, delimited text, archives).
    Parseable csv/tsv files return a row preview; binary formats return provenance and
    an artifact descriptor. Read exact bytes at fiscus-cache://artifact/<cache_key>.
    
z1_seriesA

Fetch a Z.1 Financial Accounts series with enforced official prefix semantics.

kind must match the series prefix. This includes FR revaluations and the other official FA/FC/FG/FI/FL/FS/FU/FV/LA/LM/PC types. The call refuses to present one kind as another. Accepts bare mnemonics, .Q/.A suffixes, and FRED-style BOGZ1 aliases. If an official mnemonic is refused or absent, follow the server issue-reporting instruction before bypassing Fiscus.

soma_holdingsA

Fetch CUSIP-level SOMA Treasury holdings for a weekly as-of snapshot date.

Omit asof for the latest published snapshot; the resolved date becomes part of the immutable cache identity. Snapshots begin July 2003 and are weekly, not daily.

provenanceA

Re-emit the provenance manifest for any prior fetch by its cache key.

The cache key appears in every fetch response's artifact and provenance blocks; a unique hex prefix of at least 12 characters is accepted. Resolves only immutable artifacts, never a mutable "latest" pointer.

source_caveatsA

Return every catalog caveat and whether it binds to the supplied context.

    Supply a date range to evaluate history seams and unit_classes when checking a planned
    combination of differently scaled, adjusted, or annualized series.
    

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/smkwray/fiscus'

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