get_reference_metadata
Retrieve reference metadata for a dataflow to explain or cite it: source, methodology, licence, caveats, with channel availability indicated.
Instructions
Get reference metadata for a dataflow: source, methodology, licence, caveats.
Reference metadata is the descriptive material about a dataflow rather
than its structure: who compiled it, from what source, under what licence.
Use it to explain or cite data you have retrieved.
Coverage varies by provider and the result says which channels were
available, so an empty answer can be told apart from an unanswerable one.
Args:
dataflow_id: The dataflow to describe
key: Optional dimension key to narrow the query. Strongly recommended
for large dataflows: SPC's DF_SDG is 5.37 MB unfiltered and 5.6 KB
with a partial key.
agency_id: The agency (uses the session endpoint if not specified)
endpoint: Optional endpoint key (e.g. "FBOS", "ECB") to target a
specific provider for this call only. Defaults to the session's
current endpoint.
ctx: MCP context
Returns:
Reference metadata attributes, their provenance, and channel status
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| endpoint | No | ||
| agency_id | No | ||
| dataflow_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Plain-language remarks for the caller | |
| version | No | Resolved version | |
| channels | No | State of each channel: found, empty, inconclusive, too_broad, unsupported or skipped | |
| coverage | No | Declared / populated / empty counts from the MSD channel, the only channel that can see a declared-but-empty attribute; null when the MSD channel did not answer found on an untruncated read | |
| endpoint | No | Endpoint key | |
| agency_id | Yes | Owning agency | |
| dataflow_id | Yes | Dataflow queried | |
| metadata_attributes | No | Reference metadata found |