Skip to main content
Glama
Bright Data MCP

Bright Data MCP

Official
by brightdata

search_dataset

Read-only

Apply exact field filters to raw LinkedIn people, contact-enriched profile, and company datasets to find matching records when business search is unavailable.

Instructions

Exact filters on raw LinkedIn dataset fields, the contact-enriched people dataset, or when business_search is not enabled for this account. To find companies or people by description or criteria. First call list_dataset_fields to get valid field names. A filter is a tree: a group {operator:"and"|"or", filters:[...]} or a leaf {name, value, operator}. Max nesting depth 3. Leaf operators: =, !=, <, <=, >, >=, in, not_in, includes, not_includes, array_includes, not_array_includes, is_null, is_not_null. Supported dataset_id values:

  • gd_l1viktl72bvl7bjuj0: LinkedIn people profiles

  • gd_me5ppxjr2ge6icjuh0: LinkedIn people profiles (contact-enriched)

  • gd_l1vikfnt1wgvvqz95w: LinkedIn company information

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": {
      "dataset_id": "<dataset_id>",
      "filter": "<filter>"
    },
    "name": "search_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoNumber of records to return (max 10, default 10)
sortNoSorting: "default", "random", or a custom array like [{"timestamp":"asc"}]. Use "default" or custom sort to paginate with search_after.
filterYesFilter tree describing which records to match. Required, cannot be empty.
dataset_idYes
search_afterNoPagination cursor from a previous response's search_after value.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv4.1.0
    • changedInput schema / properties / filter / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "filters": {
      -        "items": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "filters": {
      -                  "items": {
      -                    "anyOf": [
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "filters": {
      -                            "items": {
      -                              "additionalProperties": false,
      -                              "properties": {
      -                                "name": {
      -                                  "description": "Field name to filter on. Get valid field names from the list_dataset_fields tool.",
      -                                  "type": "string"
      -                                },
      -                                "operator": {
      -                                  "description": "Filter operator, one of: =, !=, <, <=, >, >=, in, not_in, includes, not_includes, array_includes, not_array_includes, is_null, is_not_null",
      -                                  "type": "string"
      -                                },
      -                                "value": {
      -                                  "anyOf": [
      -                                    {
      -                                      "type": "string"
      -                                    },
      -                                    {
      -                                      "type": "number"
      -                                    },
      -                                    {
      -                                      "type": "boolean"
      -                                    },
      -                                    {
      -                                      "items": {
      -                                        "type": [
      -                                          "string",
      -                                          "number",
      -                                          "boolean"
      -                                        ]
      -                                      },
      -                                      "type": "array"
      -                                    }
      -                                  ]
      -                                }
      -                              },
      -                              "required": [
      -                                "name",
      -                                "operator",
      -                                "value"
      -                              ],
      -                              "type": "object"
      -                            },
      -                            "minItems": 1,
      -                            "type": "array"
      -                          },
      -                          "operator": {
      -                            "enum": [
      -                              "and",
      -                              "or"
      -                            ],
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "operator",
      -                          "filters"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      {
      -                        "$ref": "#/properties/filter/anyOf/0/properties/filters/items/anyOf/0/properties/filters/items/anyOf/0/properties/filters/items"
      -                      }
      -                    ]
      -                  },
      -                  "minItems": 1,
      -                  "type": "array"
      -                },
      -                "operator": {
      -                  "enum": [
      -                    "and",
      -                    "or"
      -                  ],
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "operator",
      -                "filters"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "$ref": "#/properties/filter/anyOf/0/properties/filters/items/anyOf/0/properties/filters/items/anyOf/0/properties/filters/items"
      -            }
      -          ]
      -        },
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "operator": {
      -        "enum": [
      -          "and",
      -          "or"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "operator",
      -      "filters"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "$ref": "#/properties/filter/anyOf/0/properties/filters/items/anyOf/0/properties/filters/items/anyOf/0/properties/filters/items"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "filters": {
      +        "items": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "filters": {
      +                  "items": {
      +                    "anyOf": [
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "filters": {
      +                            "items": {
      +                              "additionalProperties": false,
      +                              "properties": {
      +                                "name": {
      +                                  "description": "Field name to filter on. Get valid field names from the list_dataset_fields tool.",
      +                                  "type": "string"
      +                                },
      +                                "operator": {
      +                                  "description": "Filter operator, one of: =, !=, <, <=, >, >=, in, not_in, includes, not_includes, array_includes, not_array_includes, is_null, is_not_null",
      +                                  "type": "string"
      +                                },
      +                                "value": {
      +                                  "anyOf": [
      +                                    {
      +                                      "type": "string"
      +                                    },
      +                                    {
      +                                      "type": "number"
      +                                    },
      +                                    {
      +                                      "type": "boolean"
      +                                    },
      +                                    {
      +                                      "items": {
      +                                        "type": [
      +                                          "string",
      +                                          "number",
      +                                          "boolean"
      +                                        ]
      +                                      },
      +                                      "type": "array"
      +                                    }
      +                                  ],
      +                                  "description": "Value to compare against. Omit for is_null / is_not_null."
      +                                }
      +                              },
      +                              "required": [
      +                                "name",
      +                                "operator"
      +                              ],
      +                              "type": "object"
      +                            },
      +                            "minItems": 1,
      +                            "type": "array"
      +                          },
      +                          "operator": {
      +                            "enum": [
      +                              "and",
      +                              "or"
      +                            ],
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "operator",
      +                          "filters"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      {
      +                        "$ref": "#/properties/filter/anyOf/0/properties/filters/items/anyOf/0/properties/filters/items/anyOf/0/properties/filters/items"
      +                      }
      +                    ]
      +                  },
      +                  "minItems": 1,
      +                  "type": "array"
      +                },
      +                "operator": {
      +                  "enum": [
      +                    "and",
      +                    "or"
      +                  ],
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "operator",
      +                "filters"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "$ref": "#/properties/filter/anyOf/0/properties/filters/items/anyOf/0/properties/filters/items/anyOf/0/properties/filters/items"
      +            }
      +          ]
      +        },
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "operator": {
      +        "enum": [
      +          "and",
      +          "or"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "operator",
      +      "filters"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "$ref": "#/properties/filter/anyOf/0/properties/filters/items/anyOf/0/properties/filters/items/anyOf/0/properties/filters/items"
      +  }
      +]
  2. Addedv3.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely new behavioral context: the filter tree shape, a maximum nesting depth of 3, and the full operator vocabulary. It does not address result limits or pagination behavior in prose, leaving that to 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.

Conciseness3/5

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

The content is dense and largely front-loaded, but the first two sentences are a broken fragment ('Exact filters on ... or when business_search is not enabled for this account. To find companies or people by description or criteria.') that muddles the opening. The operator and dataset lists are well formatted and earn their space.

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?

For a tool with a deeply nested filter schema and no output schema, the description covers the hard parts: tree structure, depth cap, operator set, and dataset identifiers. The remaining gap is return/pagination behavior, which the schema's search_after description partially handles but the prose never mentions.

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 80%, so the baseline is 3 and the description must add meaning beyond it. It does add real value by explaining the group-vs-leaf tree structure and the depth limit, and by labeling each dataset_id enum value, which the schema leaves undescribed. However, size, sort, and search_after semantics are left entirely to the schema.

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?

The description establishes that this tool applies exact field filters against LinkedIn dataset records and enumerates the three supported datasets with human-readable labels, which lets an agent distinguish it from business_search. The opening sentence is a fragment that reads more like a routing condition than a purpose statement, so the verb is implied rather than stated.

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

Usage Guidelines4/5

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

It gives an explicit conditional: use this when business_search is not enabled for the account, and it prescribes a prerequisite step (call list_dataset_fields first to get valid field names). It does not spell out the inverse case explicitly ('use business_search when enabled'), but the contrast is clear enough to route on.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.