Skip to main content
Glama

Islam West Africa Collection (IWAC)

Collection statistics

get_collection_stats
Read-onlyIdempotent

Overall statistics for every IWAC subset, including fulltext_coverage — how many items in each subset actually carry searchable full text in this dataset. Read that before treating any keyword count as a full-text census.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
viewYes
date_rangeNo
dataset_urlYes
fulltext_noteNo
subset_countsYes
total_recordsYes
failed_subsetsNo
collection_nameYes
newspaper_countNo
fulltext_coverageNo
articles_by_countryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed2 schema fields changed
    • addedOutput schema / properties / view
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "collection_name",
      -  "dataset_url",
      -  "subset_counts",
      -  "total_records"
      -]New value: +[
      +  "view",
      +  "collection_name",
      +  "dataset_url",
      +  "subset_counts",
      +  "total_records"
      +]
  3. Changed2 schema fields changed
    • addedOutput schema / properties / fulltext_coverage
      Added value: +{
      +  "additionalProperties": {
      +    "additionalProperties": {},
      +    "properties": {},
      +    "type": "object"
      +  },
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / fulltext_note
      Added value: +{
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "articles_by_country": {
      +      "additionalProperties": {
      +        "type": "number"
      +      },
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "collection_name": {
      +      "type": "string"
      +    },
      +    "dataset_url": {
      +      "type": "string"
      +    },
      +    "date_range": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "earliest": {
      +          "type": "string"
      +        },
      +        "latest": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "earliest",
      +        "latest"
      +      ],
      +      "type": "object"
      +    },
      +    "failed_subsets": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "newspaper_count": {
      +      "type": "number"
      +    },
      +    "subset_counts": {
      +      "additionalProperties": {
      +        "type": "number"
      +      },
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "total_records": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "collection_name",
      +    "dataset_url",
      +    "subset_counts",
      +    "total_records"
      +  ],
      +  "type": "object"
      +}
  5. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description adds real behavioral value by explaining what `fulltext_coverage` measures and warning that keyword counts are not full-text censuses — a non-obvious caveat an agent would otherwise misuse.

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

Conciseness5/5

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

Two tight sentences with zero filler. The scope statement comes first and the interpretive warning second, which is the right front-loading for a stats tool.

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

Completeness4/5

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

An output schema exists, so return values need not be enumerated, and the description spends its budget on the one nuance that matters. For a parameterless read-only stats call, this is close to complete; only cross-tool routing guidance is missing.

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

Parameters4/5

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

The tool takes zero parameters, so the baseline of 4 applies; there is nothing for the description to disambiguate. It does not need to compensate for any schema gaps.

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?

States a specific verb and resource: overall statistics for every IWAC subset, plus the named `fulltext_coverage` metric. The scope ('every subset') implicitly separates it from the narrower `get_newspaper_stats` and `get_field_distribution`, though it never names those siblings explicitly.

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

Usage Guidelines3/5

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

It gives one strong interpretive directive — read `fulltext_coverage` before treating a keyword count as a full-text census — which is genuinely useful. But it offers no guidance on when to reach for this tool versus the many sibling stats/distribution tools, so usage is only implied.

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.