EmailmoversMyDataHub docs
Browse the docs

Reference / MCP tool reference

Reference

List field sets

list_field_sets: Lists the field sets an order can deliver, such as standard or standard_telephone, with their exact columns.

Generated from the contractsView as Markdown

Lists the field sets an order can deliver, such as standard or standard_telephone, with their exact columns. Every field set costs 1 credit a record, with no telephone, download or API surcharge. Use it to pick the field_set for quote_order; it is free and needs no account. 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_field_sets
Position in tools/list12 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/field-sets

Input

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

MemberTypeRequiredDescription
limitinteger (1 to 100)noItems per page, 1 to 100. Default 25. Default 25.
cursorstringnoAn opaque cursor from next_cursor. Pass it back unchanged.

Example call

The params of a tools/call request:

{
  "name": "list_field_sets",
  "arguments": {}
}

Output

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

MemberTypeAlways presentDescription
dataarray of FieldSetyes
data[].idstringyesSuch as standard, standard_telephone or full.
data[].namestringyes
data[].descriptionstringyes
data[].credits_per_recordnumber (0 or more)yesEvery field set costs 1 credit a record.
data[].columnsarray of objectyes
has_morebooleanyesWhether another page follows.
next_cursorstring or nullyesPass as cursor to fetch the next page; null on the last page.

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.