Skip to main content
Glama

DaedalMap CIA World Factbook

Inspect One Data Pack

get_pack
Read-onlyIdempotent

Narrow one data pack before get_data. With only pack_id, lists the pack's sources and their coverage. Add source_id to list that source's metrics (name, unit, years, aggregation) and its filterable and sortable fields; search to match metrics across the pack by name, description, or keyword; or metrics for full detail on up to 10 exact ids.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "pack_id": "<pack_id>"
    },
    "name": "get_pack"
  }
}

Input Schema

NameRequiredDescriptionDefault
searchNoOptional. Terms matched against metric ids, names, descriptions, and keywords across this pack's sources; every term must match. Returns up to 25 compact metric lines.
metricsNoOptional. Up to 10 exact metric ids from this pack. Returns full stored detail for each, including description, coverage by era, value statistics, and every source that holds it.
pack_idYesPack identifier from get_catalog. Newly catalog-admitted packs require no MCP schema change.
source_idNoOptional. One source_id from this pack's sources list. Returns every metric in that source with name, unit, years, and aggregation, plus the source's filterable fields, sortable fields, and time field.

Output Schema

NameRequiredDescriptionDefault
errorNo
detailNo
reasonNo
sourceNo
catalogNo
metricsNo
pack_idNo
sourcesNo
guidanceNo
warningsNo
full_callNo
next_stepNo
truncatedNo
provenanceNo
request_idNo
match_countNo
download_urlNo
clarificationNo
download_callNo
query_contractNo
material_policyNo
unknown_metricsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedInput schema / properties / metrics
      Added value: +{
      +  "description": "Optional. Up to 10 exact metric ids from this pack. Returns full stored detail for each, including description, coverage by era, value statistics, and every source that holds it.",
      +  "items": {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 10,
      +  "minItems": 1,
      +  "type": "array",
      +  "uniqueItems": true
      +}
    • addedInput schema / properties / search
      Added value: +{
      +  "description": "Optional. Terms matched against metric ids, names, descriptions, and keywords across this pack's sources; every term must match. Returns up to 25 compact metric lines.",
      +  "maxLength": 100,
      +  "minLength": 2,
      +  "type": "string"
      +}
    • addedInput schema / properties / source_id
      Added value: +{
      +  "description": "Optional. One source_id from this pack's sources list. Returns every metric in that source with name, unit, years, and aggregation, plus the source's filterable fields, sortable fields, and time field.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedOutput schema / properties / detail / enum
      Previous value: -[
      -  "lite",
      -  "full",
      -  "download"
      -]New value: +[
      +  "sources",
      +  "source_metrics",
      +  "metric_detail",
      +  "metric_search"
      +]
    • addedOutput schema / properties / match_count
      Added value: +{
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / metrics
      Added value: +{
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / query_contract
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / source
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / unknown_metrics
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed5 schema fields changed
    • removedInput schema / properties / catalog
      Removed value: -{
      -  "description": "Metadata family. When omitted, geometry facades default to geometry and known geometry-family ids are inferred; all other calls default to data.",
      -  "enum": [
      -    "data",
      -    "geometry"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / country_scope
      Removed value: -{
      -  "description": "Optional ISO3 country for a geometry family. Omit it to learn which countries publish the family; provide it for country-specific versions, vintages, levels, and artifacts.",
      -  "pattern": "^[A-Za-z]{3}$",
      -  "type": "string"
      -}
    • removedInput schema / properties / detail
      Removed value: -{
      -  "default": "lite",
      -  "description": "Use lite to decide and start, full for detailed MCP query metadata, or download for the complete raw metadata file.",
      -  "enum": [
      -    "lite",
      -    "full",
      -    "download"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / release_unit
      Removed value: -{
      -  "description": "Optional non-country geometry release unit such as GLOBAL or MARINE. Do not combine with country_scope.",
      -  "pattern": "^[A-Za-z0-9_-]+$",
      -  "type": "string"
      -}
    • changedOutput schema / properties / catalog / enum
      Previous value: -[
      -  "data",
      -  "geometry"
      -]New value: +[
      +  "data"
      +]
  3. Changed13 schema fields changed
    • addedInput schema / properties / catalog
      Added value: +{
      +  "description": "Metadata family. When omitted, geometry facades default to geometry and known geometry-family ids are inferred; all other calls default to data.",
      +  "enum": [
      +    "data",
      +    "geometry"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / country_scope
      Added value: +{
      +  "description": "Optional ISO3 country for a geometry family. Omit it to learn which countries publish the family; provide it for country-specific versions, vintages, levels, and artifacts.",
      +  "pattern": "^[A-Za-z]{3}$",
      +  "type": "string"
      +}
    • changedInput schema / properties / detail / description
      Previous value: -"Use lite for normal discovery. Use full only for one selected pack when its complete public metadata is required."New value: +"Use lite to decide and start, full for detailed MCP query metadata, or download for the complete raw metadata file."
    • changedInput schema / properties / detail / enum
      Previous value: -[
      -  "lite",
      -  "full"
      -]New value: +[
      +  "lite",
      +  "full",
      +  "download"
      +]
    • addedInput schema / properties / release_unit
      Added value: +{
      +  "description": "Optional non-country geometry release unit such as GLOBAL or MARINE. Do not combine with country_scope.",
      +  "pattern": "^[A-Za-z0-9_-]+$",
      +  "type": "string"
      +}
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "required": [
      -      "pack_id"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "error"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "required": [
      +      "catalog",
      +      "pack_id",
      +      "detail"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / catalog
      Added value: +{
      +  "enum": [
      +    "data",
      +    "geometry"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / detail
      Added value: +{
      +  "enum": [
      +    "lite",
      +    "full",
      +    "download"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / download_call
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / download_url
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / full_call
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / next_step / anyOf
      Added value: +[
      +  {
      +    "required": [
      +      "action"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "tool"
      +    ]
      +  }
      +]
    • removedOutput schema / properties / next_step / required
      Removed value: -[
      -  "action"
      -]
  4. Changed1 schema field changed
    • addedInput schema / properties / detail
      Added value: +{
      +  "default": "lite",
      +  "description": "Use lite for normal discovery. Use full only for one selected pack when its complete public metadata is required.",
      +  "enum": [
      +    "lite",
      +    "full"
      +  ],
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": true,
      +  "anyOf": [
      +    {
      +      "required": [
      +        "pack_id"
      +      ]
      +    },
      +    {
      +      "required": [
      +        "error"
      +      ]
      +    }
      +  ],
      +  "properties": {
      +    "clarification": {
      +      "type": "object"
      +    },
      +    "error": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "code": {
      +          "type": "string"
      +        },
      +        "details": {
      +          "type": "object"
      +        },
      +        "message": {
      +          "type": "string"
      +        },
      +        "retry_hint": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "code",
      +        "message"
      +      ],
      +      "type": "object"
      +    },
      +    "guidance": {
      +      "type": "object"
      +    },
      +    "material_policy": {
      +      "type": "object"
      +    },
      +    "next_step": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "action": {
      +          "type": "string"
      +        },
      +        "arguments": {
      +          "type": "object"
      +        },
      +        "tool": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "action"
      +      ],
      +      "type": "object"
      +    },
      +    "pack_id": {
      +      "type": "string"
      +    },
      +    "provenance": {
      +      "type": "object"
      +    },
      +    "reason": {
      +      "type": "string"
      +    },
      +    "request_id": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "sources": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "warnings": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  6. Changed1 schema field changed
    • changedInput schema / properties / pack_id / description
      Previous value: -"Pack identifier such as 'currency', 'earthquakes', 'floods', 'hurricanes', 'tornadoes', 'tsunamis', 'un_sdg', 'volcanoes', 'world_factbook', or 'worldpop'."New value: +"Pack identifier from get_catalog. Newly catalog-admitted packs require no MCP schema change."
  7. Changed1 schema field changed
    • changedInput schema / properties / pack_id / description
      Previous value: -"Pack identifier such as 'currency', 'earthquakes', 'volcanoes', 'tsunamis', 'hurricanes', 'un_sdg', 'world_factbook', or 'worldpop'."New value: +"Pack identifier such as 'currency', 'earthquakes', 'floods', 'hurricanes', 'tornadoes', 'tsunamis', 'un_sdg', 'volcanoes', 'world_factbook', or 'worldpop'."
  8. Changed1 schema field changed
    • changedInput schema / properties / pack_id / description
      Previous value: -"Pack identifier such as 'currency', 'earthquakes', 'volcanoes', 'tsunamis', 'hurricanes', 'un_sdg', or 'world_factbook'."New value: +"Pack identifier such as 'currency', 'earthquakes', 'volcanoes', 'tsunamis', 'hurricanes', 'un_sdg', 'world_factbook', or 'worldpop'."
  9. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description contributes non-obvious context: results change shape based on which optional parameter is supplied, and newly catalog-admitted packs need no schema change. It stops short of discussing result limits (25 compact lines, 10 ids), which live only in the schema.

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?

A single front-loaded sentence establishes purpose and downstream use, followed by a semicolon-delimited mode list. It is dense but every clause maps to a distinct invocation path; a slightly more scannable structure would earn a 5.

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 four parameters, a 100%-covered schema, full annotations and an output schema, the only open question is which parameter combination to use and what each returns — and the description answers that for all modes. Nothing needed to call it correctly 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?

Schema coverage is 100%, so each parameter is already documented with its own limits and return shape, which sets the baseline at 3. The description adds the relational semantics — that source_id implies pack_id scoping and that search/metrics are alternative modes — but does not add format or syntax detail beyond the schema text.

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

Purpose5/5

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

The description opens with a specific verb and resource ('Narrow one data pack') and names the downstream tool it feeds ('before get_data'), so an agent can place it in the workflow immediately. It then enumerates each mode's output, making the tool's behavior distinguishable from get_catalog and compare_geographies without opening the schema.

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

Usage Guidelines5/5

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

It gives explicit mode-selection rules: 'With only pack_id' for sources and coverage, 'Add source_id' for that source's metrics and filter/sort fields, 'search' for name/description/keyword matching, 'or metrics' for full detail on exact ids. The when-to-use condition relative to get_data is stated up front.

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.