Skip to main content
Glama

Source metadata

source_metadata
Read-only

Licence, attribution and distribution evidence for one source. Pass source_key. An unknown source_key is an error that lists the valid keys. Authenticated, not metered; shares a 60-call bucket with describe_datasets, refilling at one call per second. Independent of daily call and company limits. Current policy checks differ from acquisition rights: unresolved means no retained grant evidence; retained_copy requires an older licensed copy. Includes exact recorded distribution URLs, acquisition/source clocks and transformation codes. Old snapshots return empty acquisitions. Truncated results include acquisitions_total. Use get_company for legal-entity figures. Do not look up natural persons.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "source_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
source_keyNoSource key, e.g. stat, emta or ariregisterstat

Output Schema

NameRequiredDescriptionDefault
as_ofYes
sourcesYes
truncatedNo
disclaimerYes
snapshot_idYes
acquisitionsNo
disclaimer_enNoEnglish disclaimer: extract of official public open data; not an official register extract, legal advice, or a credit decision.
source_detailsYesFull attribution and acquisition evidence: source_metadata(source_key).
omitted_sectionsNoSections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated.
acquisitions_totalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / disclaimer_en
      Added value: +{
      +  "description": "English disclaimer: extract of official public open data; not an official register extract, legal advice, or a credit decision.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Changed1 schema field changed
    • changedOutput schema / properties / source_details / description
      Previous value: -"Full attribution and acquisition evidence: source_metadata(key)."New value: +"Full attribution and acquisition evidence: source_metadata(source_key)."
  3. Changed4 schema fields changed
    • addedOutput schema / properties / omitted_sections
      Added value: +{
      +  "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / source_details
      Added value: +{
      +  "description": "Full attribution and acquisition evidence: source_metadata(key).",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / sources / items / properties / key
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "snapshot_id",
      -  "as_of",
      -  "sources",
      -  "disclaimer"
      -]New value: +[
      +  "snapshot_id",
      +  "as_of",
      +  "sources",
      +  "source_details",
      +  "disclaimer"
      +]
  4. Added

TDQS

A4.1/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the readOnly/closed-world annotations, it discloses authentication requirements, metering (unmetered but sharing a 60-call bucket with describe_datasets, one call per second refill, independent of daily and company limits), error behavior, the meaning of policy-check values (unresolved vs retained_copy), empty acquisitions on old snapshots, and acquisitions_total on truncated results. These are exactly the operational traits an agent cannot get from structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose, input and the get_company exclusion are front-loaded, and every sentence conveys a distinct fact. The style is highly telegraphic, though, with compressed phrases like 'acquisition/source clocks' and 'transformation codes' that force the reader to decode rather than read.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return structure need not be restated, and the description still covers auth, rate limits, error cases, empty results, truncation signaling, and the domain-specific meaning of policy checks. Nothing an agent needs in order to call this correctly and interpret edge cases is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter is fully documented in the schema, including example keys and a default, so the baseline is 3. The description adds one genuine piece of semantics — that an invalid key produces an error enumerating valid keys — which aids recovery but does not extend the parameter's meaning itself.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names a precise resource — licence, attribution and distribution evidence for a single source — and the following sentence fixes the required input. It is distinguishable from get_company, which is named as the alternative for legal-entity figures. It lacks an explicit verb ('retrieve'/'return'), but the scope is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Guidance is explicit on the negative side: do not look up natural persons, and use get_company for legal-entity figures. It also tells the agent what an unknown source_key does (errors and lists valid keys). The positive trigger — call this when you need licensing/redistribution evidence rather than entity data — is only implied by the first sentence, not spelled out as a condition.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources