Skip to main content
Glama
jumodada

DrissionPage MCP Server

by jumodada

Find All Elements

element_find_all
Read-onlyIdempotent

Find multiple matching elements and return bounded text or attribute summaries with recommended selectors for repeated lists, cards, and tables.

Instructions

Find multiple matching elements with bounded text/attribute summaries and recommended selectors for repeated lists, cards, and tables.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of matched elements to return
tab_idNoOptional MCP or native DrissionPage tab id. When omitted, the current tab is captured at call start.
selectorYesCSS selector, XPath, or explicit DrissionPage locator for repeated elements. Bare selectors are CSS.
include_htmlNoInclude bounded outerHTML excerpts for each returned element

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.8.8
    • addedInput schema / properties / tab_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 128,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional MCP or native DrissionPage tab id. When omitted, the current tab is captured at call start.",
      +  "title": "Tab Id"
      +}
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "count": {
      -            "title": "Count",
      -            "type": "integer"
      -          },
      -          "elements": {
      -            "items": {
      -              "additionalProperties": true,
      -              "type": "object"
      -            },
      -            "title": "Elements",
      -            "type": "array"
      -          },
      -          "exact": {
      -            "anyOf": [
      -              {
      -                "type": "boolean"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "default": null,
      -            "title": "Exact"
      -          },
      -          "frame_selectors": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "title": "Frame Selectors",
      -            "type": "array"
      -          },
      -          "limit": {
      -            "title": "Limit",
      -            "type": "integer"
      -          },
      -          "locator": {
      -            "title": "Locator",
      -            "type": "string"
      -          },
      -          "meta": {
      -            "additionalProperties": true,
      -            "title": "Meta",
      -            "type": "object"
      -          },
      -          "name": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "default": null,
      -            "title": "Name"
      -          },
      -          "returned": {
      -            "title": "Returned",
      -            "type": "integer"
      -          },
      -          "role": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "default": null,
      -            "title": "Role"
      -          },
      -          "selector": {
      -            "title": "Selector",
      -            "type": "string"
      -          },
      -          "selector_normalized": {
      -            "title": "Selector Normalized",
      -            "type": "boolean"
      -          },
      -          "selector_strategy": {
      -            "title": "Selector Strategy",
      -            "type": "string"
      -          },
      -          "shadow_hosts": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "title": "Shadow Hosts",
      -            "type": "array"
      -          },
      -          "target_kind": {
      -            "default": "selector",
      -            "enum": [
      -              "selector",
      -              "accessibility"
      -            ],
      -            "title": "Target Kind",
      -            "type": "string"
      -          },
      -          "truncated": {
      -            "title": "Truncated",
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "selector",
      -          "locator",
      -          "selector_strategy",
      -          "selector_normalized",
      -          "count",
      -          "returned",
      -          "limit",
      -          "truncated",
      -          "elements",
      -          "meta"
      -        ],
      -        "title": "ElementFindAllData",
      -        "type": "object"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": true
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "message",
      -      "data"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "type": "string"
      -          },
      -          "details": {
      -            "additionalProperties": true,
      -            "type": "object"
      -          },
      -          "message": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message"
      -        ],
      -        "type": "object"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": false
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "message",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "count": {
      +            "title": "Count",
      +            "type": "integer"
      +          },
      +          "elements": {
      +            "items": {
      +              "additionalProperties": true,
      +              "type": "object"
      +            },
      +            "title": "Elements",
      +            "type": "array"
      +          },
      +          "exact": {
      +            "anyOf": [
      +              {
      +                "type": "boolean"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Exact"
      +          },
      +          "frame_selectors": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "title": "Frame Selectors",
      +            "type": "array"
      +          },
      +          "limit": {
      +            "title": "Limit",
      +            "type": "integer"
      +          },
      +          "locator": {
      +            "title": "Locator",
      +            "type": "string"
      +          },
      +          "meta": {
      +            "additionalProperties": true,
      +            "title": "Meta",
      +            "type": "object"
      +          },
      +          "name": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Name"
      +          },
      +          "returned": {
      +            "title": "Returned",
      +            "type": "integer"
      +          },
      +          "role": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Role"
      +          },
      +          "selector": {
      +            "title": "Selector",
      +            "type": "string"
      +          },
      +          "selector_normalized": {
      +            "title": "Selector Normalized",
      +            "type": "boolean"
      +          },
      +          "selector_strategy": {
      +            "title": "Selector Strategy",
      +            "type": "string"
      +          },
      +          "shadow_hosts": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "title": "Shadow Hosts",
      +            "type": "array"
      +          },
      +          "tab_id": {
      +            "description": "MCP tab id captured for this operation.",
      +            "maxLength": 128,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "target_kind": {
      +            "default": "selector",
      +            "enum": [
      +              "selector",
      +              "accessibility"
      +            ],
      +            "title": "Target Kind",
      +            "type": "string"
      +          },
      +          "truncated": {
      +            "title": "Truncated",
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "selector",
      +          "locator",
      +          "selector_strategy",
      +          "selector_normalized",
      +          "count",
      +          "returned",
      +          "limit",
      +          "truncated",
      +          "elements",
      +          "meta",
      +          "tab_id"
      +        ],
      +        "title": "ElementFindAllData",
      +        "type": "object"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "message",
      +      "data"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "details": {
      +            "additionalProperties": true,
      +            "type": "object"
      +          },
      +          "message": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message"
      +        ],
      +        "type": "object"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": false
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "message",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed4 schema fields changedv0.8.0
    • addedInput schema / $defs
      Added value: +{
      +  "AccessibilityTargetInput": {
      +    "additionalProperties": false,
      +    "description": "A unique accessibility role/name target within an optional DOM scope.",
      +    "properties": {
      +      "exact": {
      +        "default": true,
      +        "title": "Exact",
      +        "type": "boolean"
      +      },
      +      "frame_selectors": {
      +        "description": "Ordered outer-to-inner frame selectors resolved by DrissionPage.",
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 4,
      +        "title": "Frame Selectors",
      +        "type": "array"
      +      },
      +      "kind": {
      +        "const": "accessibility",
      +        "title": "Kind",
      +        "type": "string"
      +      },
      +      "name": {
      +        "anyOf": [
      +          {
      +            "maxLength": 500,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Name"
      +      },
      +      "role": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "title": "Role",
      +        "type": "string"
      +      },
      +      "shadow_hosts": {
      +        "description": "Ordered outer-to-inner shadow host selectors resolved by DrissionPage.",
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 8,
      +        "title": "Shadow Hosts",
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "role"
      +    ],
      +    "title": "AccessibilityTargetInput",
      +    "type": "object"
      +  },
      +  "SelectorTargetInput": {
      +    "additionalProperties": false,
      +    "description": "A selector target with optional frame and shadow-root scope.",
      +    "properties": {
      +      "frame_selectors": {
      +        "description": "Ordered outer-to-inner frame selectors resolved by DrissionPage.",
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 4,
      +        "title": "Frame Selectors",
      +        "type": "array"
      +      },
      +      "kind": {
      +        "const": "selector",
      +        "title": "Kind",
      +        "type": "string"
      +      },
      +      "selector": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "title": "Selector",
      +        "type": "string"
      +      },
      +      "shadow_hosts": {
      +        "description": "Ordered outer-to-inner shadow host selectors resolved by DrissionPage.",
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 8,
      +        "title": "Shadow Hosts",
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "selector"
      +    ],
      +    "title": "SelectorTargetInput",
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / selector / anyOf
      Added value: +[
      +  {
      +    "maxLength": 500,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "discriminator": {
      +      "mapping": {
      +        "accessibility": "#/$defs/AccessibilityTargetInput",
      +        "selector": "#/$defs/SelectorTargetInput"
      +      },
      +      "propertyName": "kind"
      +    },
      +    "oneOf": [
      +      {
      +        "$ref": "#/$defs/SelectorTargetInput"
      +      },
      +      {
      +        "$ref": "#/$defs/AccessibilityTargetInput"
      +      }
      +    ]
      +  }
      +]
    • removedInput schema / properties / selector / type
      Removed value: -"string"
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "count": {
      -            "title": "Count",
      -            "type": "integer"
      -          },
      -          "elements": {
      -            "items": {
      -              "additionalProperties": true,
      -              "type": "object"
      -            },
      -            "title": "Elements",
      -            "type": "array"
      -          },
      -          "limit": {
      -            "title": "Limit",
      -            "type": "integer"
      -          },
      -          "locator": {
      -            "title": "Locator",
      -            "type": "string"
      -          },
      -          "meta": {
      -            "additionalProperties": true,
      -            "title": "Meta",
      -            "type": "object"
      -          },
      -          "returned": {
      -            "title": "Returned",
      -            "type": "integer"
      -          },
      -          "selector": {
      -            "title": "Selector",
      -            "type": "string"
      -          },
      -          "selector_normalized": {
      -            "title": "Selector Normalized",
      -            "type": "boolean"
      -          },
      -          "selector_strategy": {
      -            "title": "Selector Strategy",
      -            "type": "string"
      -          },
      -          "truncated": {
      -            "title": "Truncated",
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "selector",
      -          "locator",
      -          "selector_strategy",
      -          "selector_normalized",
      -          "count",
      -          "returned",
      -          "limit",
      -          "truncated",
      -          "elements",
      -          "meta"
      -        ],
      -        "title": "ElementFindAllData",
      -        "type": "object"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": true
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "message",
      -      "data"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "type": "string"
      -          },
      -          "details": {
      -            "additionalProperties": true,
      -            "type": "object"
      -          },
      -          "message": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message"
      -        ],
      -        "type": "object"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": false
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "message",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "count": {
      +            "title": "Count",
      +            "type": "integer"
      +          },
      +          "elements": {
      +            "items": {
      +              "additionalProperties": true,
      +              "type": "object"
      +            },
      +            "title": "Elements",
      +            "type": "array"
      +          },
      +          "exact": {
      +            "anyOf": [
      +              {
      +                "type": "boolean"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Exact"
      +          },
      +          "frame_selectors": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "title": "Frame Selectors",
      +            "type": "array"
      +          },
      +          "limit": {
      +            "title": "Limit",
      +            "type": "integer"
      +          },
      +          "locator": {
      +            "title": "Locator",
      +            "type": "string"
      +          },
      +          "meta": {
      +            "additionalProperties": true,
      +            "title": "Meta",
      +            "type": "object"
      +          },
      +          "name": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Name"
      +          },
      +          "returned": {
      +            "title": "Returned",
      +            "type": "integer"
      +          },
      +          "role": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Role"
      +          },
      +          "selector": {
      +            "title": "Selector",
      +            "type": "string"
      +          },
      +          "selector_normalized": {
      +            "title": "Selector Normalized",
      +            "type": "boolean"
      +          },
      +          "selector_strategy": {
      +            "title": "Selector Strategy",
      +            "type": "string"
      +          },
      +          "shadow_hosts": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "title": "Shadow Hosts",
      +            "type": "array"
      +          },
      +          "target_kind": {
      +            "default": "selector",
      +            "enum": [
      +              "selector",
      +              "accessibility"
      +            ],
      +            "title": "Target Kind",
      +            "type": "string"
      +          },
      +          "truncated": {
      +            "title": "Truncated",
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "selector",
      +          "locator",
      +          "selector_strategy",
      +          "selector_normalized",
      +          "count",
      +          "returned",
      +          "limit",
      +          "truncated",
      +          "elements",
      +          "meta"
      +        ],
      +        "title": "ElementFindAllData",
      +        "type": "object"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "message",
      +      "data"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "details": {
      +            "additionalProperties": true,
      +            "type": "object"
      +          },
      +          "message": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message"
      +        ],
      +        "type": "object"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": false
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "message",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Addedv0.7.2
  4. Removedv0.7.2
  5. Changed1 schema field changedv0.5.1
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "count": {
      -            "type": "integer"
      -          },
      -          "elements": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "action": {
      -                  "type": "string"
      -                },
      -                "attributes": {
      -                  "additionalProperties": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "type": "object"
      -                },
      -                "href": {
      -                  "type": "string"
      -                },
      -                "html": {
      -                  "type": "string"
      -                },
      -                "index": {
      -                  "type": "integer"
      -                },
      -                "method": {
      -                  "type": "string"
      -                },
      -                "selector": {
      -                  "type": "string"
      -                },
      -                "tag": {
      -                  "type": "string"
      -                },
      -                "text": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "index",
      -                "tag",
      -                "text",
      -                "selector",
      -                "attributes"
      -              ],
      -              "title": "OutlineElement",
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "limit": {
      -            "type": "integer"
      -          },
      -          "locator": {
      -            "type": "string"
      -          },
      -          "returned": {
      -            "type": "integer"
      -          },
      -          "selector": {
      -            "type": "string"
      -          },
      -          "selector_normalized": {
      -            "type": "boolean"
      -          },
      -          "selector_strategy": {
      -            "type": "string"
      -          },
      -          "truncated": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "selector",
      -          "locator",
      -          "selector_strategy",
      -          "selector_normalized",
      -          "count",
      -          "returned",
      -          "limit",
      -          "truncated",
      -          "elements"
      -        ],
      -        "title": "ElementFindAllData",
      -        "type": "object"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": true
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "message",
      -      "data"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "type": "string"
      -          },
      -          "details": {
      -            "additionalProperties": true,
      -            "type": "object"
      -          },
      -          "message": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message"
      -        ],
      -        "type": "object"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": false
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "message",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "count": {
      +            "type": "integer"
      +          },
      +          "elements": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "action": {
      +                  "type": "string"
      +                },
      +                "attributes": {
      +                  "additionalProperties": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "type": "object"
      +                },
      +                "href": {
      +                  "type": "string"
      +                },
      +                "html": {
      +                  "type": "string"
      +                },
      +                "index": {
      +                  "type": "integer"
      +                },
      +                "method": {
      +                  "type": "string"
      +                },
      +                "selector": {
      +                  "type": "string"
      +                },
      +                "tag": {
      +                  "type": "string"
      +                },
      +                "text": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "index",
      +                "tag",
      +                "text",
      +                "selector",
      +                "attributes"
      +              ],
      +              "title": "OutlineElement",
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "limit": {
      +            "type": "integer"
      +          },
      +          "locator": {
      +            "type": "string"
      +          },
      +          "meta": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "approx_tokens": {
      +                "type": "integer"
      +              },
      +              "json_chars": {
      +                "type": "integer"
      +              },
      +              "truncated": {
      +                "type": "boolean"
      +              }
      +            },
      +            "required": [
      +              "approx_tokens",
      +              "json_chars",
      +              "truncated"
      +            ],
      +            "title": "ResponseMeta",
      +            "type": "object"
      +          },
      +          "returned": {
      +            "type": "integer"
      +          },
      +          "selector": {
      +            "type": "string"
      +          },
      +          "selector_normalized": {
      +            "type": "boolean"
      +          },
      +          "selector_strategy": {
      +            "type": "string"
      +          },
      +          "truncated": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "selector",
      +          "locator",
      +          "selector_strategy",
      +          "selector_normalized",
      +          "count",
      +          "returned",
      +          "limit",
      +          "truncated",
      +          "elements",
      +          "meta"
      +        ],
      +        "title": "ElementFindAllData",
      +        "type": "object"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "message",
      +      "data"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "details": {
      +            "additionalProperties": true,
      +            "type": "object"
      +          },
      +          "message": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message"
      +        ],
      +        "type": "object"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": false
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "message",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  6. Addedv0.5.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this as a read-only, idempotent, non-destructive open-world operation, so the safety profile is covered. The description adds useful output behavior beyond annotations: results are bounded text/attribute summaries plus recommended selectors, telling the agent not to expect full DOM content.

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

Conciseness4/5

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

A single front-loaded sentence with no filler. It is dense but every clause (matching elements, bounded summaries, recommended selectors, target scenarios) carries information, so little is wasted.

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?

With full schema coverage, rich annotations, and an output schema, the description only needs to frame intent and usage. It covers the multi-element scope and the shape of the payload, leaving little missing for correct invocation.

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 description coverage is 100% and each parameter (limit, tab_id, selector, include_html) is documented in the schema itself. The description adds no parameter-level detail, so the baseline 3 applies since the schema does the heavy lifting.

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 (find multiple matching elements) and specifies the scope ('multiple') that separates it from the singular element_find sibling. It does not name the sibling explicitly, so an agent must infer that element_find is the single-element counterpart.

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?

Names the target scenarios ('repeated lists, cards, and tables'), which implies when to prefer this over a single-element find, but never states the alternative tool or any exclusion condition. Usage is implied rather than stated.

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