Rank a field's values
get_field_distributionRank exact metadata values, splitting pipe-separated tags. Reports missing metadata and optional coverage over time. Choose spatial for mentioned places, country for stored country tags, or subject/author/language.
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": {
"field": "<field>"
},
"name": "get_field_distribution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exact | No | AND values. Fields: subject/spatial/author/language/country/newspaper/topic_id/min_prob/scored_by; country_raw=whole cell; polarity:<model>. | |
| field | Yes | subject | spatial | author | language | newspaper | country | |
| top_n | No | Values returned (default 25, max 100) | |
| subset | No | articles (default) | publications | references | |
| country | No | Exact country name (accents optional) | |
| date_to | No | ||
| keyword | No | ||
| subject | No | Exact tag | |
| date_from | No | Inclusive date bounds: YYYY[-MM[-DD]] | |
| newspaper | No | Newspaper/periodical substring | |
| over_time | No | Also return the per-year share of items carrying a value | |
| hijri_year | No | ||
| hijri_month | No | ||
| keyword_mode | No | literal: the whole keyword as one substring | |
| keyword_aliases | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| view | Yes | ||
| field | Yes | ||
| subset | Yes | ||
| values | Yes | ||
| filters | Yes | ||
| other_values | No | ||
| total_matches | Yes | ||
| distinct_values | Yes | ||
| coverage_by_year | No | ||
| items_with_value | Yes |