EmailmoversMyDataHub docs
Browse the docs

Reference / MCP tool reference

Reference

Filter catalogue

list_filters: Lists every filterable field of the audience definition (mydatahub.audience/1) with its group, type, operators, value count and default, plus the datasets.

Generated from the contractsView as Markdown

Lists every filterable field of the audience definition (mydatahub.audience/1) with its group, type, operators, value count and default, plus the datasets. Use it first to learn field names such as company.employee_band or site.town before building an audience by hand. Free and needs no account; the same catalogue is the mydatahub://catalogue resource. Call search_filter_values to find the codes for one field. Lawful basis is UK GDPR Article 6(1)(f) legitimate interests; email audiences include corporate subscribers only by default (PECR), so sole traders and ordinary partnerships are left out unless the toggle is changed.

PropertyValue
Tool namelist_filters
Position in tools/list3 of 22
CostFree
ScopeNone. Works without an account.
AnnotationsreadOnlyHint true, destructiveHint false, idempotentHint true, openWorldHint false
KindRead only; idempotent, not destructive, closed world
REST equivalentGET /v1/catalogue/filters

Input

The schema sets additionalProperties to false, so a member that is not listed is refused.

MemberTypeRequiredDescription
datasetenum: uk_contacts, ie_contacts, global_contactsnoThe dataset an audience draws from. uk_contacts is live; ie_contacts and global_contacts are listed but not yet served.

Example call

The params of a tools/call request:

{
  "name": "list_filters",
  "arguments": {}
}

Output

The result carries structuredContent that matches this schema, and one line of text that leads with the number.

MemberTypeAlways presentDescription
datasetenum: uk_contacts, ie_contacts, global_contactsyesThe dataset an audience draws from. uk_contacts is live; ie_contacts and global_contacts are listed but not yet served.
dataset_versionstringyesThe immutable weekly build a count is bound to, such as 2026-W39. The last 52 stay queryable.
fieldsarray of FilterDimensionyes
fields[].fieldstringyesThe field name, also the dimension slug.
fields[].groupenum: company, site, contact, email, phone, signalyes
fields[].typeenum: enum, text, number, date, geo, hashed_list, boolean, bandyes
fields[].labelstringyes
fields[].descriptionstringyes
fields[].operatorsarray of enum: in, between, gte, lte, matches, within_radius, in_list, sinceyes
fields[].facetbooleanyesUsable in breakdown_by.
fields[].value_countinteger (0 or more) or nullyesDistinct values in this dataset version; null for free text and numbers.
fields[].defaultstring or nullyes
fields[].examplesarray of string or number or booleanyes
fields[].values_urlstring or nullyesWhere to search the values, or null when the field has none to list.
operatorsarray of OperatorInfoyes
operators[].openum: in, between, gte, lte, matches, within_radius, in_list, since, and 3 moreyes
operators[].applies_tostringyes
operators[].descriptionstringyes
datasetsarray of Datasetyes
datasets[].idenum: uk_contacts, ie_contacts, global_contactsyesThe dataset an audience draws from. uk_contacts is live; ie_contacts and global_contacts are listed but not yet served.
datasets[].namestringyes
datasets[].statusenum: live, planned, through_our_teamyeslive is served; planned is not yet served; through_our_team is sold through the bespoke service only.
datasets[].ownerstringyes
datasets[].sourcestringyes
datasets[].licencestringyes
datasets[].refreshstringyes
datasets[].residencystringyes
datasets[].regulatorstringyes
datasets[].warrantystringyes
datasets[].credits_per_recordnumber (0 or more)yes1 for owned UK and Irish data.
datasets[].credits_statusenum: confirmed, proposedyes
datasets[].current_versionstring or nullyes
datasets[].versions_availableinteger (0 or more)yesImmutable weekly versions still queryable (the last 52).

Errors

A failed call returns isError true. The text content leads with the sentence a person acts on, then the whole problem as JSON, with code, detail, next_step and did_you_mean. A 401 and a step-up 403 are answered at HTTP level so the client can start authorisation. See Errors.